Home
last modified time | relevance | path

Searched refs:file_data (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/usb/class/
Dusbtmc.c153 static void usbtmc_draw_down(struct usbtmc_file_data *file_data);
167 struct usbtmc_file_data *file_data; in usbtmc_open() local
175 file_data = kzalloc(sizeof(*file_data), GFP_KERNEL); in usbtmc_open()
176 if (!file_data) in usbtmc_open()
179 spin_lock_init(&file_data->err_lock); in usbtmc_open()
180 sema_init(&file_data->limit_write_sem, MAX_URBS_IN_FLIGHT); in usbtmc_open()
181 init_usb_anchor(&file_data->submitted); in usbtmc_open()
182 init_usb_anchor(&file_data->in_anchor); in usbtmc_open()
183 init_waitqueue_head(&file_data->wait_bulk_in); in usbtmc_open()
190 file_data->data = data; in usbtmc_open()
[all …]
/linux-6.6.21/io_uring/
Dfiletable.c72 if (!ctx->file_data) in io_install_fixed_file()
81 ret = io_queue_rsrc_removal(ctx->file_data, slot_index, in io_install_fixed_file()
92 *io_get_tag_slot(ctx->file_data, slot_index) = 0; in io_install_fixed_file()
143 if (unlikely(!ctx->file_data)) in io_fixed_fd_remove()
153 ret = io_queue_rsrc_removal(ctx->file_data, offset, in io_fixed_fd_remove()
Drsrc.c361 struct io_rsrc_data *data = ctx->file_data; in __io_sqe_files_update()
366 if (!ctx->file_data) in __io_sqe_files_update()
591 if (!req->ctx->file_data) in io_files_update_with_index_alloc()
696 io_rsrc_data_free(ctx->file_data); in __io_sqe_files_unregister()
697 ctx->file_data = NULL; in __io_sqe_files_unregister()
706 if (!ctx->file_data) in io_sqe_files_unregister()
714 ret = io_rsrc_ref_quiesce(ctx->file_data, ctx); in io_sqe_files_unregister()
860 if (ctx->file_data) in io_sqe_files_register()
869 &ctx->file_data); in io_sqe_files_register()
874 io_rsrc_data_free(ctx->file_data); in io_sqe_files_register()
[all …]
Dio_uring.c2929 if (ctx->file_data) in io_ring_ctx_free()
/linux-6.6.21/fs/cramfs/
DREADME5 a bit looser, e.g. it doesn't care if the <file_data> items are
37 One <file_data> for each file that's either a symlink or a
40 <file_data>:
68 The order of <file_data>'s is a depth-first descent of the directory
/linux-6.6.21/include/linux/
Dio_uring_types.h339 struct io_rsrc_data *file_data; member