Home
last modified time | relevance | path

Searched refs:file_table (Results 1 – 10 of 10) sorted by relevance

/linux/io_uring/
H A Dfiletable.c18 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 …]
H A Dfdinfo.c200 seq_printf(m, "UserFiles:\t%u\n", ctx->file_table.data.nr); in __io_uring_show_fdinfo()
201 for (i = 0; i < ctx->file_table.data.nr; i++) { in __io_uring_show_fdinfo()
204 if (ctx->file_table.data.nodes[i]) in __io_uring_show_fdinfo()
205 f = io_slot_file(ctx->file_table.data.nodes[i]); in __io_uring_show_fdinfo()
H A Drsrc.c235 if (!ctx->file_table.data.nr) in __io_sqe_files_update()
237 if (up->offset + nr_args > ctx->file_table.data.nr) in __io_sqe_files_update()
256 if (io_reset_rsrc_node(ctx, &ctx->file_table.data, i)) in __io_sqe_files_update()
257 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
281 ctx->file_table.data.nodes[i] = node; in __io_sqe_files_update()
285 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
455 if (!req->ctx->file_table.data.nr) in io_files_update_with_index_alloc()
536 if (!ctx->file_table.data.nr) in io_sqe_files_unregister()
539 io_free_file_tables(ctx, &ctx->file_table); in io_sqe_files_unregister()
552 if (ctx->file_table in io_sqe_files_register()
[all...]
H A Dcancel.c251 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in __io_sync_cancel()
H A Dregister.c923 trace_io_uring_register(ctx, opcode, ctx->file_table.data.nr, in SYSCALL_DEFINE4()
H A Dio_uring.c1973 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in io_file_get_fixed()
/linux/fs/smb/server/mgmt/
H A Duser_session.h61 struct ksmbd_file_table file_table; member
/linux/fs/
H A DMakefile10 obj-y := open.o read_write.o file_table.o super.o \
/linux/include/linux/
H A Dio_uring_types.h321 struct io_file_table file_table; member
/linux/fs/smb/server/
H A Dsmb2pdu.c3745 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()