ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

linux.h File Reference
#include <ntddk.h>

Go to the source code of this file.

Data Structures

struct  mem_map_t
struct  __kernel_fd_set
struct  __kernel_fsid_t
struct  ustat
struct  rwlock_t
struct  spinlock_t
struct  atomic_t
struct  list_head
struct  wait_queue_t
struct  wait_queue_head_t
struct  kmem_cache_t
struct  iovec
struct  timer_list
struct  LPTIMEVAL
struct  poll_table
struct  fd_set_bits
struct  read_descriptor_t
struct  pollfd

Defines

#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 /* Peform (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

Typedefs

typedef unsigned short umode_t
typedef __signed__ char __s8
typedef unsigned char __u8
typedef __signed__ short __s16
typedef unsigned short __u16
typedef __signed__ int __s32
typedef unsigned int __u32
typedef signed char s8
typedef unsigned char u8
typedef signed short s16
typedef unsigned short u16
typedef signed int s32
typedef unsigned int u32
typedef signed long long s64
typedef unsigned long long u64
typedef u32 dma_addr_t
typedef u64 dma64_addr_t
typedef void(* __kernel_sighandler_t )(int)
typedef int __kernel_key_t
typedef unsigned short __kernel_dev_t
typedef unsigned long __kernel_ino_t
typedef unsigned short __kernel_mode_t
typedef unsigned short __kernel_nlink_t
typedef long __kernel_off_t
typedef int __kernel_pid_t
typedef unsigned short __kernel_ipc_pid_t
typedef unsigned short __kernel_uid_t
typedef unsigned short __kernel_gid_t
typedef unsigned int __kernel_size_t
typedef int __kernel_ssize_t
typedef int __kernel_ptrdiff_t
typedef long __kernel_time_t
typedef long __kernel_suseconds_t
typedef long __kernel_clock_t
typedef int __kernel_daddr_t
typedef char__kernel_caddr_t
typedef unsigned short __kernel_uid16_t
typedef unsigned short __kernel_gid16_t
typedef unsigned int __kernel_uid32_t
typedef unsigned int __kernel_gid32_t
typedef unsigned short __kernel_old_uid_t
typedef unsigned short __kernel_old_gid_t
typedef __kernel_fd_set fd_set
typedef __kernel_dev_t dev_t
typedef __kernel_ino_t ino_t
typedef __kernel_mode_t mode_t
typedef __kernel_nlink_t nlink_t
typedef __kernel_off_t off_t
typedef __kernel_pid_t pid_t
typedef __kernel_daddr_t daddr_t
typedef __kernel_key_t key_t
typedef __kernel_suseconds_t suseconds_t
typedef __kernel_uid_t uid_t
typedef __kernel_gid_t gid_t
typedef __kernel_size_t size_t
typedef __kernel_ssize_t ssize_t
typedef __kernel_ptrdiff_t ptrdiff_t
typedef __kernel_time_t time_t
typedef __kernel_clock_t clock_t
typedef __kernel_caddr_t caddr_t
typedef unsigned char u_char
typedef unsigned short u_short
typedef unsigned int u_int
typedef unsigned long u_long
typedef unsigned char unchar
typedef unsigned short ushort
typedef unsigned int uint
typedef unsigned long ulong
typedef __u8 u_int8_t
typedef __s8 int8_t
typedef __u16 u_int16_t
typedef __s16 int16_t
typedef __u32 u_int32_t
typedef __s32 int32_t
typedef __u8 uint8_t
typedef __u16 uint16_t
typedef __u32 uint32_t

Functions

