Home
last modified time | relevance | path

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

/linux-6.12.1/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()
88 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
146 file_slot = io_fixed_file_slot(&ctx->file_table, offset); in io_fixed_fd_remove()
156 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
Drsrc.c363 file_slot = io_fixed_file_slot(&ctx->file_table, i); in __io_sqe_files_update()
371 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
390 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
651 struct file *file = io_file_from_index(&ctx->file_table, i); in __io_sqe_files_unregister()
655 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_unregister()
659 io_free_file_tables(&ctx->file_table); in __io_sqe_files_unregister()
707 if (!io_alloc_file_tables(&ctx->file_table, nr_args)) { in io_sqe_files_register()
740 file_slot = io_fixed_file_slot(&ctx->file_table, i); in io_sqe_files_register()
742 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.c170 struct file *f = io_file_from_index(&ctx->file_table, i); in io_uring_show_fdinfo()
Dcancel.c256 cd->file = io_file_from_index(&ctx->file_table, fd); in __io_sync_cancel()
Dmsg_ring.c179 file = io_file_from_index(&ctx->file_table, idx); in io_msg_grab_file()
Dio_uring.c1897 slot = io_fixed_file_slot(&ctx->file_table, fd); in io_file_get_fixed()
/linux-6.12.1/fs/smb/server/
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()
Dsmb2pdu.c2234 ksmbd_destroy_file_table(&sess->file_table); in smb2_session_logoff()
3684 ksmbd_update_fstate(&work->sess->file_table, fp, FP_INITED); in smb2_open()
/linux-6.12.1/fs/smb/server/mgmt/
Duser_session.c154 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy()
356 ksmbd_destroy_file_table(&prev_sess->file_table); in destroy_previous_session()
405 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
Duser_session.h61 struct ksmbd_file_table file_table; member
/linux-6.12.1/fs/
DMakefile10 obj-y := open.o read_write.o file_table.o super.o \
/linux-6.12.1/include/linux/
Dio_uring_types.h285 struct io_file_table file_table; member