Lines Matching refs:replace_ctx
817 if (WARN_ON(!ctx->replace_ctx)) in ieee80211_vif_unreserve_chanctx()
820 WARN_ON(ctx->replace_ctx->replace_state != in ieee80211_vif_unreserve_chanctx()
822 WARN_ON(ctx->replace_ctx->replace_ctx != ctx); in ieee80211_vif_unreserve_chanctx()
824 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_unreserve_chanctx()
825 ctx->replace_ctx->replace_state = in ieee80211_vif_unreserve_chanctx()
913 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
917 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1162 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_chsw_switch_vifs()
1202 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1205 ieee80211_del_chanctx(local, ctx->replace_ctx); in ieee80211_chsw_switch_ctxs()
1219 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1223 WARN_ON(ieee80211_add_chanctx(local, ctx->replace_ctx)); in ieee80211_chsw_switch_ctxs()
1260 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1274 list_for_each_entry(sdata, &ctx->replace_ctx->assigned_vifs, in ieee80211_vif_use_reserved_switch()
1361 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1456 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_use_reserved_switch()
1457 ctx->replace_ctx->replace_state = in ieee80211_vif_use_reserved_switch()