Home
last modified time | relevance | path

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

/linux-6.3-rc2/io_uring/
A Dfiletable.c18 struct io_file_table *table = &ctx->file_table; in io_file_bitmap_get()
76 file_slot = io_fixed_file_slot(&ctx->file_table, slot_index); in io_install_fixed_file()
91 io_file_bitmap_clear(&ctx->file_table, slot_index); in io_install_fixed_file()
99 io_file_bitmap_set(&ctx->file_table, slot_index); in io_install_fixed_file()
161 file_slot = io_fixed_file_slot(&ctx->file_table, offset); in io_fixed_fd_remove()
171 io_file_bitmap_clear(&ctx->file_table, offset); in io_fixed_fd_remove()
A Drsrc.c482 file_slot = io_fixed_file_slot(&ctx->file_table, i); in __io_sqe_files_update()
490 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
519 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
778 struct file *file = io_file_from_index(&ctx->file_table, i); in __io_sqe_files_unregister()
783 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_unregister()
796 io_free_file_tables(&ctx->file_table); in __io_sqe_files_unregister()
976 if (!io_alloc_file_tables(&ctx->file_table, nr_args)) { in io_sqe_files_register()
1018 file_slot = io_fixed_file_slot(&ctx->file_table, i); in io_sqe_files_register()
1020 io_file_bitmap_set(&ctx->file_table, i); in io_sqe_files_register()
A Dfiletable.h65 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_reset_alloc_hint()
A Dfdinfo.c149 struct file *f = io_file_from_index(&ctx->file_table, i); in __io_uring_show_fdinfo()
A Dmsg_ring.c171 file_ptr = io_fixed_file_slot(&ctx->file_table, idx)->file_ptr; in io_msg_grab_file()
A Dcancel.c224 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in __io_sync_cancel()
A Dio_uring.c2022 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
/linux-6.3-rc2/fs/ksmbd/
A Dvfs_cache.c362 __ksmbd_close_fd(&work->sess->file_table, fp); in __put_fd_final()
387 ft = &work->sess->file_table; in ksmbd_close_fd()
426 return __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_foreign_fd()
431 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_fast()
450 fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_slow()
583 ret = __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_open_fd()
635 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_tree_conn_fds()
644 int num = __close_file_table_ids(&work->sess->file_table, in ksmbd_close_session_fds()
A Dsmb2pdu.c2084 ksmbd_destroy_file_table(&sess->file_table); in smb2_session_logoff()
/linux-6.3-rc2/fs/ksmbd/mgmt/
A Duser_session.h61 struct ksmbd_file_table file_table; member
A Duser_session.c155 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy()
315 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
/linux-6.3-rc2/fs/
A DMakefile11 obj-y := open.o read_write.o file_table.o super.o \
/linux-6.3-rc2/include/linux/
A Dio_uring_types.h244 struct io_file_table file_table; member

Completed in 49 milliseconds