Lines Matching defs:unsigned

57 	unsigned	id;	/* kernel internal index number */
58 unsigned nr; /* number of io_events */
59 unsigned head; /* Written to by userland or under ring_lock
61 unsigned tail;
63 unsigned magic;
64 unsigned compat_features;
65 unsigned incompat_features;
66 unsigned header_length; /* size of aio_ring */
82 unsigned nr;
87 unsigned reqs_available;
101 unsigned long user_id;
109 unsigned req_batch;
117 unsigned max_reqs;
120 unsigned nr_events;
122 unsigned long mmap_base;
123 unsigned long mmap_size;
158 unsigned tail;
159 unsigned completed_events;
166 unsigned id;
234 static unsigned long aio_nr; /* current system wide number of aio requests */
235 static unsigned long aio_max_nr = 0x10000; /* system wide maximum number of aio requests */
465 unsigned long flags;
547 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events)
551 unsigned long size, unused;
652 unsigned long flags;
733 unsigned i, new_nr;
784 static void aio_nr_sub(unsigned nr)
797 static struct kioctx *ioctx_alloc(unsigned nr_events)
807 unsigned int max_reqs = nr_events;
826 if (!nr_events || (unsigned long)max_reqs > aio_max_nr)
997 static void put_reqs_available(struct kioctx *ctx, unsigned nr)
1000 unsigned long flags;
1018 unsigned long flags;
1048 static void refill_reqs_available(struct kioctx *ctx, unsigned head,
1049 unsigned tail)
1051 unsigned events_in_ring, completed;
1082 unsigned head;
1138 static struct kioctx *lookup_ioctx(unsigned long ctx_id)
1144 unsigned id;
1189 unsigned tail, pos, head, avail;
1190 unsigned long flags;
1213 (void __user *)(unsigned long)iocb->ki_res.obj,
1257 unsigned long flags;
1285 unsigned head, tail, pos;
1410 unsigned long nr_got = ret;
1445 SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp)
1448 unsigned long ctx;
1476 COMPAT_SYSCALL_DEFINE2(io_setup, unsigned, nr_events, u32 __user *, ctx32p)
1479 unsigned long ctx;
1547 unsigned long flags;
1850 static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync,
1856 unsigned long flags;
2065 req->ki_res.obj = (u64)(unsigned long)user_iocb;
2109 (iocb.aio_buf != (unsigned long)iocb.aio_buf) ||
2251 u64 obj = (u64)(unsigned long)iocb;