Home
last modified time | relevance | path

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

/linux/io_uring/
H A Drsrc.c166 if (!ctx->file_table.data.nr) in __io_sqe_files_update()
168 if (up->offset + nr_args > ctx->file_table.data.nr) in __io_sqe_files_update()
187 if (io_reset_rsrc_node(ctx, &ctx->file_table.data, i)) in __io_sqe_files_update()
188 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
212 ctx->file_table.data.nodes[i] = node; in __io_sqe_files_update()
216 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
386 if (!req->ctx->file_table.data.nr) in io_files_update_with_index_alloc()
469 if (!ctx->file_table.data.nr) in io_sqe_files_unregister()
472 io_free_file_tables(ctx, &ctx->file_table); in io_sqe_files_unregister()
485 if (ctx->file_table.data.nr) in io_sqe_files_register()
[all …]
H A Dregister.c921 trace_io_uring_register(ctx, opcode, ctx->file_table.data.nr, in SYSCALL_DEFINE4()
H A Dio_uring.c1891 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in io_file_get_fixed()
/linux/fs/smb/server/
H A Dvfs_cache.c379 __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()
H A Dsmb2pdu.c2242 ksmbd_destroy_file_table(&sess->file_table); in smb2_session_logoff()
3694 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()
/linux/fs/smb/server/mgmt/
H A Duser_session.c154 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy()
360 ksmbd_destroy_file_table(&prev_sess->file_table); in destroy_previous_session()
409 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
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.h293 struct io_file_table file_table; member