Searched refs:file_table (Results 1 – 10 of 10) sorted by relevance
| /linux/io_uring/ |
| H A 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 …]
|
| H A D | fdinfo.c | 200 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 D | rsrc.c | 235 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 D | cancel.c | 251 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in __io_sync_cancel()
|
| H A D | register.c | 923 trace_io_uring_register(ctx, opcode, ctx->file_table.data.nr, in SYSCALL_DEFINE4()
|
| H A D | io_uring.c | 1973 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in io_file_get_fixed()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | user_session.h | 61 struct ksmbd_file_table file_table; member
|
| /linux/fs/ |
| H A D | Makefile | 10 obj-y := open.o read_write.o file_table.o super.o \
|
| /linux/include/linux/ |
| H A D | io_uring_types.h | 321 struct io_file_table file_table; member
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 3745 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()
|