freebsd-dev/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky 8306998f5b Improve LinuxKPI scatter list support.
The i915kms driver in Linux 4.9 reimplement parts of the scatter list
functions with regards to performance. In other words there is not so
much room for changing structure layouts and functionality if the
i915kms should be built AS-IS. This patch aligns the scatter list
support to what is expected by the i915kms driver. Remove some
comments not needed while at it.

Obtained from:		kmacy @
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2017-02-22 19:31:02 +00:00
..
bitops.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
bottom_half.h Add support for LinuxKPI tasklets. 2017-02-21 13:23:53 +00:00
cache.h
cdev.h Implement register and unregister chrdev in the LinuxKPI. 2016-12-26 01:18:07 +00:00
clocksource.h Update and add various macros to the LinuxKPI and resolve a macro 2016-01-26 15:26:35 +00:00
compat.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
compiler.h Introduce __read_mostly and __exclusive_cache_line macros. 2017-01-27 14:53:09 +00:00
completion.h Make header file standalone by including definitions for needed 2016-05-23 11:57:23 +00:00
delay.h
device.h Whitespace fix. 2017-02-16 12:08:52 +00:00
dma-attrs.h
dma-mapping.h Implement GFP_DMA32 flag in the LinuxKPI. 2017-02-17 13:31:11 +00:00
dmapool.h sys/compat/linux*: spelling fixes. 2016-04-30 00:53:10 +00:00
err.h Add unlikely() statement to optimise the IS_ERR_VALUE() macro. 2016-05-13 11:30:56 +00:00
errno.h The Linux error defines should all be positive, else frequently used 2016-05-13 09:21:22 +00:00
etherdevice.h Fallback to arc4rand() in the LinuxKPI when read_random() returns 2016-06-07 13:10:13 +00:00
file.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
fs.h Fix LINT build. 2016-12-26 10:03:33 +00:00
gfp.h Implement GFP_DMA32 flag in the LinuxKPI. 2017-02-17 13:31:11 +00:00
hardirq.h
idr.h Add more IDR and IDA related functions to the LinuxKPI. 2016-05-11 10:40:04 +00:00
if_arp.h
if_ether.h
if_vlan.h Implement is_vlan_dev() and vlan_dev_vlan_id() for the LinuxKPI. 2016-01-26 14:33:20 +00:00
in6.h
in.h
inetdevice.h
interrupt.h Add support for LinuxKPI tasklets. 2017-02-21 13:23:53 +00:00
io-mapping.h
io.h Add __iowrite32_copy() to the Linux kernel compatibility layer. 2016-05-24 09:23:04 +00:00
ioctl.h Define _IOC_SIZE() in the LinuxKPI. 2016-05-13 11:42:36 +00:00
jhash.h
jiffies.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
kdev_t.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
kernel.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
kmod.h
kobject.h Minor LinuxKPI code cleanup: 2015-12-31 12:30:19 +00:00
kref.h Implement "kref_put_mutex()" for the LinuxKPI. 2016-05-23 12:06:34 +00:00
kthread.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
ktime.h Add more ktime related functions to the LinuxKPI. 2016-05-23 12:10:28 +00:00
list.h Implement more list header file functions. 2016-12-26 10:41:51 +00:00
lockdep.h
log2.h
math64.h
miscdevice.h Minor LinuxKPI code cleanup: 2015-12-31 12:30:19 +00:00
mm.h
module.h
moduleparam.h Add support for runtime modifiable module parameters in the LinuxKPI. 2016-05-26 09:04:14 +00:00
mutex.h Use function macro instead of non-function macro to reduce chance of 2016-01-21 17:36:06 +00:00
net.h
netdevice.h Add more network related macros and functions to the LinuxKPI. 2016-01-26 14:29:50 +00:00
notifier.h Add definition for the NETDEV_CHANGE event and tidy up the LinuxKPI 2016-01-26 14:27:00 +00:00
page.h Add more PAGE related defines to the LinuxKPI. Move the definition of 2016-05-13 12:41:21 +00:00
pci.h linuxkpi: Fix not-found case of linux_pci_find_irq_dev 2016-12-13 19:58:21 +00:00
poll.h
printk.h
radix-tree.h
random.h Fallback to arc4rand() in the LinuxKPI when read_random() returns 2016-06-07 13:10:13 +00:00
rbtree.h
rculist.h Replace dummy implementation of RCU in the LinuxKPI with one based on 2017-02-21 18:04:21 +00:00
rcupdate.h Replace dummy implementation of RCU in the LinuxKPI with one based on 2017-02-21 18:04:21 +00:00
rwlock.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
rwsem.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
scatterlist.h Improve LinuxKPI scatter list support. 2017-02-22 19:31:02 +00:00
sched.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
semaphore.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
slab.h Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
socket.h
spinlock.h Streamline the LinuxKPI spinlock wrappers. 2017-02-21 14:22:14 +00:00
srcu.h Replace dummy implementation of RCU in the LinuxKPI with one based on 2017-02-21 18:04:21 +00:00
string.h Add more functions to the LinuxKPI. 2016-03-03 09:56:04 +00:00
sysfs.h Remove the only user of sysctl_add_oid(). 2016-12-13 07:58:30 +00:00
time.h A missing definition needed by ktime_to_ms(). 2016-05-23 13:19:20 +00:00
timer.h
types.h Replace dummy implementation of RCU in the LinuxKPI with one based on 2017-02-21 18:04:21 +00:00
uaccess.h Fix handling of IOCTLs in the LinuxKPI. 2016-05-12 11:38:28 +00:00
usb.h
vmalloc.h
wait.h Make the LinuxKPI task struct persistent accross system calls. 2017-02-21 12:43:02 +00:00
workqueue.h Implement drain_workqueue() function. 2015-12-21 12:20:02 +00:00