opnsense-src/sys/ofed/include/linux
Hans Petter Selasky 07da61a6cc Streamline use of cdevpriv and correct some corner cases.
1) It is not useful to call "devfs_clear_cdevpriv()" from
"d_close" callbacks, hence for example read, write, ioctl and
so on might be sleeping at the time of "d_close" being called
and then then freed private data can still be accessed.
Examples: dtrace, linux_compat, ksyms (all fixed by this patch)

2) In sys/dev/drm* there are some cases in which memory will
be freed twice, if open fails, first by code in the open
routine, secondly by the cdevpriv destructor. Move registration
of the cdevpriv to the end of the drm open routines.

3) devfs_clear_cdevpriv() is not called if the "d_open" callback
registered cdevpriv data and the "d_open" callback function
returned an error. Fix this.

Discussed with:	phk
MFC after:	2 weeks
2012-08-15 16:19:39 +00:00
..
mlx4 - Implement wake-on-lan support in mlxen. 2011-03-26 00:54:01 +00:00
bitmap.h
bitops.h
cdev.h
compat.h
compiler.h
completion.h
ctype.h
delay.h
device.h
dma-attrs.h
dma-mapping.h
dmapool.h
err.h
errno.h
ethtool.h
file.h - Catch up to falloc() changes. 2011-04-26 07:30:52 +00:00
fs.h
gfp.h After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason 2012-08-05 14:11:42 +00:00
hardirq.h
idr.h
if_arp.h
if_ether.h
if_vlan.h
in.h Add OFED and the associated options and drivers to x86 LINT builds: 2012-04-12 14:01:06 +00:00
in6.h Add OFED and the associated options and drivers to x86 LINT builds: 2012-04-12 14:01:06 +00:00
inet.h
inetdevice.h
init.h
interrupt.h
io-mapping.h
io.h Use VM_MEMATTR_UNCACHEABLE instead of VM_MEMATTR_UNCACHED for UC mappings. 2012-03-27 14:24:29 +00:00
ioctl.h
jhash.h
jiffies.h
kdev_t.h
kernel.h
kobject.h
kref.h
kthread.h
linux_compat.c Streamline use of cdevpriv and correct some corner cases. 2012-08-15 16:19:39 +00:00
linux_idr.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
linux_radix.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
list.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
lockdep.h
log2.h
miscdevice.h
mm.h
module.h
moduleparam.h
mount.h
mutex.h
net.h - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
netdevice.h
notifier.h
page.h Use VM_MEMATTR_UNCACHEABLE instead of VM_MEMATTR_UNCACHED for UC mappings. 2012-03-27 14:24:29 +00:00
pci.h Do a sweep of the tree replacing calls to pci_find_extcap() with calls to 2011-03-23 13:10:15 +00:00
poll.h
radix-tree.h
random.h
rbtree.h
rtnetlink.h
rwlock.h
rwsem.h
scatterlist.h
sched.h
semaphore.h
slab.h
socket.h
spinlock.h
stddef.h
string.h
sysfs.h
timer.h
types.h Do not define bool/true/false if the symbols already exist. 2011-12-12 18:43:24 +00:00
uaccess.h
vmalloc.h
wait.h
workqueue.h Fix clang warning when compiling iw_cxgb. 2012-06-25 16:52:27 +00:00