| /linux/net/mac80211/ |
| H A D | chan.c | 1182 struct ieee80211_chanctx *new_ctx, in ieee80211_assign_link_chanctx() argument 1205 if (new_ctx) { in ieee80211_assign_link_chanctx() 1207 _ieee80211_recalc_chanctx_min_def(local, new_ctx, link, false); in ieee80211_assign_link_chanctx() 1209 ret = drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); in ieee80211_assign_link_chanctx() 1216 conf = &new_ctx->conf; in ieee80211_assign_link_chanctx() 1231 if (new_ctx && ieee80211_chanctx_num_assigned(local, new_ctx) > 0) { in ieee80211_assign_link_chanctx() 1233 ieee80211_recalc_chanctx_min_def(local, new_ctx); in ieee80211_assign_link_chanctx() 1443 struct ieee80211_chanctx *new_ctx, *ctx; in ieee80211_replace_chanctx() local 1495 new_ctx = ieee80211_alloc_chanctx(local, chanreq, mode, -1); in ieee80211_replace_chanctx() 1496 if (!new_ctx) in ieee80211_replace_chanctx() [all …]
|
| H A D | main.c | 320 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 D | channel.c | 190 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 D | mt792x.h | 340 struct ieee80211_chanctx_conf *new_ctx; member
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | intel-pt-test.c | 30 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 D | subflow.c | 2046 struct mptcp_subflow_context *new_ctx; in subflow_ulp_clone() local 2054 new_ctx = subflow_create_ctx(newsk, priority); in subflow_ulp_clone() 2055 if (!new_ctx) { in subflow_ulp_clone() 2060 new_ctx->conn_finished = 1; in subflow_ulp_clone() 2061 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 2062 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 2063 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone() 2064 new_ctx->rel_write_seq = 1; in subflow_ulp_clone() 2070 new_ctx->mp_capable = 1; in subflow_ulp_clone() 2071 new_ctx->local_key = subflow_req->local_key; in subflow_ulp_clone() [all …]
|
| /linux/security/selinux/ |
| H A D | xfrm.c | 293 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 D | signal_64.c | 658 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 D | signal_32.c | 991 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/arch/powerpc/include/asm/ |
| H A D | syscalls.h | 54 struct ucontext __user *new_ctx, long ctx_size); 76 struct ucontext32 __user *new_ctx,
|
| /linux/net/bpf/ |
| H A D | test_run.c | 123 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 D | xfs_log_cil.c | 1383 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local 1394 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work() 1395 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work() 1491 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work() 1597 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work() 1598 kfree(new_ctx); in xlog_cil_push_work()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | main.c | 1389 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 D | dce100_resource.c | 941 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 D | main.c | 2001 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() 2458 vifs->new_ctx); in mt7925_switch_vif_chanctx() 2479 if (!dev->new_ctx) in mt7925_csa_work() 2488 ret = mt7925_set_roc(mvif->phy, mconf, dev->new_ctx->def.chan, in mt7925_csa_work() 2494 dev->new_ctx); in mt7925_csa_work() 2557 if (!dev->new_ctx) in mt7925_channel_switch_rx_beacon() 2563 &dev->new_ctx->def) && in mt7925_channel_switch_rx_beacon()
|
| /linux/fs/smb/client/ |
| H A D | fs_context.h | 373 int smb3_fs_context_dup(struct smb3_fs_context *new_ctx,
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 1321 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 D | mac80211.c | 2463 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/security/apparmor/ |
| H A D | lsm.c | 1193 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 D | main.c | 4876 struct ieee80211_chanctx_conf *new_ctx) in __wlcore_switch_vif_chan() argument 4879 new_ctx->def.chan->center_freq); in __wlcore_switch_vif_chan() 4884 cfg80211_get_chandef_type(&new_ctx->def)); in __wlcore_switch_vif_chan() 4897 wlvif->band = new_ctx->def.chan->band; in __wlcore_switch_vif_chan() 4899 wlvif->channel_type = cfg80211_get_chandef_type(&new_ctx->def); in __wlcore_switch_vif_chan() 4902 if (new_ctx->radar_enabled) { in __wlcore_switch_vif_chan() 4933 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 D | mac.c | 11583 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 D | mac80211_hwsim_main.c | 3464 vifs[i].new_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx() 3465 vifs[i].new_ctx->def.width, in mac80211_hwsim_switch_vif_chanctx() 3466 vifs[i].new_ctx->def.center_freq1, in mac80211_hwsim_switch_vif_chanctx() 3467 vifs[i].new_ctx->def.center_freq2); in mac80211_hwsim_switch_vif_chanctx() 3471 hwsim_check_chanctx_magic(vifs[i].new_ctx); in mac80211_hwsim_switch_vif_chanctx() 3474 hwsim_set_chanctx_magic(vifs[i].new_ctx); in mac80211_hwsim_switch_vif_chanctx()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac80211.c | 5222 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5229 vifs[0].new_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5243 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5277 vifs[0].new_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2555 static inline struct bpf_run_ctx *bpf_set_run_ctx(struct bpf_run_ctx *new_ctx) in bpf_set_run_ctx() argument 2561 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 8737 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 8778 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8780 vifs[i].new_ctx->def.width); in ath10k_mac_update_vif_chan() 8823 ret = ath10k_vdev_restart(arvif, &vifs[i].new_ctx->def); in ath10k_mac_update_vif_chan() 8923 arg->vifs[arg->next_vif].new_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()
|