Lines Matching refs:dev_ctx
677 IS_SLA_NULL(dev_data->scratch) || IS_SLA_NULL(dev_data->dev_ctx)) { in spdm_ctrl_alloc()
754 dev_data->dev_ctx = sla_alloc(tio_status->devctx_size, true); in sev_tio_dev_create()
755 if (IS_SLA_NULL(dev_data->dev_ctx)) in sev_tio_dev_create()
764 create.dev_ctx_sla = dev_data->dev_ctx; in sev_tio_dev_create()
785 .dev_ctx_sla = dev_data->dev_ctx, in sev_tio_dev_reclaim()
794 if (IS_SLA_NULL(dev_data->dev_ctx)) in sev_tio_dev_reclaim()
799 sla_free(dev_data->dev_ctx, tio_status->devctx_size, true); in sev_tio_dev_reclaim()
800 dev_data->dev_ctx = SLA_NULL; in sev_tio_dev_reclaim()
813 .dev_ctx_sla = dev_data->dev_ctx, in sev_tio_dev_connect()
821 if (WARN_ON(IS_SLA_NULL(dev_data->dev_ctx))) in sev_tio_dev_connect()
840 .dev_ctx_sla = dev_data->dev_ctx, in sev_tio_dev_disconnect()
844 if (WARN_ON_ONCE(IS_SLA_NULL(dev_data->dev_ctx))) in sev_tio_dev_disconnect()