Home
last modified time | relevance | path

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

/linux/io_uring/
H A Drsrc.c220 if (!ctx->file_table.data.nr) in __io_sqe_files_update()
222 if (up->offset + nr_args > ctx->file_table.data.nr) in __io_sqe_files_update()
241 if (i >= ctx->file_table.data.nr) in __io_sqe_files_update()
243 i = array_index_nospec(i, ctx->file_table.data.nr); in __io_sqe_files_update()
244 if (io_reset_rsrc_node(ctx, &ctx->file_table.data, i)) in __io_sqe_files_update()
245 io_file_bitmap_clear(&ctx->file_table, i); in __io_sqe_files_update()
269 ctx->file_table.data.nodes[i] = node; in __io_sqe_files_update()
273 io_file_bitmap_set(&ctx->file_table, i); in __io_sqe_files_update()
440 if (!req->ctx->file_table.data.nr) in io_files_update_with_index_alloc()
521 if (!ctx->file_table.data.nr) in io_sqe_files_unregister()
[all …]
H A Dfdinfo.c208 seq_printf(m, "UserFiles:\t%u\n", ctx->file_table.data.nr); in __io_uring_show_fdinfo()
209 for (i = 0; i < ctx->file_table.data.nr; i++) { in __io_uring_show_fdinfo()
212 if (ctx->file_table.data.nodes[i]) in __io_uring_show_fdinfo()
213 f = io_slot_file(ctx->file_table.data.nodes[i]); in __io_uring_show_fdinfo()
H A Dcancel.c257 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in __io_sync_cancel()
H A Dregister.c1031 trace_io_uring_register(ctx, opcode, ctx->file_table.data.nr, in SYSCALL_DEFINE4()
H A Dio_uring.c1583 node = io_rsrc_node_lookup(&ctx->file_table.data, fd); in io_file_get_fixed()
/linux/fs/smb/server/
H A Dvfs_cache.c546 __ksmbd_close_fd(&work->sess->file_table, fp); in __put_fd_final()
571 ft = &work->sess->file_table; in ksmbd_close_fd()
615 return __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_foreign_fd()
620 struct ksmbd_file *fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_fast()
639 fp = __ksmbd_lookup_fd(&work->sess->file_table, id); in ksmbd_lookup_fd_slow()
807 ret = __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_open_fd()
885 struct ksmbd_file_table *ft = &sess->file_table; in __close_file_table_ids()
1409 __open_id(&work->sess->file_table, fp, OPEN_ID_TYPE_VOLATILE_ID); in ksmbd_reopen_durable_fd()
1453 struct ksmbd_file_table *ft = &sess->file_table; in ksmbd_destroy_file_table()
H A Dsmb2pdu.c3770 rc = ksmbd_update_fstate(&work->sess->file_table, fp, in smb2_open()
/linux/include/linux/
H A Dio_uring_types.h349 struct io_file_table file_table; member