Home
last modified time | relevance | path

Searched refs:old_ctx (Results 1 – 25 of 26) sorted by relevance

12

/linux/arch/mips/mm/
H A Dtlb-r3k.c42 unsigned long old_ctx; in local_flush_tlb_from() local
44 old_ctx = read_c0_entryhi() & cpu_asid_mask(&current_cpu_data); in local_flush_tlb_from()
52 write_c0_entryhi(old_ctx); in local_flush_tlb_from()
222 unsigned long old_ctx; in add_wired_entry() local
232 old_ctx = read_c0_entryhi() & asid_mask; in add_wired_entry()
238 write_c0_entryhi(old_ctx); in add_wired_entry()
H A Dtlb-r4k.c61 unsigned long old_ctx; in local_flush_tlb_all() local
66 old_ctx = read_c0_entryhi(); in local_flush_tlb_all()
103 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
401 unsigned long old_ctx; in add_wired_entry()
409 old_ctx = read_c0_entryhi(); in add_wired_entry()
424 write_c0_entryhi(old_ctx); in add_wired_entry()
473 unsigned long old_ctx; in add_temporary_entry() local
478 old_ctx = read_c0_entryhi(); in add_temporary_entry()
497 write_c0_entryhi(old_ctx); in add_temporary_entry()
/linux/net/mac80211/
H A Dchan.c766 struct ieee80211_chanctx *old_ctx, in _ieee80211_change_chanctx() argument
806 ieee80211_chan_bw_change(local, old_ctx, false, true); in _ieee80211_change_chanctx()
838 ieee80211_chan_bw_change(local, old_ctx, false, false); in _ieee80211_change_chanctx()
843 struct ieee80211_chanctx *old_ctx, in ieee80211_change_chanctx() argument
846 _ieee80211_change_chanctx(local, ctx, old_ctx, chanreq, NULL); in ieee80211_change_chanctx()
1591 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_link_use_reserved_reassign() local
1600 old_ctx = ieee80211_link_get_chanctx(link); in ieee80211_link_use_reserved_reassign()
1608 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign()
1626 _ieee80211_change_chanctx(local, new_ctx, old_ctx, chanreq, link); in ieee80211_link_use_reserved_reassign()
1629 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_link_use_reserved_reassign()
[all …]
H A Ddriver-ops.c401 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
402 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
406 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
424 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
425 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
430 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
/linux/security/selinux/
H A Dxfrm.c290 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument
295 if (!old_ctx) in selinux_xfrm_policy_clone()
298 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
/linux/fs/smb/client/
H A Dfs_context.c930 struct smb3_fs_context *old_ctx, bool need_recon) in smb3_verify_reconfigure_ctx() argument
932 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
936 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
940 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
945 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
950 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
955 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
960 } else if (old_ctx->sectype == Kerberos) { in smb3_verify_reconfigure_ctx()
967 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
971 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
[all …]
H A Dcifsfs.c978 int flags, struct smb3_fs_context *old_ctx) in cifs_smb3_do_mount() argument
988 old_ctx->source, flags); in cifs_smb3_do_mount()
990 cifs_info("Attempting to mount %s\n", old_ctx->source); in cifs_smb3_do_mount()
1001 rc = smb3_fs_context_dup(cifs_sb->ctx, old_ctx); in cifs_smb3_do_mount()
1049 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
/linux/arch/powerpc/include/asm/
H A Dsyscalls.h53 long sys_swapcontext(struct ucontext __user *old_ctx,
75 long compat_sys_swapcontext(struct ucontext32 __user *old_ctx,
/linux/arch/powerpc/kernel/
H A Dsignal_32.c990 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() argument
993 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3()
1041 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3()
1052 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3()
1054 if (!user_write_access_begin(old_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1057 unsafe_put_sigset_t(&old_ctx->uc_sigmask, &current->blocked, failed); in COMPAT_SYSCALL_DEFINE3()
1058 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
H A Dsignal_64.c657 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() argument
684 if (old_ctx != NULL) { in SYSCALL_DEFINE3()
686 if (!user_write_access_begin(old_ctx, ctx_size)) in SYSCALL_DEFINE3()
689 unsafe_setup_sigcontext(&old_ctx->uc_mcontext, current, 0, NULL, in SYSCALL_DEFINE3()
691 unsafe_copy_to_user(&old_ctx->uc_sigmask, &current->blocked, in SYSCALL_DEFINE3()
/linux/arch/mips/pci/
H A Dpci-alchemy.c77 unsigned long old_ctx; in mod_wired_entry() local
80 old_ctx = read_c0_entryhi() & MIPS_ENTRYHI_ASID; in mod_wired_entry()
88 write_c0_entryhi(old_ctx); in mod_wired_entry()
/linux/security/selinux/include/
H A Dxfrm.h18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c248 enum intel_pt_pkt_ctx old_ctx = ctx; in test_ctx_unchanged() local
252 if (ctx != old_ctx) { in test_ctx_unchanged()
/linux/fs/ntfs/
H A Dattrib.c96 struct ntfs_attr_search_ctx old_ctx = { NULL, }; in ntfs_map_runlist_nolock() local
147 old_ctx = *ctx; in ntfs_map_runlist_nolock()
156 if (old_ctx.base_ntfs_ino && old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
157 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
158 put_this_folio = old_ctx.ntfs_ino->folio; in ntfs_map_runlist_nolock()
217 if (ctx->ntfs_ino != old_ctx.ntfs_ino) { in ntfs_map_runlist_nolock()
232 if (old_ctx.base_ntfs_ino && in ntfs_map_runlist_nolock()
233 old_ctx.ntfs_ino != old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
235 ctx->mrec = map_mft_record(old_ctx.ntfs_ino); in ntfs_map_runlist_nolock()
251 old_ctx.ntfs_ino = in ntfs_map_runlist_nolock()
[all …]
/linux/net/mptcp/
H A Dsubflow.c768 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument
772 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback()
2040 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local
2045 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
2051 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
2056 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
2057 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
2058 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c2421 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap()
2422 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap()
2443 if (iwl_mld_add_chanctx(hw, vifs[0].old_ctx)) { in iwl_mld_switch_vif_chanctx_swap()
2449 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_swap()
2463 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_reassign()
2476 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_reassign()
/linux/include/linux/
H A Ddamon.h969 int damon_commit_ctx(struct damon_ctx *old_ctx, struct damon_ctx *new_ctx);
H A Dbpf.h2427 struct bpf_run_ctx *old_ctx = NULL; in bpf_set_run_ctx() local
2430 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
2433 return old_ctx; in bpf_set_run_ctx()
2436 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument
2439 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
/linux/drivers/net/wireless/ath/ath9k/
H A Dchannel.c1225 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local
1277 old_ctx = sc->cur_chan; in ath_chanctx_set_next()
1308 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c3438 hwsim_check_chanctx_magic(vifs[i].old_ctx); in mac80211_hwsim_switch_vif_chanctx()
3441 vifs[i].old_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx()
3442 vifs[i].old_ctx->def.width, in mac80211_hwsim_switch_vif_chanctx()
3443 vifs[i].old_ctx->def.center_freq1, in mac80211_hwsim_switch_vif_chanctx()
3444 vifs[i].old_ctx->def.center_freq2, in mac80211_hwsim_switch_vif_chanctx()
3456 hwsim_clear_chanctx_magic(vifs[i].old_ctx); in mac80211_hwsim_switch_vif_chanctx()
/linux/security/
H A Dsecurity.c4959 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
4962 return call_int_hook(xfrm_policy_clone_security, old_ctx, new_ctxp); in security_xfrm_policy_clone()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2779 struct resource_context *old_ctx = &stream->ctx->dc->current_state->res_ctx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() local
2794 pipe = &old_ctx->pipe_ctx[head_index]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
/linux/include/net/
H A Dmac80211.h311 struct ieee80211_chanctx_conf *old_ctx; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c8777 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
8779 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
8922 arg->vifs[arg->next_vif].old_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c11379 arg->vifs[arg->next_vif].old_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter()
11471 vifs[i].old_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan()
11473 vifs[i].old_ctx->def.width, in ath12k_mac_update_vif_chan()
12227 ar = ath12k_get_ar_by_ctx(hw, vifs->old_ctx); in ath12k_mac_op_switch_vif_chanctx()

12