003 File Manager
Current Path:
/usr/src/sys/compat/linuxkpi/common/include/linux
usr
/
src
/
sys
/
compat
/
linuxkpi
/
common
/
include
/
linux
/
π
..
π
acpi.h
(1.72 KB)
π
atomic.h
(1.5 KB)
π
backlight.h
(2.88 KB)
π
bitfield.h
(3.2 KB)
π
bitmap.h
(8.2 KB)
π
bitops.h
(9.41 KB)
π
bottom_half.h
(1.49 KB)
π
cache.h
(1.61 KB)
π
cdev.h
(3.77 KB)
π
clocksource.h
(1.63 KB)
π
compat.h
(2.07 KB)
π
compiler.h
(3.56 KB)
π
completion.h
(2.68 KB)
π
dcache.h
(1.64 KB)
π
debugfs.h
(1.96 KB)
π
delay.h
(2.25 KB)
π
device.h
(15.33 KB)
π
dma-attrs.h
(2.12 KB)
π
dma-mapping.h
(8.88 KB)
π
dmapool.h
(2.77 KB)
π
dmi.h
(2 KB)
π
err.h
(2.23 KB)
π
errno.h
(2.18 KB)
π
etherdevice.h
(2.91 KB)
π
export.h
(1.44 KB)
π
file.h
(4.46 KB)
π
firmware.h
(3.27 KB)
π
fs.h
(8.19 KB)
π
gcd.h
(1.7 KB)
π
gfp.h
(4.7 KB)
π
hardirq.h
(1.7 KB)
π
hrtimer.h
(3.04 KB)
π
idr.h
(4.61 KB)
π
if_arp.h
(1.62 KB)
π
if_ether.h
(2.12 KB)
π
if_vlan.h
(1.96 KB)
π
in.h
(1.87 KB)
π
in6.h
(1.54 KB)
π
inetdevice.h
(2.79 KB)
π
interrupt.h
(5.63 KB)
π
io-mapping.h
(3.05 KB)
π
io.h
(10.36 KB)
π
ioctl.h
(1.59 KB)
π
irq_work.h
(2.21 KB)
π
irqreturn.h
(1.56 KB)
π
jhash.h
(3.2 KB)
π
jiffies.h
(4.36 KB)
π
kdev_t.h
(1.76 KB)
π
kernel.h
(16.91 KB)
π
kmod.h
(1.89 KB)
π
kobject.h
(4.23 KB)
π
kref.h
(3.16 KB)
π
kthread.h
(2.84 KB)
π
ktime.h
(5.12 KB)
π
list.h
(12.2 KB)
π
llist.h
(2.25 KB)
π
lockdep.h
(2.99 KB)
π
log2.h
(3.96 KB)
π
math64.h
(2.7 KB)
π
miscdevice.h
(2.42 KB)
π
mm.h
(6.73 KB)
π
mm_types.h
(2.33 KB)
π
mod_devicetable.h
(2.25 KB)
π
module.h
(3.22 KB)
π
moduleparam.h
(5.26 KB)
π
mutex.h
(4.6 KB)
π
net.h
(2.42 KB)
π
net_dim.h
(9.87 KB)
π
netdevice.h
(3.85 KB)
π
notifier.h
(1.97 KB)
π
numa.h
(1.52 KB)
π
overflow.h
(2.13 KB)
π
page.h
(3.28 KB)
π
pagemap.h
(1.63 KB)
π
pci.h
(29.63 KB)
π
pfn.h
(1.75 KB)
π
pfn_t.h
(1.9 KB)
π
pid.h
(2.17 KB)
π
pm.h
(2.01 KB)
π
poll.h
(1.86 KB)
π
power_supply.h
(1.66 KB)
π
preempt.h
(1.69 KB)
π
prefetch.h
(1.55 KB)
π
printk.h
(4.08 KB)
π
radix-tree.h
(3.13 KB)
π
random.h
(2.04 KB)
π
rbtree.h
(3.37 KB)
π
rculist.h
(4.11 KB)
π
rcupdate.h
(3.66 KB)
π
refcount.h
(2.3 KB)
π
rwlock.h
(2.55 KB)
π
rwsem.h
(3.06 KB)
π
scatterlist.h
(12.58 KB)
π
sched.h
(5.91 KB)
π
semaphore.h
(2.36 KB)
π
seq_file.h
(3.03 KB)
π
shmem_fs.h
(2.26 KB)
π
shrinker.h
(2.04 KB)
π
sizes.h
(1.92 KB)
π
slab.h
(6.19 KB)
π
smp.h
(1.57 KB)
π
socket.h
(2.17 KB)
π
spinlock.h
(4.29 KB)
π
srcu.h
(2.02 KB)
π
string.h
(3.83 KB)
π
swap.h
(1.68 KB)
π
sysfs.h
(7.54 KB)
π
time.h
(3.17 KB)
π
timer.h
(3.21 KB)
π
types.h
(2.82 KB)
π
uaccess.h
(3.26 KB)
π
usb.h
(11.33 KB)
π
vmalloc.h
(1.72 KB)
π
wait.h
(9.41 KB)
π
wait_bit.h
(2.03 KB)
π
workqueue.h
(7.58 KB)
π
ww_mutex.h
(3.74 KB)
π
xarray.h
(3.33 KB)
Editing: compiler.h
/*- * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iX Systems, Inc. * Copyright (c) 2010 Panasas, Inc. * Copyright (c) 2013-2016 Mellanox Technologies, Ltd. * Copyright (c) 2015 FranΓ§ois Tigeot * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice unmodified, this list of conditions, and the following * disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $FreeBSD$ */ #ifndef _LINUX_COMPILER_H_ #define _LINUX_COMPILER_H_ #include <sys/cdefs.h> #define __user #define __kernel #define __safe #define __force #define __nocast #define __iomem #define __chk_user_ptr(x) ((void)0) #define __chk_io_ptr(x) ((void)0) #define __builtin_warning(x, y...) (1) #define __acquires(x) #define __releases(x) #define __acquire(x) do { } while (0) #define __release(x) do { } while (0) #define __cond_lock(x,c) (c) #define __bitwise #define __devinitdata #define __deprecated #define __init #define __initconst #define __devinit #define __devexit #define __exit #define __rcu #define __percpu #define __weak __weak_symbol #define __malloc #define ___stringify(...) #__VA_ARGS__ #define __stringify(...) ___stringify(__VA_ARGS__) #define __attribute_const__ __attribute__((__const__)) #undef __always_inline #define __always_inline inline #define noinline __noinline #define ____cacheline_aligned __aligned(CACHE_LINE_SIZE) #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) #define typeof(x) __typeof(x) #define uninitialized_var(x) x = x #define __maybe_unused __unused #define __always_unused __unused #define __must_check __result_use_check #define __printf(a,b) __printflike(a,b) #define barrier() __asm__ __volatile__("": : :"memory") #if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 50000 /* Moved from drm_os_freebsd.h */ #define lower_32_bits(n) ((u32)(n)) #define upper_32_bits(n) ((u32)(((n) >> 16) >> 16)) #endif #define ___PASTE(a,b) a##b #define __PASTE(a,b) ___PASTE(a,b) #define ACCESS_ONCE(x) (*(volatile __typeof(x) *)&(x)) #define WRITE_ONCE(x,v) do { \ barrier(); \ ACCESS_ONCE(x) = (v); \ barrier(); \ } while (0) #define READ_ONCE(x) ({ \ __typeof(x) __var = ({ \ barrier(); \ ACCESS_ONCE(x); \ }); \ barrier(); \ __var; \ }) #define lockless_dereference(p) READ_ONCE(p) #define _AT(T,X) ((T)(X)) #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) #define __must_be_array(a) __same_type(a, &(a)[0]) #endif /* _LINUX_COMPILER_H_ */
Upload File
Create Folder