Home
last modified time | relevance | path

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

/linux-6.15/io_uring/
H A Dfiletable.c84 unsigned int file_slot) in __io_fixed_fd_install() argument
86 bool alloc_slot = file_slot == IORING_FILE_INDEX_ALLOC; in __io_fixed_fd_install()
93 file_slot = ret; in __io_fixed_fd_install()
95 file_slot--; in __io_fixed_fd_install()
98 ret = io_install_fixed_file(ctx, file, file_slot); in __io_fixed_fd_install()
100 ret = file_slot; in __io_fixed_fd_install()
108 struct file *file, unsigned int file_slot) in io_fixed_fd_install() argument
114 ret = __io_fixed_fd_install(ctx, file, file_slot); in io_fixed_fd_install()
H A Dopenclose.c22 u32 file_slot; member
31 u32 file_slot; member
74 open->file_slot = READ_ONCE(sqe->file_index); in __io_openat_prep()
75 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
120 bool fixed = !!open->file_slot; in io_openat2()
165 open->file_slot); in io_openat2()
204 return __io_close_fixed(req->ctx, issue_flags, close->file_slot - 1); in io_close_fixed()
217 close->file_slot = READ_ONCE(sqe->file_index); in io_close_prep()
218 if (close->file_slot && close->fd) in io_close_prep()
231 if (close->file_slot) { in io_close()
H A Dfiletable.h13 struct file *file, unsigned int file_slot);
15 unsigned int file_slot);
H A Dnet.c33 u32 file_slot; member
43 u32 file_slot; member
1583 accept->file_slot = READ_ONCE(sqe->file_index); in io_accept_prep()
1584 if (accept->file_slot) { in io_accept_prep()
1588 accept->file_slot != IORING_FILE_INDEX_ALLOC) in io_accept_prep()
1606 bool fixed = !!accept->file_slot; in io_accept()
1643 accept->file_slot); in io_accept()
1673 sock->file_slot = READ_ONCE(sqe->file_index); in io_socket_prep()
1677 if (sock->file_slot && (sock->flags & SOCK_CLOEXEC)) in io_socket_prep()
1687 bool fixed = !!sock->file_slot; in io_socket()
[all …]