|
#define | NULL (void*)0 |
|
#define | BITS_PER_LONG 32 |
|
#define | __NFDBITS (8 * sizeof(unsigned long)) |
|
#define | __FD_SETSIZE 1024 |
|
#define | __FDSET_LONGS (__FD_SETSIZE/__NFDBITS) |
|
#define | __FDELT(d) ((d) / __NFDBITS) |
|
#define | __FDMASK(d) (1UL << ((d) % __NFDBITS)) |
|
#define | __FD_SET(fd, fdsetp) |
|
#define | __FD_CLR(fd, fdsetp) |
|
#define | __FD_ISSET(fd, fdsetp) |
|
#define | __FD_ZERO(fdsetp) |
|
#define | _SIZE_T |
|
#define | _SSIZE_T |
|
#define | _PTRDIFF_T |
|
#define | _TIME_T |
|
#define | _CLOCK_T |
|
#define | _CADDR_T |
|
#define | __BIT_TYPES_DEFINED__ |
|
#define | __LITTLE_ENDIAN 1234 |
|
#define | __LITTLE_ENDIAN_BITFIELD |
|
#define | ___swab16(x) |
|
#define | ___swab24(x) |
|
#define | ___swab32(x) |
|
#define | ___swab64(x) |
|
#define | ___constant_swab16(x) |
|
#define | ___constant_swab24(x) |
|
#define | ___constant_swab32(x) |
|
#define | ___constant_swab64(x) |
|
#define | __arch__swab16(x) ({ __u16 __tmp = (x) ; ___swab16(__tmp); }) |
|
#define | __arch__swab24(x) ({ __u32 __tmp = (x) ; ___swab24(__tmp); }) |
|
#define | __arch__swab32(x) ({ __u32 __tmp = (x) ; ___swab32(__tmp); }) |
|
#define | __arch__swab64(x) ({ __u64 __tmp = (x) ; ___swab64(__tmp); }) |
|
#define | __arch__swab16p(x) __arch__swab16(*(x)) |
|
#define | __arch__swab24p(x) __arch__swab24(*(x)) |
|
#define | __arch__swab32p(x) __arch__swab32(*(x)) |
|
#define | __arch__swab64p(x) __arch__swab64(*(x)) |
|
#define | __arch__swab16s(x) do { *(x) = __arch__swab16p((x)); } while (0) |
|
#define | __arch__swab24s(x) do { *(x) = __arch__swab24p((x)); } while (0) |
|
#define | __arch__swab32s(x) do { *(x) = __arch__swab32p((x)); } while (0) |
|
#define | __arch__swab64s(x) do { *(x) = __arch__swab64p((x)); } while (0) |
|
#define | __swab16(x) __fswab16(x) |
|
#define | __swab24(x) __fswab24(x) |
|
#define | __swab32(x) __fswab32(x) |
|
#define | __swab64(x) __fswab64(x) |
|
#define | __constant_htonl(x) ___constant_swab32((x)) |
|
#define | __constant_ntohl(x) ___constant_swab32((x)) |
|
#define | __constant_htons(x) ___constant_swab16((x)) |
|
#define | __constant_ntohs(x) ___constant_swab16((x)) |
|
#define | __constant_cpu_to_le64(x) ((__u64)(x)) |
|
#define | __constant_le64_to_cpu(x) ((__u64)(x)) |
|
#define | __constant_cpu_to_le32(x) ((__u32)(x)) |
|
#define | __constant_le32_to_cpu(x) ((__u32)(x)) |
|
#define | __constant_cpu_to_le24(x) ((__u32)(x)) |
|
#define | __constant_le24_to_cpu(x) ((__u32)(x)) |
|
#define | __constant_cpu_to_le16(x) ((__u16)(x)) |
|
#define | __constant_le16_to_cpu(x) ((__u16)(x)) |
|
#define | __constant_cpu_to_be64(x) ___constant_swab64((x)) |
|
#define | __constant_be64_to_cpu(x) ___constant_swab64((x)) |
|
#define | __constant_cpu_to_be32(x) ___constant_swab32((x)) |
|
#define | __constant_be32_to_cpu(x) ___constant_swab32((x)) |
|
#define | __constant_cpu_to_be24(x) ___constant_swab24((x)) |
|
#define | __constant_be24_to_cpu(x) ___constant_swab24((x)) |
|
#define | __constant_cpu_to_be16(x) ___constant_swab16((x)) |
|
#define | __constant_be16_to_cpu(x) ___constant_swab16((x)) |
|
#define | __cpu_to_le64(x) ((__u64)(x)) |
|
#define | __le64_to_cpu(x) ((__u64)(x)) |
|
#define | __cpu_to_le32(x) ((__u32)(x)) |
|
#define | __le32_to_cpu(x) ((__u32)(x)) |
|
#define | __cpu_to_le24(x) ((__u32)(x)) |
|
#define | __le24_to_cpu(x) ((__u32)(x)) |
|
#define | __cpu_to_le16(x) ((__u16)(x)) |
|
#define | __le16_to_cpu(x) ((__u16)(x)) |
|
#define | __cpu_to_be64(x) __swab64((x)) |
|
#define | __be64_to_cpu(x) __swab64((x)) |
|
#define | __cpu_to_be32(x) __swab32((x)) |
|
#define | __be32_to_cpu(x) __swab32((x)) |
|
#define | __cpu_to_be24(x) __swab24((x)) |
|
#define | __be24_to_cpu(x) __swab24((x)) |
|
#define | __cpu_to_be16(x) __swab16((x)) |
|
#define | __be16_to_cpu(x) __swab16((x)) |
|
#define | __cpu_to_le64p(x) (*(__u64*)(x)) |
|
#define | __le64_to_cpup(x) (*(__u64*)(x)) |
|
#define | __cpu_to_le32p(x) (*(__u32*)(x)) |
|
#define | __le32_to_cpup(x) (*(__u32*)(x)) |
|
#define | __cpu_to_le24p(x) (*(__u32*)(x)) |
|
#define | __le24_to_cpup(x) (*(__u32*)(x)) |
|
#define | __cpu_to_le16p(x) (*(__u16*)(x)) |
|
#define | __le16_to_cpup(x) (*(__u16*)(x)) |
|
#define | __cpu_to_be64p(x) __swab64p((x)) |
|
#define | __be64_to_cpup(x) __swab64p((x)) |
|
#define | __cpu_to_be32p(x) __swab32p((x)) |
|
#define | __be32_to_cpup(x) __swab32p((x)) |
|
#define | __cpu_to_be24p(x) __swab24p((x)) |
|
#define | __be24_to_cpup(x) __swab24p((x)) |
|
#define | __cpu_to_be16p(x) __swab16p((x)) |
|
#define | __be16_to_cpup(x) __swab16p((x)) |
|
#define | __cpu_to_le64s(x) do {} while (0) |
|
#define | __le64_to_cpus(x) do {} while (0) |
|
#define | __cpu_to_le32s(x) do {} while (0) |
|
#define | __le32_to_cpus(x) do {} while (0) |
|
#define | __cpu_to_le24s(x) do {} while (0) |
|
#define | __le24_to_cpus(x) do {} while (0) |
|
#define | __cpu_to_le16s(x) do {} while (0) |
|
#define | __le16_to_cpus(x) do {} while (0) |
|
#define | __cpu_to_be64s(x) __swab64s((x)) |
|
#define | __be64_to_cpus(x) __swab64s((x)) |
|
#define | __cpu_to_be32s(x) __swab32s((x)) |
|
#define | __be32_to_cpus(x) __swab32s((x)) |
|
#define | __cpu_to_be24s(x) __swab24s((x)) |
|
#define | __be24_to_cpus(x) __swab24s((x)) |
|
#define | __cpu_to_be16s(x) __swab16s((x)) |
|
#define | __be16_to_cpus(x) __swab16s((x)) |
|
#define | ____cacheline_aligned |
|
#define | LOCK "" |
|
#define | ATOMIC_INIT(i) { (i) } |
|
#define | atomic_read(v) ((v)->counter) |
|
#define | atomic_set(v, i) (((v)->counter) = (i)) |
|
#define | atomic_clear_mask(mask, addr) |
|
#define | atomic_set_mask(mask, addr) |
|
#define | smp_mb__before_atomic_dec() |
|
#define | smp_mb__after_atomic_dec() |
|
#define | smp_mb__before_atomic_inc() |
|
#define | smp_mb__after_atomic_inc() |
|
#define | LIST_HEAD_INIT(name) { &(name), &(name) } |
|
#define | LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name) |
|
#define | INIT_LIST_HEAD(ptr) |
|
#define | list_entry(ptr, type, member) |
|
#define | list_for_each(pos, head) |
|
#define | list_for_each_prev(pos, head) |
|
#define | list_for_each_safe(pos, n, head) |
|
#define | list_for_each_entry(pos, head, member) |
|
#define | WNOHANG 0x00000001 |
|
#define | WUNTRACED 0x00000002 |
|
#define | __WNOTHREAD 0x20000000 /* Don't wait on children of other threads in this group */ |
|
#define | __WALL 0x40000000 /* Wait on all children, regardless of type */ |
|
#define | __WCLONE 0x80000000 /* Wait only on non-SIGCHLD children */ |
|
#define | WAITQUEUE_DEBUG 0 |
|
#define | WQ_FLAG_EXCLUSIVE 0x01 |
|
#define | USE_RW_WAIT_QUEUE_SPINLOCK 0 |
|
#define | wq_lock_t spinlock_t |
|
#define | WAITQUEUE_RW_LOCK_UNLOCKED SPIN_LOCK_UNLOCKED |
|
#define | wq_read_lock spin_lock |
|
#define | wq_read_lock_irqsave spin_lock_irqsave |
|
#define | wq_read_unlock spin_unlock |
|
#define | wq_read_unlock_irqrestore spin_unlock_irqrestore |
|
#define | wq_write_lock_irq spin_lock_irq |
|
#define | wq_write_lock_irqsave spin_lock_irqsave |
|
#define | wq_write_unlock_irqrestore spin_unlock_irqrestore |
|
#define | wq_write_unlock spin_unlock |
|
#define | WQ_BUG() |
|
#define | CHECK_MAGIC(x) |
|
#define | CHECK_MAGIC_WQHEAD(x) |
|
#define | WQ_CHECK_LIST_HEAD(list) |
|
#define | WQ_NOTE_WAKER(tsk) |
|
#define | __WAITQUEUE_DEBUG_INIT(name) |
|
#define | __WAITQUEUE_HEAD_DEBUG_INIT(name) |
|
#define | __WAITQUEUE_INITIALIZER(name, tsk) |
|
#define | DECLARE_WAITQUEUE(name, tsk) |
|
#define | __WAIT_QUEUE_HEAD_INITIALIZER(name) |
|
#define | DECLARE_WAIT_QUEUE_HEAD(name) |
|
#define | SLAB_NOFS GFP_NOFS |
|
#define | SLAB_NOIO GFP_NOIO |
|
#define | SLAB_NOHIGHIO GFP_NOHIGHIO |
|
#define | SLAB_ATOMIC GFP_ATOMIC |
|
#define | SLAB_USER GFP_USER |
|
#define | SLAB_KERNEL GFP_KERNEL |
|
#define | SLAB_NFS GFP_NFS |
|
#define | SLAB_DMA GFP_DMA |
|
#define | SLAB_LEVEL_MASK (__GFP_WAIT|__GFP_HIGH|__GFP_IO|__GFP_HIGHIO|__GFP_FS) |
|
#define | SLAB_NO_GROW 0x00001000UL /* don't grow a cache */ |
|
#define | SLAB_DEBUG_FREE 0x00000100UL /* Perform (expensive) checks on free */ |
|
#define | SLAB_DEBUG_INITIAL 0x00000200UL /* Call constructor (as verifier) */ |
|
#define | SLAB_RED_ZONE 0x00000400UL /* Red zone objs in a cache */ |
|
#define | SLAB_POISON 0x00000800UL /* Poison objects */ |
|
#define | SLAB_NO_REAP 0x00001000UL /* never reap from the cache */ |
|
#define | SLAB_HWCACHE_ALIGN 0x00002000UL /* align objs on a h/w cache lines */ |
|
#define | SLAB_CACHE_DMA 0x00004000UL /* use GFP_DMA memory */ |
|
#define | SLAB_MUST_HWCACHE_ALIGN 0x00008000UL /* force alignment */ |
|
#define | SLAB_CTOR_CONSTRUCTOR 0x001UL /* if not set, then deconstructor */ |
|
#define | SLAB_CTOR_ATOMIC 0x002UL /* tell constructor it can't sleep */ |
|
#define | SLAB_CTOR_VERIFY 0x004UL /* tell constructor it's a verify call */ |
|
#define | UIO_FASTIOV 8 |
|
#define | UIO_MAXIOV 1024 |
|
#define | FDS_BITPERLONG (8*sizeof(long)) |
|
#define | FDS_LONGS(nr) (((nr)+FDS_BITPERLONG-1)/FDS_BITPERLONG) |
|
#define | FDS_BYTES(nr) (FDS_LONGS(nr)*sizeof(long)) |
|
#define | POLLIN 0x0001 |
|
#define | POLLPRI 0x0002 |
|
#define | POLLOUT 0x0004 |
|
#define | POLLERR 0x0008 |
|
#define | POLLHUP 0x0010 |
|
#define | POLLNVAL 0x0020 |
|
#define | POLLRDNORM 0x0040 |
|
#define | POLLRDBAND 0x0080 |
|
#define | POLLWRNORM 0x0100 |
|
#define | POLLWRBAND 0x0200 |
|
#define | POLLMSG 0x0400 |
|