Lines Matching refs:replace_ctx
954 if (WARN_ON(!ctx->replace_ctx)) in ieee80211_vif_unreserve_chanctx()
957 WARN_ON(ctx->replace_ctx->replace_state != in ieee80211_vif_unreserve_chanctx()
959 WARN_ON(ctx->replace_ctx->replace_ctx != ctx); in ieee80211_vif_unreserve_chanctx()
961 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_unreserve_chanctx()
962 ctx->replace_ctx->replace_state = in ieee80211_vif_unreserve_chanctx()
1050 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
1054 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1306 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_chsw_switch_vifs()
1346 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1349 ieee80211_del_chanctx(local, ctx->replace_ctx); in ieee80211_chsw_switch_ctxs()
1363 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1367 WARN_ON(ieee80211_add_chanctx(local, ctx->replace_ctx)); in ieee80211_chsw_switch_ctxs()
1404 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1418 list_for_each_entry(sdata, &ctx->replace_ctx->assigned_vifs, in ieee80211_vif_use_reserved_switch()
1503 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1600 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_use_reserved_switch()
1601 ctx->replace_ctx->replace_state = in ieee80211_vif_use_reserved_switch()