Searched refs:file_table (Results 1 – 15 of 15) sorted by relevance
/linux-6.14.4/io_uring/ |
D | filetable.c | 18 struct io_file_table *table = &ctx->file_table; in io_file_bitmap_get() 66 if (!ctx->file_table.data.nr) in io_install_fixed_file() 68 if (slot_index >= ctx->file_table.data.nr) in io_install_fixed_file() 75 if (!io_reset_rsrc_node(ctx, &ctx->file_table.data, slot_index)) in io_install_fixed_file() 76 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file() 78 ctx->file_table.data.nodes[slot_index] = node; in io_install_fixed_file() 126 if (unlikely(!ctx->file_table.data.nr)) in io_fixed_fd_remove() 128 if (offset >= ctx->file_table.data.nr) in io_fixed_fd_remove() 131 node = io_rsrc_node_lookup(&ctx->file_table.data, offset); in io_fixed_fd_remove() 134 io_reset_rsrc_node(ctx, &ctx->file_table.data, offset); in io_fixed_fd_remove() [all …]
|
D | rsrc.c | 178 if (!ctx->file_table.data.nr) in __io_sqe_files_update() 180 if (up->offset + nr_args > ctx->file_table.data.nr) in __io_sqe_files_update() 199 if (io_reset_rsrc_node(ctx, &ctx->file_table.data, i)) in __io_sqe_files_update() 200 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update() 224 ctx->file_table.data.nodes[i] = node; in __io_sqe_files_update() 228 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update() 398 if (!req->ctx->file_table.data.nr) in io_files_update_with_index_alloc() 481 if (!ctx->file_table.data.nr) in io_sqe_files_unregister() 484 io_free_file_tables(ctx, &ctx->file_table); in io_sqe_files_unregister() 497 if (ctx->file_table.data.nr) in io_sqe_files_register() [all …]
|
D | fdinfo.c | 208 seq_printf(m, "UserFiles:\t%u\n", ctx->file_table.data.nr); in io_uring_show_fdinfo() 209 for (i = 0; has_lock && i < ctx->file_table.data.nr; i++) { in io_uring_show_fdinfo() 212 if (ctx->file_table.data.nodes[i]) in io_uring_show_fdinfo() 213 f = io_slot_file(ctx->file_table.data.nodes[i]); in io_uring_show_fdinfo()
|
D | filetable.h | 64 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_file_table_set_alloc_range()
|
D | splice.c | 69 node = io_rsrc_node_lookup(&ctx->file_table.data, sp->splice_fd_in); in io_splice_get_file()
|
D | cancel.c | 245 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in __io_sync_cancel()
|
D | msg_ring.c | 183 node = io_rsrc_node_lookup(&ctx->file_table.data, msg->src_fd); in io_msg_grab_file()
|
D | register.c | 921 trace_io_uring_register(ctx, opcode, ctx->file_table.data.nr, in SYSCALL_DEFINE4()
|
D | io_uring.c | 1891 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in io_file_get_fixed()
|
/linux-6.14.4/fs/smb/server/ |
D | vfs_cache.c | 379 __ksmbd_close_fd(&work->sess->file_table, fp); in __put_fd_final() 404 ft = &work->sess->file_table; in ksmbd_close_fd() 448 return __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_foreign_fd() 453 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_fast() 472 fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_slow() 633 ret = __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_open_fd() 885 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_tree_conn_fds() 894 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_session_fds() 975 __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_reopen_durable_fd()
|
D | smb2pdu.c | 3722 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()
|
/linux-6.14.4/fs/smb/server/mgmt/ |
D | user_session.c | 154 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy() 381 ksmbd_destroy_file_table(&prev_sess->file_table); in destroy_previous_session() 430 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
|
D | user_session.h | 61 struct ksmbd_file_table file_table; member
|
/linux-6.14.4/fs/ |
D | Makefile | 10 obj-y := open.o read_write.o file_table.o super.o \
|
/linux-6.14.4/include/linux/ |
D | io_uring_types.h | 293 struct io_file_table file_table; member
|