Home
last modified time | relevance | path

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

/io_uring/
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()
A Dopenclose.c24 u32 file_slot; member
33 u32 file_slot; member
76 open->file_slot = READ_ONCE(sqe->file_index); in __io_openat_prep()
122 bool fixed = !!open->file_slot; in io_openat2()
167 open->file_slot); in io_openat2()
220 if (close->file_slot && close->fd) in io_close_prep()
233 if (close->file_slot) { in io_close()
312 int file_slot; member
328 p->file_slot = READ_ONCE(sqe->file_index); in io_pipe_prep()
339 int slot = p->file_slot; in io_pipe_fixed()
[all …]
A Dfiletable.h13 struct file *file, unsigned int file_slot);
15 unsigned int file_slot);
A Dnet.c32 u32 file_slot; member
42 u32 file_slot; member
1633 accept->file_slot = READ_ONCE(sqe->file_index); in io_accept_prep()
1634 if (accept->file_slot) { in io_accept_prep()
1638 accept->file_slot != IORING_FILE_INDEX_ALLOC) in io_accept_prep()
1656 bool fixed = !!accept->file_slot; in io_accept()
1693 accept->file_slot); in io_accept()
1723 sock->file_slot = READ_ONCE(sqe->file_index); in io_socket_prep()
1727 if (sock->file_slot && (sock->flags & SOCK_CLOEXEC)) in io_socket_prep()
1737 bool fixed = !!sock->file_slot; in io_socket()
[all …]

Completed in 9 milliseconds