Lines Matching defs:ctx_id

1063 static struct kioctx *lookup_ioctx(unsigned long ctx_id)
1065 struct aio_ring __user *ring = (void __user *)ctx_id;
1082 if (ctx && ctx->user_id == ctx_id) {
2034 * specified by ctx_id is invalid, if nr is < 0, if the iocb at
2043 SYSCALL_DEFINE3(io_submit, aio_context_t, ctx_id, long, nr,
2054 ctx = lookup_ioctx(ctx_id);
2085 COMPAT_SYSCALL_DEFINE3(io_submit, compat_aio_context_t, ctx_id,
2096 ctx = lookup_ioctx(ctx_id);
2133 * May fail with -EINVAL if aio_context specified by ctx_id is
2137 SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb,
2151 ctx = lookup_ioctx(ctx_id);
2180 static long do_io_getevents(aio_context_t ctx_id,
2196 ioctx = lookup_ioctx(ctx_id);
2208 * the completion queue for the aio_context specified by ctx_id. If
2210 * -EINVAL if ctx_id is invalid, if min_nr is out of range, if nr is
2220 SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
2232 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2246 aio_context_t, ctx_id,
2268 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2281 aio_context_t, ctx_id,
2304 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2318 SYSCALL_DEFINE5(io_getevents_time32, __u32, ctx_id,
2330 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);
2348 compat_aio_context_t, ctx_id,
2370 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);
2383 compat_aio_context_t, ctx_id,
2405 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);