static __inline__ __const__ __u16 __fswab16 (__u16 x)
static __inline__ __u16 __swab16p (__u16 *x)
static __inline__ void __swab16s (__u16 *addr)
static __inline__ __const__ __u32 __fswab24 (__u32 x)
static __inline__ __u32 __swab24p (__u32 *x)
static __inline__ void __swab24s (__u32 *addr)
static __inline__ __const__ __u32 __fswab32 (__u32 x)
static __inline__ __u32 __swab32p (__u32 *x)
static __inline__ void __swab32s (__u32 *addr)
unsigned long int ntohl (unsigned long int)
unsigned long int htonl (unsigned long int)
unsigned short int ntohs (unsigned short int)
unsigned short int htons (unsigned short int)
static __inline__ void atomic_add (int i, atomic_t *v)
static __inline__ void atomic_sub (int i, atomic_t *v)
static __inline__ int atomic_sub_and_test (int i, atomic_t *v)
static __inline__ void atomic_inc (atomic_t *v)
static __inline__ void atomic_dec (atomic_t *v)
static __inline__ int atomic_dec_and_test (atomic_t *v)
static __inline__ int atomic_inc_and_test (atomic_t *v)
static __inline__ int atomic_add_negative (int i, atomic_t *v)
static void __list_add (struct list_head *new, struct list_head *prev, struct list_head *next)
static void list_add (struct list_head *new, struct list_head *head)
static void list_add_tail (struct list_head *new, struct list_head *head)
static void __list_del (struct list_head *prev, struct list_head *next)
static void list_del (struct list_head *entry)
static void list_del_init (struct list_head *entry)
static void list_move (struct list_head *list, struct list_head *head)
static void list_move_tail (struct list_head *list, struct list_head *head)
static int list_empty (struct list_head *head)
static void __list_splice (struct list_head *list, struct list_head *head)
static void list_splice (struct list_head *list, struct list_head *head)
static void list_splice_init (struct list_head *list, struct list_head *head)
static void init_waitqueue_head (wait_queue_head_t *q)
static void init_waitqueue_entry (wait_queue_t *q, struct task_struct *p)
static int waitqueue_active (wait_queue_head_t *q)
static void __add_wait_queue (wait_queue_head_t *head, wait_queue_t *new)
static void __add_wait_queue_tail (wait_queue_head_t *head, wait_queue_t *new)
static void __remove_wait_queue (wait_queue_head_t *head, wait_queue_t *old)
void kmem_cache_init (void)
void kmem_cache_sizes_init (void)
kmem_cache_t * kmem_find_general_cachep (size_t, int gfpflags)
kmem_cache_t * kmem_cache_create (const char *, size_t, size_t, unsigned long, void(*)(void *, kmem_cache_t *, unsigned long), void(*)(void *, kmem_cache_t *, unsigned long))
int kmem_cache_destroy (kmem_cache_t *)
int kmem_cache_shrink (kmem_cache_t *)
voidkmem_cache_alloc (kmem_cache_t *, int)
void kmem_cache_free (kmem_cache_t *, void *)
unsigned int kmem_cache_size (kmem_cache_t *)
voidkmalloc (size_t, int)
void kfree (const void *)
void __pollwait (struct file *filp, wait_queue_head_t *wait_address, poll_table *p)
static void poll_wait (struct file *filp, wait_queue_head_t *wait_address, poll_table *p)
static void poll_initwait (poll_table *pt)
void poll_freewait (poll_table *pt)
static int get_fd_set (unsigned long nr, void *ufdset, unsigned long *fdset)
static void set_fd_set (unsigned long nr, void *ufdset, unsigned long *fdset)
static void zero_fd_set (unsigned long nr, unsigned long *fdset)
int do_select (int n, fd_set_bits *fds, long *timeout)

Variables

kmem_cache_t * vm_area_cachep
kmem_cache_t * mm_cachep
kmem_cache_t * names_cachep
kmem_cache_t * files_cachep
kmem_cache_t * filp_cachep
kmem_cache_t * dquot_cachep
kmem_cache_t * bh_cachep
kmem_cache_t * fs_cachep
kmem_cache_t * sigact_cachep

Generated on Sun May 27 2012 04:48:09 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.