freebsd-dev/sys/ofed/include/linux
Hans Petter Selasky 932493ff29 Fixes for the LinuxAPI completion wrappers:
- make sure the timeout computations are always above zero by using
the existing "linux_timer_jiffies_until()" function. Negative timeouts
can result in undefined behaviour.
- declare all completion functions like external symbols and move the
code to the LinuxAPI kernel module.
- add a proper prefix to all LinuxAPI kernel functions to avoid
namespace collision with other parts of the FreeBSD kernel.
- clean up header file inclusions in the linux/completion.h, linux/in.h
and linux/fs.h header files.

MFC after:	1 week
Sponsored by:	Mellanox Technologies
2015-03-27 16:16:23 +00:00
..
mlx4 Updates for the Mellanox ethernet driver 2015-03-04 09:30:03 +00:00
bitops.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
cache.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
cdev.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
clocksource.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compat.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compiler.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
completion.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
delay.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
device.h The kasprintf() function cannot be inlined due to using a variable 2015-02-16 21:22:56 +00:00
dma-attrs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
dma-mapping.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
dmapool.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
err.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
errno.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
etherdevice.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
file.h filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
fs.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
gfp.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
hardirq.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
idr.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_arp.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_ether.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_vlan.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
in6.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
in.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
inetdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
interrupt.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io-mapping.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
ioctl.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
jhash.h
jiffies.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kdev_t.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kernel.h Define PTR_ALIGN() macro which will be needed coming Mellanox driver 2015-03-04 09:58:39 +00:00
kmod.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kobject.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kref.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
kthread.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
ktime.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
linux_compat.c Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
linux_idr.c Fix bug in idr_pre_get where it doesn't handle 'need' correctly. 2015-02-02 23:41:43 +00:00
linux_kmod.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_pci.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_radix.c - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
list.h Fixes and updates for the Linux compatibility layer: 2015-01-06 10:02:14 +00:00
lockdep.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
log2.h Macro fixes: 2015-02-23 12:54:46 +00:00
math64.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
miscdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mm.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
module.h Add missing linuxapi module dependencies and always use the FreeBSD 2015-01-19 21:53:00 +00:00
moduleparam.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mutex.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
net.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
netdevice.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
notifier.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
page.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
pci.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
poll.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
printk.h Define standard formatting strings to print GIDs 2015-02-16 21:26:16 +00:00
radix-tree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
random.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rbtree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwsem.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
scatterlist.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
sched.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
semaphore.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
slab.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
socket.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
spinlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
string.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
sysfs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
timer.h Fix problems about 32-bit ticks wraparound and unsigned long 2015-03-18 10:49:17 +00:00
types.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
uaccess.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
vmalloc.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
wait.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
workqueue.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00