Lines Matching refs:ctx_id
1074 static struct kioctx *lookup_ioctx(unsigned long ctx_id) in lookup_ioctx() argument
1076 struct aio_ring __user *ring = (void __user *)ctx_id; in lookup_ioctx()
1093 if (ctx && ctx->user_id == ctx_id) { in lookup_ioctx()
2052 SYSCALL_DEFINE3(io_submit, aio_context_t, ctx_id, long, nr, in SYSCALL_DEFINE3() argument
2063 ctx = lookup_ioctx(ctx_id); in SYSCALL_DEFINE3()
2094 COMPAT_SYSCALL_DEFINE3(io_submit, compat_aio_context_t, ctx_id, in COMPAT_SYSCALL_DEFINE3() argument
2105 ctx = lookup_ioctx(ctx_id); in COMPAT_SYSCALL_DEFINE3()
2146 SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb, in SYSCALL_DEFINE3() argument
2160 ctx = lookup_ioctx(ctx_id); in SYSCALL_DEFINE3()
2189 static long do_io_getevents(aio_context_t ctx_id, in do_io_getevents() argument
2196 struct kioctx *ioctx = lookup_ioctx(ctx_id); in do_io_getevents()
2222 SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id, in SYSCALL_DEFINE5() argument
2234 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE5()
2248 aio_context_t, ctx_id, in SYSCALL_DEFINE6() argument
2270 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6()
2283 aio_context_t, ctx_id, in SYSCALL_DEFINE6() argument
2306 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6()
2320 SYSCALL_DEFINE5(io_getevents_time32, __u32, ctx_id, in SYSCALL_DEFINE5() argument
2332 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); in SYSCALL_DEFINE5()
2350 compat_aio_context_t, ctx_id, in COMPAT_SYSCALL_DEFINE6() argument
2372 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); in COMPAT_SYSCALL_DEFINE6()
2385 compat_aio_context_t, ctx_id, in COMPAT_SYSCALL_DEFINE6() argument
2407 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); in COMPAT_SYSCALL_DEFINE6()