Lines Matching defs:close
197 struct io_close *close = io_kiocb_to_cmd(req, struct io_close);
199 return __io_close_fixed(req->ctx, issue_flags, close->file_slot - 1);
204 struct io_close *close = io_kiocb_to_cmd(req, struct io_close);
211 close->fd = READ_ONCE(sqe->fd);
212 close->file_slot = READ_ONCE(sqe->file_index);
213 if (close->file_slot && close->fd)
222 struct io_close *close = io_kiocb_to_cmd(req, struct io_close);
227 if (close->file_slot) {
234 if (close->fd >= fdt->max_fds) {
238 file = rcu_dereference_protected(fdt->fd[close->fd],
251 file = __close_fd_get_file(close->fd);
256 /* No ->flush() or already async, safely close from here */