Home
last modified time | relevance | path

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

12

/linux-5.15/arch/mips/mm/
H A Dtlb-r3k.c44 unsigned long old_ctx; in local_flush_tlb_from() local
46 old_ctx = read_c0_entryhi() & cpu_asid_mask(&current_cpu_data); in local_flush_tlb_from()
54 write_c0_entryhi(old_ctx); in local_flush_tlb_from()
224 unsigned long old_ctx; in add_wired_entry() local
238 old_ctx = read_c0_entryhi() & asid_mask; in add_wired_entry()
249 write_c0_entryhi(old_ctx); in add_wired_entry()
261 old_ctx = read_c0_entryhi() & asid_mask; in add_wired_entry()
267 write_c0_entryhi(old_ctx); in add_wired_entry()
H A Dtlb-r4k.c57 unsigned long old_ctx; in local_flush_tlb_all() local
62 old_ctx = read_c0_entryhi(); in local_flush_tlb_all()
99 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
389 unsigned long old_ctx; in add_wired_entry()
397 old_ctx = read_c0_entryhi(); in add_wired_entry()
412 write_c0_entryhi(old_ctx); in add_wired_entry()
460 unsigned long old_ctx; in add_temporary_entry() local
465 old_ctx = read_c0_entryhi(); in add_temporary_entry()
484 write_c0_entryhi(old_ctx); in add_temporary_entry()
H A Dinit.c87 unsigned long old_ctx; in __kmap_pgprot() local
108 old_ctx = read_c0_entryhi(); in __kmap_pgprot()
129 write_c0_entryhi(old_ctx); in __kmap_pgprot()
150 unsigned long flags, old_ctx; in kunmap_coherent() local
153 old_ctx = read_c0_entryhi(); in kunmap_coherent()
163 write_c0_entryhi(old_ctx); in kunmap_coherent()
/linux-5.15/net/mac80211/
H A Dchan.c415 struct ieee80211_chanctx *old_ctx, in ieee80211_change_chanctx() argument
437 ieee80211_chan_bw_change(local, old_ctx, true); in ieee80211_change_chanctx()
459 ieee80211_chan_bw_change(local, old_ctx, false); in ieee80211_change_chanctx()
1120 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_reassign() local
1129 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_reassign()
1137 if (WARN_ON(!old_ctx)) in ieee80211_vif_use_reserved_reassign()
1154 ieee80211_change_chanctx(local, new_ctx, old_ctx, chandef); in ieee80211_vif_use_reserved_reassign()
1157 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_vif_use_reserved_reassign()
1180 if (ieee80211_chanctx_refcount(local, old_ctx) == 0) in ieee80211_vif_use_reserved_reassign()
1181 ieee80211_free_chanctx(local, old_ctx); in ieee80211_vif_use_reserved_reassign()
[all …]
A Ddriver-ops.c290 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
291 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
295 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
313 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
314 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
319 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
H A Dtrace.h1638 old_ctx->def.chan->center_freq);
1640 old_ctx->def.chan->freq_offset);
1642 old_ctx->def.width);
1644 old_ctx->def.center_freq1);
1646 old_ctx->def.freq1_offset);
1648 old_ctx->def.center_freq2);
/linux-5.15/security/selinux/
H A Dxfrm.c296 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument
301 if (!old_ctx) in selinux_xfrm_policy_clone()
304 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
/linux-5.15/fs/cifs/
A Dfs_context.c682 struct smb3_fs_context *old_ctx) in smb3_verify_reconfigure_ctx() argument
684 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
688 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
692 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
697 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
702 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
707 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
712 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
717 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
722 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) { in smb3_verify_reconfigure_ctx()
H A Dcifsfs.c816 int flags, struct smb3_fs_context *old_ctx) in cifs_smb3_do_mount() argument
829 cifs_dbg(FYI, "Devname: %s flags: %d\n", old_ctx->UNC, flags); in cifs_smb3_do_mount()
831 cifs_info("Attempting to mount %s\n", old_ctx->UNC); in cifs_smb3_do_mount()
844 rc = smb3_fs_context_dup(cifs_sb->ctx, old_ctx); in cifs_smb3_do_mount()
900 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
/linux-5.15/fs/ntfs/
H A Dattrib.c81 ntfs_attr_search_ctx old_ctx = { NULL, }; in ntfs_map_runlist_nolock() local
129 old_ctx = *ctx; in ntfs_map_runlist_nolock()
138 if (old_ctx.base_ntfs_ino && old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
139 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
140 put_this_page = old_ctx.ntfs_ino->page; in ntfs_map_runlist_nolock()
197 if (ctx->ntfs_ino != old_ctx.ntfs_ino) { in ntfs_map_runlist_nolock()
212 if (old_ctx.base_ntfs_ino && in ntfs_map_runlist_nolock()
213 old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
214 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
217 old_ctx.ntfs_ino); in ntfs_map_runlist_nolock()
[all …]
/linux-5.15/arch/powerpc/kernel/
H A Dsignal_32.c977 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() argument
980 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3()
1028 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3()
1039 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3()
1041 if (!user_write_access_begin(old_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1044 unsafe_put_sigset_t(&old_ctx->uc_sigmask, &current->blocked, failed); in COMPAT_SYSCALL_DEFINE3()
1045 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
H A Dsignal_64.c649 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() argument
676 if (old_ctx != NULL) { in SYSCALL_DEFINE3()
678 if (!user_write_access_begin(old_ctx, ctx_size)) in SYSCALL_DEFINE3()
681 unsafe_setup_sigcontext(&old_ctx->uc_mcontext, current, 0, NULL, in SYSCALL_DEFINE3()
683 unsafe_copy_to_user(&old_ctx->uc_sigmask, &current->blocked, in SYSCALL_DEFINE3()
/linux-5.15/tools/perf/arch/x86/tests/
A Dintel-pt-pkt-decoder-test.c232 enum intel_pt_pkt_ctx old_ctx = ctx; in test_ctx_unchanged() local
236 if (ctx != old_ctx) { in test_ctx_unchanged()
/linux-5.15/net/mptcp/
A Dsubflow.c591 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument
595 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback()
1707 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local
1712 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1718 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1723 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1724 new_ctx->tcp_data_ready = old_ctx->tcp_data_ready; in subflow_ulp_clone()
1725 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1726 new_ctx->tcp_write_space = old_ctx->tcp_write_space; in subflow_ulp_clone()
1727 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
/linux-5.15/security/selinux/include/
H A Dxfrm.h16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/linux-5.15/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-5.15/arch/powerpc/include/asm/
A Dasm-prototypes.h60 long sys_swapcontext(struct ucontext __user *old_ctx,
/linux-5.15/include/linux/
A Dbpf.h1167 struct bpf_run_ctx *old_ctx = NULL; in bpf_set_run_ctx() local
1170 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1173 return old_ctx; in bpf_set_run_ctx()
1176 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument
1179 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
A Dlsm_hook_defs.h350 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
H A Dsecurity.h1677 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
/linux-5.15/net/bpf/
A Dtest_run.c93 struct bpf_run_ctx *old_ctx; in bpf_test_run() local
113 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run()
121 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
/linux-5.15/drivers/net/wireless/ath/ath9k/
A Dchannel.c1232 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local
1284 old_ctx = sc->cur_chan; in ath_chanctx_set_next()
1315 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
/linux-5.15/arch/sparc/mm/
H A Dinit_64.c754 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
789 old_ctx = mm->context.sparc64_ctx_val; in mmu_context_wrap()
790 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
791 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
/linux-5.15/drivers/net/wireless/intel/iwlwifi/mvm/
A Dmac80211.c4301 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
4302 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4328 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
4333 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4358 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
4371 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/linux-5.15/security/
H A Dsecurity.c2429 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
2432 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()

12