Searched refs:file_data (Results 1 – 6 of 6) sorted by relevance
153 static void usbtmc_draw_down(struct usbtmc_file_data *file_data);167 struct usbtmc_file_data *file_data; in usbtmc_open() local175 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 …]
72 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()
361 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 …]
2929 if (ctx->file_data) in io_ring_ctx_free()
5 a bit looser, e.g. it doesn't care if the <file_data> items are37 One <file_data> for each file that's either a symlink or a40 <file_data>:68 The order of <file_data>'s is a depth-first descent of the directory
339 struct io_rsrc_data *file_data; member