Lines Matching refs:ctx_id

1075 static struct kioctx *lookup_ioctx(unsigned long ctx_id)
1077 struct aio_ring __user *ring = (void __user *)ctx_id;
1094 if (ctx && ctx->user_id == ctx_id) {
2072 * specified by ctx_id is invalid, if nr is < 0, if the iocb at
2081 SYSCALL_DEFINE3(io_submit, aio_context_t, ctx_id, long, nr,
2092 ctx = lookup_ioctx(ctx_id);
2123 COMPAT_SYSCALL_DEFINE3(io_submit, compat_aio_context_t, ctx_id,
2134 ctx = lookup_ioctx(ctx_id);
2171 * May fail with -EINVAL if aio_context specified by ctx_id is
2175 SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb,
2189 ctx = lookup_ioctx(ctx_id);
2217 static long do_io_getevents(aio_context_t ctx_id,
2224 struct kioctx *ioctx = lookup_ioctx(ctx_id);
2238 * the completion queue for the aio_context specified by ctx_id. If
2240 * -EINVAL if ctx_id is invalid, if min_nr is out of range, if nr is
2250 SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
2262 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2276 aio_context_t, ctx_id,
2298 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2311 aio_context_t, ctx_id,
2334 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL);
2348 SYSCALL_DEFINE5(io_getevents_time32, __u32, ctx_id,
2360 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);
2378 compat_aio_context_t, ctx_id,
2400 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);
2413 compat_aio_context_t, ctx_id,
2435 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL);