• Home
  • Raw
  • Download

Lines Matching refs:file_slot

515 	u32				file_slot;  member
531 u32 file_slot; member
600 u32 file_slot; member
4197 req->open.file_slot = READ_ONCE(sqe->file_index); in __io_openat_prep()
4198 if (req->open.file_slot && (req->open.how.flags & O_CLOEXEC)) in __io_openat_prep()
4239 bool fixed = !!req->open.file_slot; in io_openat2()
4292 req->open.file_slot - 1); in io_openat2()
4636 req->close.file_slot = READ_ONCE(sqe->file_index); in io_close_prep()
4637 if (req->close.file_slot && req->close.fd) in io_close_prep()
4651 if (req->close.file_slot) { in io_close()
5215 accept->file_slot = READ_ONCE(sqe->file_index); in io_accept_prep()
5216 if (accept->file_slot && (accept->flags & SOCK_CLOEXEC)) in io_accept_prep()
5230 bool fixed = !!accept->file_slot; in io_accept()
5258 accept->file_slot - 1); in io_accept()
6951 static void io_fixed_file_set(struct io_fixed_file *file_slot, struct file *file) in io_fixed_file_set() argument
6961 file_slot->file_ptr = file_ptr; in io_fixed_file_set()
8491 struct io_fixed_file *file_slot; in io_install_fixed_file() local
8505 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index); in io_install_fixed_file()
8507 if (file_slot->file_ptr) { in io_install_fixed_file()
8514 old_file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_install_fixed_file()
8519 file_slot->file_ptr = 0; in io_install_fixed_file()
8524 io_fixed_file_set(file_slot, file); in io_install_fixed_file()
8537 unsigned int offset = req->close.file_slot - 1; in io_close_fixed()
8539 struct io_fixed_file *file_slot; in io_close_fixed() local
8555 file_slot = io_fixed_file_slot(&ctx->file_table, offset); in io_close_fixed()
8557 if (!file_slot->file_ptr) in io_close_fixed()
8560 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in io_close_fixed()
8565 file_slot->file_ptr = 0; in io_close_fixed()
8580 struct io_fixed_file *file_slot; in __io_sqe_files_update() local
8607 file_slot = io_fixed_file_slot(&ctx->file_table, i); in __io_sqe_files_update()
8609 if (file_slot->file_ptr) { in __io_sqe_files_update()
8610 file = (struct file *)(file_slot->file_ptr & FFS_MASK); in __io_sqe_files_update()
8614 file_slot->file_ptr = 0; in __io_sqe_files_update()
8637 io_fixed_file_set(file_slot, file); in __io_sqe_files_update()