Lines Matching refs:replace_ctx
842 if (WARN_ON(!ctx->replace_ctx)) in ieee80211_vif_unreserve_chanctx()
845 WARN_ON(ctx->replace_ctx->replace_state != in ieee80211_vif_unreserve_chanctx()
847 WARN_ON(ctx->replace_ctx->replace_ctx != ctx); in ieee80211_vif_unreserve_chanctx()
849 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_unreserve_chanctx()
850 ctx->replace_ctx->replace_state = in ieee80211_vif_unreserve_chanctx()
938 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
942 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1193 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_chsw_switch_vifs()
1233 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1236 ieee80211_del_chanctx(local, ctx->replace_ctx); in ieee80211_chsw_switch_ctxs()
1250 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1254 WARN_ON(ieee80211_add_chanctx(local, ctx->replace_ctx)); in ieee80211_chsw_switch_ctxs()
1291 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1305 list_for_each_entry(sdata, &ctx->replace_ctx->assigned_vifs, in ieee80211_vif_use_reserved_switch()
1392 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1489 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_use_reserved_switch()
1490 ctx->replace_ctx->replace_state = in ieee80211_vif_use_reserved_switch()