Lines Matching refs:replace_ctx
847 if (WARN_ON(!ctx->replace_ctx)) in ieee80211_vif_unreserve_chanctx()
850 WARN_ON(ctx->replace_ctx->replace_state != in ieee80211_vif_unreserve_chanctx()
852 WARN_ON(ctx->replace_ctx->replace_ctx != ctx); in ieee80211_vif_unreserve_chanctx()
854 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_unreserve_chanctx()
855 ctx->replace_ctx->replace_state = in ieee80211_vif_unreserve_chanctx()
943 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
947 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1199 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_chsw_switch_vifs()
1239 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1242 ieee80211_del_chanctx(local, ctx->replace_ctx); in ieee80211_chsw_switch_ctxs()
1256 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1260 WARN_ON(ieee80211_add_chanctx(local, ctx->replace_ctx)); in ieee80211_chsw_switch_ctxs()
1297 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1311 list_for_each_entry(sdata, &ctx->replace_ctx->assigned_vifs, in ieee80211_vif_use_reserved_switch()
1396 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1493 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_use_reserved_switch()
1494 ctx->replace_ctx->replace_state = in ieee80211_vif_use_reserved_switch()