Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dfiletable.c18 struct io_file_table *table = &ctx->file_table; in io_file_bitmap_get()
78 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index); in io_install_fixed_file()
87 io_file_bitmap_clear(&ctx->file_table, slot_index); in io_install_fixed_file()
94 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
149 file_slot = io_fixed_file_slot(&ctx->file_table, offset); in io_fixed_fd_remove()
159 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
Drsrc.c387 file_slot = io_fixed_file_slot(&ctx->file_table, i); in __io_sqe_files_update()
395 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
424 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
676 struct file *file = io_file_from_index(&ctx->file_table, i); in __io_sqe_files_unregister()
681 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_unregister()
694 io_free_file_tables(&ctx->file_table); in __io_sqe_files_unregister()
873 if (!io_alloc_file_tables(&ctx->file_table, nr_args)) { in io_sqe_files_register()
915 file_slot = io_fixed_file_slot(&ctx->file_table, i); in io_sqe_files_register()
917 io_file_bitmap_set(&ctx->file_table, i); in io_sqe_files_register()
Dfiletable.h71 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_reset_alloc_hint()
Dfdinfo.c156 struct file *f = io_file_from_index(&ctx->file_table, i); in io_uring_show_fdinfo()
Dmsg_ring.c170 file = io_file_from_index(&ctx->file_table, idx); in io_msg_grab_file()
Dcancel.c249 cd->file = io_file_from_index(&ctx->file_table, fd); in __io_sync_cancel()
Dio_uring.c2015 slot = io_fixed_file_slot(&ctx->file_table, fd); in io_file_get_fixed()
/linux-6.6.21/fs/smb/server/
Dvfs_cache.c363 __ksmbd_close_fd(&work->sess->file_table, fp); in __put_fd_final()
388 ft = &work->sess->file_table; in ksmbd_close_fd()
432 return __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_foreign_fd()
437 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_fast()
456 fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_slow()
593 ret = __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_open_fd()
656 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_tree_conn_fds()
665 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_session_fds()
Dsmb2pdu.c2229 ksmbd_destroy_file_table(&sess->file_table); in smb2_session_logoff()
3432 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()
/linux-6.6.21/fs/smb/server/mgmt/
Duser_session.h61 struct ksmbd_file_table file_table; member
Duser_session.c151 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy()
348 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
/linux-6.6.21/fs/
DMakefile10 obj-y := open.o read_write.o file_table.o super.o \
/linux-6.6.21/include/linux/
Dio_uring_types.h246 struct io_file_table file_table; member