| /linux-6.15/arch/mips/mm/ |
| H A D | tlb-r3k.c | 42 unsigned long old_ctx; in local_flush_tlb_from() local 44 old_ctx = read_c0_entryhi() & cpu_asid_mask(¤t_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 D | tlb-r4k.c | 57 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() 469 unsigned long old_ctx; in add_temporary_entry() local 474 old_ctx = read_c0_entryhi(); in add_temporary_entry() 493 write_c0_entryhi(old_ctx); in add_temporary_entry()
|
| H A D | init.c | 81 unsigned long old_ctx; in __kmap_pgprot() local 102 old_ctx = read_c0_entryhi(); in __kmap_pgprot() 123 write_c0_entryhi(old_ctx); in __kmap_pgprot() 144 unsigned long flags, old_ctx; in kunmap_coherent() local 147 old_ctx = read_c0_entryhi(); in kunmap_coherent() 157 write_c0_entryhi(old_ctx); in kunmap_coherent()
|
| /linux-6.15/net/mac80211/ |
| H A D | chan.c | 1347 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign() 1368 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_link_use_reserved_reassign() 1423 if (WARN_ON(old_ctx)) in ieee80211_link_use_reserved_assign() 1468 if (!old_ctx) in ieee80211_link_has_in_place_reservation() 1488 struct ieee80211_chanctx *ctx, *old_ctx; in ieee80211_chsw_switch_vifs() local 1514 vif_chsw[i].old_ctx = &old_ctx->conf; in ieee80211_chsw_switch_vifs() 1638 if (old_ctx) { in ieee80211_vif_use_reserved_switch() 1639 if (old_ctx->replace_state == in ieee80211_vif_use_reserved_switch() 1962 struct ieee80211_chanctx *old_ctx; in ieee80211_link_use_reserved_context() local 1983 if (old_ctx) in ieee80211_link_use_reserved_context() [all …]
|
| H A D | driver-ops.c | 401 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()
|
| H A D | trace.h | 1732 old_ctx->def.chan->center_freq); 1734 old_ctx->def.chan->freq_offset); 1736 old_ctx->def.width); 1738 old_ctx->def.center_freq1); 1740 old_ctx->def.freq1_offset); 1742 old_ctx->def.center_freq2);
|
| /linux-6.15/security/selinux/ |
| H A D | xfrm.c | 290 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-6.15/fs/smb/client/ |
| H A D | fs_context.c | 915 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx() 919 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx() 923 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx() 928 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx() 933 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx() 938 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx() 943 } else if (old_ctx->sectype == Kerberos) { in smb3_verify_reconfigure_ctx() 950 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx() 959 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx() 964 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) { in smb3_verify_reconfigure_ctx() [all …]
|
| H A D | cifsfs.c | 949 int flags, struct smb3_fs_context *old_ctx) in cifs_smb3_do_mount() argument 959 old_ctx->source, flags); in cifs_smb3_do_mount() 961 cifs_info("Attempting to mount %s\n", old_ctx->source); in cifs_smb3_do_mount() 973 rc = smb3_fs_context_dup(cifs_sb->ctx, old_ctx); in cifs_smb3_do_mount() 1021 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
|
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | syscalls.h | 53 long sys_swapcontext(struct ucontext __user *old_ctx, 75 long compat_sys_swapcontext(struct ucontext32 __user *old_ctx,
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | channel.c | 195 struct mt76_chanctx *old_ctx = (struct mt76_chanctx *)vifs->old_ctx->drv_priv; in mt76_switch_vif_chanctx() local 198 struct mt76_phy *old_phy = old_ctx->phy; in mt76_switch_vif_chanctx() 223 phy != old_phy && old_phy->chanctx == old_ctx) in mt76_switch_vif_chanctx()
|
| /linux-6.15/fs/btrfs/ |
| H A D | super.c | 1422 if ((!old_ctx || !btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \ 1429 if ((old_ctx && btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \ 1494 struct btrfs_fs_context old_ctx; in btrfs_reconfigure() local 1498 btrfs_info_to_ctx(fs_info, &old_ctx); in btrfs_reconfigure() 1506 ctx->mount_opt = old_ctx.mount_opt; in btrfs_reconfigure() 1519 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure() 1521 old_ctx.thread_pool_size); in btrfs_reconfigure() 1555 btrfs_emit_options(fs_info, &old_ctx); in btrfs_reconfigure() 1557 btrfs_remount_cleanup(fs_info, old_ctx.mount_opt); in btrfs_reconfigure() 1563 btrfs_ctx_to_info(fs_info, &old_ctx); in btrfs_reconfigure() [all …]
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | signal_32.c | 990 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, ¤t->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 D | signal_64.c | 657 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, ¤t->blocked, in SYSCALL_DEFINE3()
|
| /linux-6.15/security/selinux/include/ |
| H A D | xfrm.h | 18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
|
| /linux-6.15/arch/mips/pci/ |
| H A D | pci-alchemy.c | 77 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-6.15/tools/perf/arch/x86/tests/ |
| H A D | intel-pt-test.c | 248 enum intel_pt_pkt_ctx old_ctx = ctx; in test_ctx_unchanged() local 252 if (ctx != old_ctx) { in test_ctx_unchanged()
|
| /linux-6.15/fs/ |
| H A D | libfs.c | 357 struct offset_ctx *old_ctx = old_dir->i_op->get_offset_ctx(old_dir); in simple_offset_rename() local 361 simple_offset_remove(old_ctx, old_dentry); in simple_offset_rename() 388 struct offset_ctx *old_ctx = old_dir->i_op->get_offset_ctx(old_dir); in simple_offset_rename_exchange() local 394 simple_offset_remove(old_ctx, old_dentry); in simple_offset_rename_exchange() 401 ret = simple_offset_replace(old_ctx, new_dentry, old_index); in simple_offset_rename_exchange() 410 simple_offset_remove(old_ctx, new_dentry); in simple_offset_rename_exchange() 416 (void)simple_offset_replace(old_ctx, old_dentry, old_index); in simple_offset_rename_exchange()
|
| /linux-6.15/net/mptcp/ |
| H A D | subflow.c | 767 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument 771 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback() 2021 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local 2026 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone() 2032 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone() 2037 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 2038 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 2039 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 2282 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2283 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2304 if (iwl_mld_add_chanctx(hw, vifs[0].old_ctx)) { in iwl_mld_switch_vif_chanctx_swap() 2310 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_swap() 2324 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_reassign() 2337 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_reassign()
|
| /linux-6.15/include/linux/ |
| H A D | damon.h | 910 int damon_commit_ctx(struct damon_ctx *old_ctx, struct damon_ctx *new_ctx);
|
| H A D | bpf.h | 2170 struct bpf_run_ctx *old_ctx = NULL; in bpf_set_run_ctx() local 2173 old_ctx = current->bpf_ctx; in bpf_set_run_ctx() 2176 return old_ctx; in bpf_set_run_ctx() 2179 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument 2182 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | channel.c | 1227 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local 1279 old_ctx = sc->cur_chan; in ath_chanctx_set_next() 1310 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
|
| /linux-6.15/net/bpf/ |
| H A D | test_run.c | 405 struct bpf_run_ctx *old_ctx; in bpf_test_run() local 425 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run() 439 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
|
| /linux-6.15/arch/sparc/mm/ |
| H A D | init_64.c | 769 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()
|