Searched refs:rsrc_backup_node (Results 1 – 3 of 3) sorted by relevance
272 WARN_ON_ONCE(!ctx->rsrc_backup_node); in io_rsrc_node_switch()291 ctx->rsrc_node = ctx->rsrc_backup_node; in io_rsrc_node_switch()292 ctx->rsrc_backup_node = NULL; in io_rsrc_node_switch()298 if (ctx->rsrc_backup_node) in io_rsrc_node_switch_start()300 ctx->rsrc_backup_node = io_rsrc_node_alloc(); in io_rsrc_node_switch_start()301 return ctx->rsrc_backup_node ? 0 : -ENOMEM; in io_rsrc_node_switch_start()
2592 if (ctx->rsrc_backup_node) in io_ring_ctx_free()2593 io_rsrc_node_destroy(ctx->rsrc_backup_node); in io_ring_ctx_free()
321 struct io_rsrc_node *rsrc_backup_node; member