Searched refs:force_nonblock (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/include/trace/events/ |
D | io_uring.h | 333 TP_PROTO(void *ctx, u8 opcode, u64 user_data, bool force_nonblock, 336 TP_ARGS(ctx, opcode, user_data, force_nonblock, sq_thread), 342 __field( bool, force_nonblock ) 350 __entry->force_nonblock = force_nonblock; 357 __entry->force_nonblock, __entry->sq_thread)
|
/Linux-v5.10/fs/ |
D | io_uring.c | 3374 static int io_read(struct io_kiocb *req, bool force_nonblock, in io_read() argument 3388 ret = io_import_iovec(READ, req, &iovec, iter, !force_nonblock); in io_read() 3397 if (!force_nonblock) in io_read() 3404 no_async = force_nonblock && !io_file_supports_async(req->file, READ); in io_read() 3421 if (!force_nonblock && !(req->ctx->flags & IORING_SETUP_IOPOLL)) in io_read() 3436 if (!iov_iter_count(iter) || !force_nonblock || in io_read() 3503 static int io_write(struct io_kiocb *req, bool force_nonblock, in io_write() argument 3516 ret = io_import_iovec(WRITE, req, &iovec, iter, !force_nonblock); in io_write() 3524 if (!force_nonblock) in io_write() 3530 if (force_nonblock && !io_file_supports_async(req->file, WRITE)) in io_write() [all …]
|