Searched refs:file_slot (Results 1 – 4 of 4) sorted by relevance
88 unsigned int file_slot) in __io_fixed_fd_install() argument90 bool alloc_slot = file_slot == IORING_FILE_INDEX_ALLOC; in __io_fixed_fd_install()97 file_slot = ret; in __io_fixed_fd_install()99 file_slot--; in __io_fixed_fd_install()102 ret = io_install_fixed_file(ctx, file, file_slot); in __io_fixed_fd_install()104 ret = file_slot; in __io_fixed_fd_install()112 struct file *file, unsigned int file_slot) in io_fixed_fd_install() argument118 ret = __io_fixed_fd_install(ctx, file, file_slot); in io_fixed_fd_install()
25 u32 file_slot; member34 u32 file_slot; member75 open->file_slot = READ_ONCE(sqe->file_index); in __io_openat_prep()76 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()129 bool fixed = !!open->file_slot; in io_openat2()179 open->file_slot); in io_openat2()216 return __io_close_fixed(req->ctx, issue_flags, close->file_slot - 1); in io_close_fixed()229 close->file_slot = READ_ONCE(sqe->file_index); in io_close_prep()230 if (close->file_slot && close->fd) in io_close_prep()243 if (close->file_slot) { in io_close()[all …]
12 struct file *file, unsigned int file_slot);14 unsigned int file_slot);
33 u32 file_slot; member43 u32 file_slot; member1630 accept->file_slot = READ_ONCE(sqe->file_index); in io_accept_prep()1631 if (accept->file_slot) { in io_accept_prep()1635 accept->file_slot != IORING_FILE_INDEX_ALLOC) in io_accept_prep()1653 bool fixed = !!accept->file_slot; in io_accept()1690 accept->file_slot); in io_accept()1729 sock->file_slot = READ_ONCE(sqe->file_index); in io_socket_prep()1733 if (sock->file_slot && (sock->flags & SOCK_CLOEXEC)) in io_socket_prep()1743 bool fixed = !!sock->file_slot; in io_socket()[all …]