Home
last modified time | relevance | path

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

/linux-6.1.9/io_uring/
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()
Drsrc.c467 file_slot = io_fixed_file_slot(&ctx->file_table, i); in __io_sqe_files_update()
475 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
504 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
763 struct file *file = io_file_from_index(&ctx->file_table, i); in __io_sqe_files_unregister()
768 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_unregister()
781 io_free_file_tables(&ctx->file_table); in __io_sqe_files_unregister()
961 if (!io_alloc_file_tables(&ctx->file_table, nr_args)) { in io_sqe_files_register()
1003 file_slot = io_fixed_file_slot(&ctx->file_table, i); in io_sqe_files_register()
1005 io_file_bitmap_set(&ctx->file_table, i); in io_sqe_files_register()
Dfiletable.h65 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_reset_alloc_hint()
Dmsg_ring.c101 file_ptr = io_fixed_file_slot(&ctx->file_table, msg->src_fd)->file_ptr; in io_msg_send_fd()
Dfdinfo.c151 struct file *f = io_file_from_index(&ctx->file_table, i); in __io_uring_show_fdinfo()
Dcancel.c224 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in __io_sync_cancel()
Dio_uring.c1836 file_ptr = io_fixed_file_slot(&ctx->file_table, fd)->file_ptr; in io_file_get_fixed()
/linux-6.1.9/fs/ksmbd/
Dvfs_cache.c361 __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()
Dsmb2pdu.c2101 ksmbd_destroy_file_table(&sess->file_table); in smb2_session_logoff()
/linux-6.1.9/fs/ksmbd/mgmt/
Duser_session.h63 struct ksmbd_file_table file_table; member
Duser_session.c164 ksmbd_destroy_file_table(&sess->file_table); in ksmbd_session_destroy()
327 if (ksmbd_init_file_table(&sess->file_table)) in __session_create()
/linux-6.1.9/fs/
DMakefile11 obj-y := open.o read_write.o file_table.o super.o \
/linux-6.1.9/include/linux/
Dio_uring_types.h238 struct io_file_table file_table; member