Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/mips/mm/
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()
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()
397 unsigned long old_ctx; in add_wired_entry()
405 old_ctx = read_c0_entryhi(); in add_wired_entry()
420 write_c0_entryhi(old_ctx); in add_wired_entry()
468 unsigned long old_ctx; in add_temporary_entry() local
473 old_ctx = read_c0_entryhi(); in add_temporary_entry()
492 write_c0_entryhi(old_ctx); in add_temporary_entry()
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-v6.6/net/mac80211/
Dchan.c476 struct ieee80211_chanctx *old_ctx, in _ieee80211_change_chanctx() argument
500 ieee80211_chan_bw_change(local, old_ctx, true); in _ieee80211_change_chanctx()
522 ieee80211_chan_bw_change(local, old_ctx, false); in _ieee80211_change_chanctx()
527 struct ieee80211_chanctx *old_ctx, in ieee80211_change_chanctx() argument
530 _ieee80211_change_chanctx(local, ctx, old_ctx, chandef, NULL); in ieee80211_change_chanctx()
1263 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_link_use_reserved_reassign() local
1272 old_ctx = ieee80211_link_get_chanctx(link); in ieee80211_link_use_reserved_reassign()
1280 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign()
1297 _ieee80211_change_chanctx(local, new_ctx, old_ctx, chandef, link); in ieee80211_link_use_reserved_reassign()
1300 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_link_use_reserved_reassign()
[all …]
Ddriver-ops.c352 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
353 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
357 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
375 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
376 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
381 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
Dtrace.h1686 old_ctx->def.chan->center_freq);
1688 old_ctx->def.chan->freq_offset);
1690 old_ctx->def.width);
1692 old_ctx->def.center_freq1);
1694 old_ctx->def.freq1_offset);
1696 old_ctx->def.center_freq2);
/Linux-v6.6/security/selinux/
Dxfrm.c293 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument
298 if (!old_ctx) in selinux_xfrm_policy_clone()
301 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
/Linux-v6.6/fs/smb/client/
Dfs_context.c774 struct smb3_fs_context *old_ctx) in smb3_verify_reconfigure_ctx() argument
776 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
780 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
784 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
789 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
794 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
799 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
804 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
808 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
813 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
[all …]
Dcifsfs.c893 int flags, struct smb3_fs_context *old_ctx) in cifs_smb3_do_mount() argument
903 old_ctx->source, flags); in cifs_smb3_do_mount()
905 cifs_info("Attempting to mount %s\n", old_ctx->source); in cifs_smb3_do_mount()
917 rc = smb3_fs_context_dup(cifs_sb->ctx, old_ctx); in cifs_smb3_do_mount()
965 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
/Linux-v6.6/fs/ntfs/
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-v6.6/arch/powerpc/include/asm/
Dsyscalls.h53 long sys_swapcontext(struct ucontext __user *old_ctx,
75 long compat_sys_swapcontext(struct ucontext32 __user *old_ctx,
/Linux-v6.6/arch/powerpc/kernel/
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()
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-v6.6/security/selinux/include/
Dxfrm.h18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/Linux-v6.6/arch/mips/pci/
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-v6.6/tools/perf/arch/x86/tests/
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-v6.6/net/mptcp/
Dsubflow.c699 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument
703 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback()
1905 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local
1910 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1916 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1921 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1922 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1923 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
/Linux-v6.6/fs/
Dlibfs.c327 struct offset_ctx *old_ctx = old_dir->i_op->get_offset_ctx(old_dir); in simple_offset_rename_exchange() local
333 simple_offset_remove(old_ctx, old_dentry); in simple_offset_rename_exchange()
340 ret = simple_offset_add(old_ctx, new_dentry); in simple_offset_rename_exchange()
349 simple_offset_remove(old_ctx, new_dentry); in simple_offset_rename_exchange()
356 xa_store(&old_ctx->xa, old_index, old_dentry, GFP_KERNEL); in simple_offset_rename_exchange()
/Linux-v6.6/include/linux/
Dbpf.h1881 struct bpf_run_ctx *old_ctx = NULL; in bpf_set_run_ctx() local
1884 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1887 return old_ctx; in bpf_set_run_ctx()
1890 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument
1893 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
Dlsm_hook_defs.h361 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
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-v6.6/net/bpf/
Dtest_run.c396 struct bpf_run_ctx *old_ctx; in bpf_test_run() local
416 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run()
426 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
/Linux-v6.6/arch/sparc/mm/
Dinit_64.c769 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
804 old_ctx = mm->context.sparc64_ctx_val; in mmu_context_wrap()
805 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
806 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c5091 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
5092 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
5118 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
5124 vifs[0].old_ctx, true)) { in iwl_mvm_switch_vif_chanctx_swap()
5150 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
5164 vifs[0].old_ctx, true)) { in iwl_mvm_switch_vif_chanctx_reassign()
/Linux-v6.6/security/
Dsecurity.c4827 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
4830 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()

12