Home
last modified time | relevance | path

Searched refs:sq_creds (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/io_uring/
H A Dsqpoll.c180 if (ctx->sq_creds != current_cred()) in __io_sq_thread()
181 creds = override_creds(ctx->sq_creds); in __io_sq_thread()
377 ctx->sq_creds = get_current_cred(); in io_sq_offload_create()
H A Dio_uring.c2909 if (ctx->sq_creds) in io_ring_ctx_free()
2910 put_cred(ctx->sq_creds); in io_ring_ctx_free()
/kernel/linux/linux-6.6/include/linux/
H A Dio_uring_types.h316 const struct cred *sq_creds; /* cred used for __io_sq_thread() */ member
/kernel/linux/linux-5.10/io_uring/
H A Dio_uring.c390 const struct cred *sq_creds; /* cred used for __io_sq_thread() */ member
7462 if (ctx->sq_creds != current_cred()) in __io_sq_thread()
7463 creds = override_creds(ctx->sq_creds); in __io_sq_thread()
8745 ctx->sq_creds = get_current_cred(); in io_sq_offload_create()
9384 if (ctx->sq_creds) in io_ring_ctx_free()
9385 put_cred(ctx->sq_creds); in io_ring_ctx_free()

Completed in 21 milliseconds