Lines Matching defs:file_slot
67 struct io_fixed_file *file_slot;
78 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index);
80 if (file_slot->file_ptr) {
82 io_slot_file(file_slot));
86 file_slot->file_ptr = 0;
91 io_fixed_file_set(file_slot, file);
97 unsigned int file_slot)
99 bool alloc_slot = file_slot == IORING_FILE_INDEX_ALLOC;
106 file_slot = ret;
108 file_slot--;
111 ret = io_install_fixed_file(ctx, file, file_slot);
113 ret = file_slot;
121 struct file *file, unsigned int file_slot)
127 ret = __io_fixed_fd_install(ctx, file, file_slot);
137 struct io_fixed_file *file_slot;
146 file_slot = io_fixed_file_slot(&ctx->file_table, offset);
147 if (!file_slot->file_ptr)
151 io_slot_file(file_slot));
155 file_slot->file_ptr = 0;