Lines Matching refs:replace_ctx
846 if (WARN_ON(!ctx->replace_ctx)) in ieee80211_vif_unreserve_chanctx()
849 WARN_ON(ctx->replace_ctx->replace_state != in ieee80211_vif_unreserve_chanctx()
851 WARN_ON(ctx->replace_ctx->replace_ctx != ctx); in ieee80211_vif_unreserve_chanctx()
853 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_unreserve_chanctx()
854 ctx->replace_ctx->replace_state = in ieee80211_vif_unreserve_chanctx()
942 new_ctx->replace_ctx = curr_ctx; in ieee80211_vif_reserve_chanctx()
946 curr_ctx->replace_ctx = new_ctx; in ieee80211_vif_reserve_chanctx()
1198 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_chsw_switch_vifs()
1238 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1241 ieee80211_del_chanctx(local, ctx->replace_ctx); in ieee80211_chsw_switch_ctxs()
1255 if (!list_empty(&ctx->replace_ctx->assigned_vifs)) in ieee80211_chsw_switch_ctxs()
1259 WARN_ON(ieee80211_add_chanctx(local, ctx->replace_ctx)); in ieee80211_chsw_switch_ctxs()
1296 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1310 list_for_each_entry(sdata, &ctx->replace_ctx->assigned_vifs, in ieee80211_vif_use_reserved_switch()
1395 if (WARN_ON(!ctx->replace_ctx)) { in ieee80211_vif_use_reserved_switch()
1492 ctx->replace_ctx->replace_ctx = NULL; in ieee80211_vif_use_reserved_switch()
1493 ctx->replace_ctx->replace_state = in ieee80211_vif_use_reserved_switch()