Lines Matching refs:file_data
432 struct io_rsrc_data *file_data; member
7861 io_rsrc_data_free(ctx->file_data); in __io_sqe_files_unregister()
7862 ctx->file_data = NULL; in __io_sqe_files_unregister()
7870 if (!ctx->file_data) in io_sqe_files_unregister()
7872 ret = io_rsrc_ref_quiesce(ctx->file_data, ctx); in io_sqe_files_unregister()
8220 if (ctx->file_data) in io_sqe_files_register()
8232 &ctx->file_data); in io_sqe_files_register()
8248 if (unlikely(*io_get_tag_slot(ctx->file_data, i))) in io_sqe_files_register()
8289 io_rsrc_data_free(ctx->file_data); in io_sqe_files_register()
8290 ctx->file_data = NULL; in io_sqe_files_register()
8365 if (!ctx->file_data) in io_install_fixed_file()
8382 ret = io_queue_rsrc_removal(ctx->file_data, slot_index, in io_install_fixed_file()
8390 *io_get_tag_slot(ctx->file_data, slot_index) = 0; in io_install_fixed_file()
8401 io_rsrc_node_switch(ctx, ctx->file_data); in io_install_fixed_file()
8418 if (unlikely(!ctx->file_data)) in io_close_fixed()
8434 ret = io_queue_rsrc_removal(ctx->file_data, offset, ctx->rsrc_node, file); in io_close_fixed()
8439 io_rsrc_node_switch(ctx, ctx->file_data); in io_close_fixed()
8452 struct io_rsrc_data *data = ctx->file_data; in __io_sqe_files_update()
8459 if (!ctx->file_data) in __io_sqe_files_update()
9261 io_wait_rsrc_data(ctx->file_data); in io_ring_ctx_free()
9266 if (ctx->file_data) in io_ring_ctx_free()