Home
last modified time | relevance | path

Searched refs:new_ctx (Results 1 – 25 of 33) sorted by relevance

12

/linux/net/mac80211/
H A Dchan.c1189 struct ieee80211_chanctx *new_ctx, in ieee80211_assign_link_chanctx()
1212 if (new_ctx) { in ieee80211_assign_link_chanctx()
1214 _ieee80211_recalc_chanctx_min_def(local, new_ctx, link, false); in ieee80211_assign_link_chanctx()
1216 ret = drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); in ieee80211_assign_link_chanctx()
1223 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx()
1238 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx()
1240 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_link_chanctx()
1457 struct ieee80211_chanctx *new_ctx, *ctx; in ieee80211_replace_chanctx()
1509 new_ctx in ieee80211_replace_chanctx()
1182 ieee80211_assign_link_chanctx(struct ieee80211_link_data * link,struct ieee80211_chanctx * new_ctx,bool assign_on_failure) ieee80211_assign_link_chanctx() argument
1443 struct ieee80211_chanctx *new_ctx, *ctx; ieee80211_replace_chanctx() local
1548 struct ieee80211_chanctx *new_ctx, *curr_ctx; ieee80211_link_reserve_chanctx() local
1649 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_use_reserved_reassign() local
1730 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_use_reserved_assign() local
1778 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_has_in_place_reservation() local
2361 struct ieee80211_chanctx *new_ctx; ieee80211_link_use_reserved_context() local
[all...]
H A Dmain.c320 local->hw.conf.radar_enabled = vifs[0].new_ctx->radar_enabled; in ieee80211_emulate_switch_vif_chanctx()
321 _ieee80211_hw_conf_chan(local, vifs[0].new_ctx); in ieee80211_emulate_switch_vif_chanctx()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dchannel.c190 struct mt76_chanctx *old_ctx, *new_ctx; in mt76_switch_vif_chanctx() local
199 new_ctx = (struct mt76_chanctx *)v->new_ctx->drv_priv; in mt76_switch_vif_chanctx()
201 phy = new_ctx->phy = dev->band_phys[v->new_ctx->def.chan->band]; in mt76_switch_vif_chanctx()
203 phy = new_ctx->phy; in mt76_switch_vif_chanctx()
211 if (phy->chanctx != new_ctx) { in mt76_switch_vif_chanctx()
227 new_ctx = (struct mt76_chanctx *)v->new_ctx->drv_priv; in mt76_switch_vif_chanctx()
228 phy = new_ctx->phy; in mt76_switch_vif_chanctx()
235 ret = mt76_phy_update_channel(phy, v->new_ctx); in mt76_switch_vif_chanctx()
256 mlink->ctx = v->new_ctx; in mt76_switch_vif_chanctx()
H A Dmt792x.h340 struct ieee80211_chanctx_conf *new_ctx; member
/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c30 enum intel_pt_pkt_ctx new_ctx; member
217 enum intel_pt_pkt_ctx new_ctx) in fail() argument
238 if (new_ctx != d->new_ctx) in fail()
240 d->new_ctx, new_ctx); in fail()
295 packet.payload != d->packet.payload || ctx != d->new_ctx) in test_one()
/linux/net/mptcp/
H A Dsubflow.c2057 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local
2065 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone()
2066 if (!new_ctx) { in subflow_ulp_clone()
2071 new_ctx->conn_finished = 1; in subflow_ulp_clone()
2072 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
2073 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
2074 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
2075 new_ctx->rel_write_seq = 1; in subflow_ulp_clone()
2081 new_ctx->mp_capable = 1; in subflow_ulp_clone()
2082 new_ctx->local_key = subflow_req->local_key; in subflow_ulp_clone()
[all …]
/linux/security/selinux/
H A Dxfrm.c293 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone() local
298 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
300 if (!new_ctx) in selinux_xfrm_policy_clone()
303 *new_ctxp = new_ctx; in selinux_xfrm_policy_clone()
/linux/arch/powerpc/kernel/
H A Dsignal_64.c658 struct ucontext __user *, new_ctx, long, ctx_size) in SYSCALL_DEFINE3() argument
664 if (new_ctx && in SYSCALL_DEFINE3()
665 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
696 if (new_ctx == NULL) in SYSCALL_DEFINE3()
698 if (!access_ok(new_ctx, ctx_size) || in SYSCALL_DEFINE3()
699 fault_in_readable((char __user *)new_ctx, ctx_size)) in SYSCALL_DEFINE3()
714 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) { in SYSCALL_DEFINE3()
720 if (!user_read_access_begin(new_ctx, ctx_size)) in SYSCALL_DEFINE3()
722 if (__unsafe_restore_sigcontext(current, NULL, 0, &new_ctx->uc_mcontext)) { in SYSCALL_DEFINE3()
H A Dsignal_32.c991 struct ucontext __user *, new_ctx, int, ctx_size) in COMPAT_SYSCALL_DEFINE3() argument
994 struct ucontext __user *, new_ctx, long, ctx_size) in COMPAT_SYSCALL_DEFINE3()
1003 if (new_ctx) { in COMPAT_SYSCALL_DEFINE3()
1012 if (__get_user(cmcp, &new_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
1061 if (new_ctx == NULL) in COMPAT_SYSCALL_DEFINE3()
1063 if (!access_ok(new_ctx, ctx_size) || in COMPAT_SYSCALL_DEFINE3()
1064 fault_in_readable((char __user *)new_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1078 if (do_setcontext(new_ctx, regs, 0)) { in COMPAT_SYSCALL_DEFINE3()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c3181 enum dc_status resource_add_otg_master_for_stream_output(struct dc_state *new_ctx, in resource_add_otg_master_for_stream_output() argument
3188 return dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream); in resource_add_otg_master_for_stream_output()
3326 struct dc_state *new_ctx, in acquire_secondary_dpp_pipes_and_add_plane() argument
3341 &new_ctx->res_ctx, opp_heads); in acquire_secondary_dpp_pipes_and_add_plane()
3342 if (get_num_of_free_pipes(pool, new_ctx) < opp_head_count) in acquire_secondary_dpp_pipes_and_add_plane()
3349 new_ctx, in acquire_secondary_dpp_pipes_and_add_plane()
3372 struct dc_state *new_ctx, in resource_append_dpp_pipes_for_plane_composition() argument
3382 plane_state, new_ctx); in resource_append_dpp_pipes_for_plane_composition()
3385 otg_master_pipe, plane_state, new_ctx, in resource_append_dpp_pipes_for_plane_composition()
3390 plane_state, new_ctx, pool); in resource_append_dpp_pipes_for_plane_composition()
[all …]
/linux/arch/powerpc/include/asm/
H A Dsyscalls.h54 struct ucontext __user *new_ctx, long ctx_size);
76 struct ucontext32 __user *new_ctx,
/linux/net/bpf/
H A Dtest_run.c123 struct xdp_buff *new_ctx, *orig_ctx; in xdp_test_run_init_page() local
135 new_ctx = &head->ctx; in xdp_test_run_init_page()
140 xdp_init_buff(new_ctx, TEST_XDP_FRAME_SIZE, &xdp->rxq); in xdp_test_run_init_page()
141 xdp_prepare_buff(new_ctx, data, headroom, frm_len, true); in xdp_test_run_init_page()
142 new_ctx->data = new_ctx->data_meta + meta_len; in xdp_test_run_init_page()
144 xdp_update_frame_from_buff(new_ctx, frm); in xdp_test_run_init_page()
145 frm->mem_type = new_ctx->rxq->mem.type; in xdp_test_run_init_page()
147 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); in xdp_test_run_init_page()
/linux/fs/xfs/
H A Dxfs_log_cil.c1384 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
1395 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work()
1396 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
1492 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work()
1598 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work()
1599 kfree(new_ctx); in xlog_cil_push_work()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c1389 dev->new_ctx = ctx; in mt7921_add_chanctx()
1399 if (dev->new_ctx == ctx) in mt7921_remove_chanctx()
1400 dev->new_ctx = NULL; in mt7921_remove_chanctx()
1459 vifs->new_ctx); in mt7921_switch_vif_chanctx()
1476 dev->new_ctx); in mt7921_csa_work()
1525 if (!dev->new_ctx) in mt7921_channel_switch_rx_beacon()
1529 &dev->new_ctx->def) && in mt7921_channel_switch_rx_beacon()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c941 struct dc_state *new_ctx, in dce100_add_stream_to_ctx() argument
946 result = resource_map_pool_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
949 result = resource_map_clock_resources(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
952 result = build_mapped_resource(dc, new_ctx, dc_stream); in dce100_add_stream_to_ctx()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c2001 dev->new_ctx = ctx; in mt7925_add_chanctx()
2012 if (dev->new_ctx == ctx) in mt7925_remove_chanctx()
2013 dev->new_ctx = NULL; in mt7925_remove_chanctx()
2470 vifs->new_ctx); in mt7925_csa_work()
2491 if (!dev->new_ctx) in mt7925_csa_work()
2500 ret = mt7925_set_roc(mvif->phy, mconf, dev->new_ctx->def.chan, in mt7925_csa_work()
2506 dev->new_ctx); in mt7925_pre_channel_switch()
2569 if (!dev->new_ctx)
2575 &dev->new_ctx->def) && in mt7925_start_nan()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2986 struct dc_state *new_ctx, in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() argument
2996 new_ctx, pool, opp_head_pipe->stream, opp_head_pipe); in dcn32_acquire_free_pipe_as_secondary_dpp_pipe()
2999 &cur_ctx->res_ctx, &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_dpp_pipe()
3002 free_pipe = &new_ctx->res_ctx.pipe_ctx[free_pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_dpp_pipe()
3023 struct dc_state *new_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head() argument
3028 &cur_ctx->res_ctx, &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head()
3033 free_pipe = &new_ctx->res_ctx.pipe_ctx[free_pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_opp_head()
3048 &new_ctx->res_ctx, in dcn32_acquire_free_pipe_as_secondary_opp_head()
/linux/fs/smb/client/
H A Dfs_context.h373 int smb3_fs_context_dup(struct smb3_fs_context *new_ctx,
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c1321 int new_ctx; in s5p_mfc_try_run_v5() local
1335 new_ctx = s5p_mfc_get_new_ctx(dev); in s5p_mfc_try_run_v5()
1336 if (new_ctx < 0) { in s5p_mfc_try_run_v5()
1345 ctx = dev->ctx[new_ctx]; in s5p_mfc_try_run_v5()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c2463 ret = iwl_mld_add_chanctx(hw, vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap()
2470 vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap()
2480 iwl_mld_remove_chanctx(hw, vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap()
2504 vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_reassign()
/linux/mm/
H A Dvma.h499 * setting VMA flags to @vm_flags and UFFD context to @new_ctx in the range
507 * @new_ctx: The userfaultfd context that the @start to @end range is about to
517 * flags changed to @vma_flags and its userfaultfd context changed to @new_ctx.
522 struct vm_userfaultfd_ctx new_ctx, bool give_up_on_oom);
/linux/security/apparmor/
H A Dlsm.c1193 struct aa_sk_ctx *new_ctx = aa_sock(newsk); in apparmor_unix_stream_connect() local
1208 rcu_assign_pointer(new_ctx->label, in apparmor_unix_stream_connect()
1213 unix_connect_peers(sk_ctx, new_ctx); in apparmor_unix_stream_connect()
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c4874 struct ieee80211_chanctx_conf *new_ctx) in __wlcore_switch_vif_chan() argument
4877 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan()
4882 cfg80211_get_chandef_type(&new_ctx->def)); in __wlcore_switch_vif_chan()
4895 wlvif->band = new_ctx->def.chan->band; in __wlcore_switch_vif_chan()
4897 wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def); in __wlcore_switch_vif_chan()
4900 if (new_ctx->radar_enabled) { in __wlcore_switch_vif_chan()
4931 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c11583 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter()
11680 vifs[i].new_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan()
11682 vifs[i].new_ctx->def.width); in ath12k_mac_update_vif_chan()
11687 arvif->punct_bitmap = vifs[i].new_ctx->def.punctured; in ath12k_mac_update_vif_chan()
11693 ret = ath12k_mac_vdev_restart(arvif, vifs[i].new_ctx); in ath12k_mac_update_vif_chan()
11707 ret = ath12k_mac_vdev_start(arvif, vifs[i].new_ctx); in ath12k_mac_update_vif_chan()
11715 vifs[i].new_ctx->def); in ath12k_mac_update_vif_chan()
11719 vifs[i].new_ctx->def.punctured, in ath12k_mac_update_vif_chan()
11720 vifs[i].new_ctx->def.width, ret); in ath12k_mac_update_vif_chan()
11767 chandef = &vifs[0].new_ctx->def; in ath12k_mac_update_vif_chan()
[all …]
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim_main.c3469 vifs[i].new_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx()
3470 vifs[i].new_ctx->def.width, in mac80211_hwsim_switch_vif_chanctx()
3471 vifs[i].new_ctx->def.center_freq1, in mac80211_hwsim_switch_vif_chanctx()
3472 vifs[i].new_ctx->def.center_freq2); in mac80211_hwsim_switch_vif_chanctx()
3476 hwsim_check_chanctx_magic(vifs[i].new_ctx); in mac80211_hwsim_switch_vif_chanctx()
3479 hwsim_set_chanctx_magic(vifs[i].new_ctx); in mac80211_hwsim_switch_vif_chanctx()

12