Home
last modified time | relevance | path

Searched refs:file_slot (Results 1 – 4 of 4) sorted by relevance

/linux/io_uring/ !
H A Dfiletable.c88 unsigned int file_slot) in __io_fixed_fd_install() argument
90 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() argument
118 ret = __io_fixed_fd_install(ctx, file, file_slot); in io_fixed_fd_install()
H A Dopenclose.c25 u32 file_slot; member
34 u32 file_slot; member
75 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 …]
H A Dfiletable.h12 struct file *file, unsigned int file_slot);
14 unsigned int file_slot);
H A Dnet.c33 u32 file_slot; member
43 u32 file_slot; member
1630 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 …]