Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/mips/mm/
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()
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()
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-6.3-rc2/net/mac80211/
A Dchan.c1256 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign()
1276 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_link_use_reserved_reassign()
1301 ieee80211_free_chanctx(local, old_ctx); in ieee80211_link_use_reserved_reassign()
1330 if (WARN_ON(old_ctx)) in ieee80211_link_use_reserved_assign()
1374 if (!old_ctx) in ieee80211_link_has_in_place_reservation()
1440 vif_chsw[i].old_ctx = &old_ctx->conf; in ieee80211_chsw_switch_vifs()
1570 if (old_ctx) { in ieee80211_vif_use_reserved_switch()
1571 if (old_ctx->replace_state == in ieee80211_vif_use_reserved_switch()
1860 struct ieee80211_chanctx *old_ctx; in ieee80211_link_use_reserved_context() local
1882 if (old_ctx) in ieee80211_link_use_reserved_context()
[all …]
A Ddriver-ops.c351 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
352 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
356 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
374 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
375 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
380 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
A Dtrace.h1677 old_ctx->def.chan->center_freq);
1679 old_ctx->def.chan->freq_offset);
1681 old_ctx->def.width);
1683 old_ctx->def.center_freq1);
1685 old_ctx->def.freq1_offset);
1687 old_ctx->def.center_freq2);
/linux-6.3-rc2/security/selinux/
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-6.3-rc2/fs/cifs/
A Dfs_context.c730 struct smb3_fs_context *old_ctx) in smb3_verify_reconfigure_ctx() argument
732 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
736 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
740 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
745 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
750 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
755 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
760 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
764 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
769 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
[all …]
A Dcifsfs.c866 int flags, struct smb3_fs_context *old_ctx) in cifs_smb3_do_mount() argument
879 cifs_dbg(FYI, "Devname: %s flags: %d\n", old_ctx->UNC, flags); in cifs_smb3_do_mount()
881 cifs_info("Attempting to mount %s\n", old_ctx->UNC); in cifs_smb3_do_mount()
894 rc = smb3_fs_context_dup(cifs_sb->ctx, old_ctx); in cifs_smb3_do_mount()
944 root = cifs_get_root(cifs_sb ? cifs_sb->ctx : old_ctx, sb); in cifs_smb3_do_mount()
/linux-6.3-rc2/fs/ntfs/
A Dattrib.c129 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()
213 old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
217 old_ctx.ntfs_ino); in ntfs_map_runlist_nolock()
234 old_ctx.ntfs_ino = in ntfs_map_runlist_nolock()
235 old_ctx. in ntfs_map_runlist_nolock()
245 ((u8*)old_ctx.attr - in ntfs_map_runlist_nolock()
246 (u8*)old_ctx.mrec)); in ntfs_map_runlist_nolock()
247 old_ctx.mrec = ctx->mrec; in ntfs_map_runlist_nolock()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dsyscalls.h53 long sys_swapcontext(struct ucontext __user *old_ctx,
75 long compat_sys_swapcontext(struct ucontext32 __user *old_ctx,
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsignal_32.c987 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() argument
990 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3()
1038 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3()
1049 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3()
1051 if (!user_write_access_begin(old_ctx, ctx_size)) in COMPAT_SYSCALL_DEFINE3()
1054 unsafe_put_sigset_t(&old_ctx->uc_sigmask, &current->blocked, failed); in COMPAT_SYSCALL_DEFINE3()
1055 unsafe_put_user(to_user_ptr(mctx), &old_ctx->uc_regs, failed); in COMPAT_SYSCALL_DEFINE3()
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-6.3-rc2/security/selinux/include/
A Dxfrm.h18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/linux-6.3-rc2/arch/mips/pci/
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-6.3-rc2/tools/perf/arch/x86/tests/
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-6.3-rc2/net/mptcp/
A Dsubflow.c702 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument
706 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback()
1948 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local
1953 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1959 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1964 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1965 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1966 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
/linux-6.3-rc2/include/linux/
A Dbpf.h1730 struct bpf_run_ctx *old_ctx = NULL; in bpf_set_run_ctx() local
1733 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1736 return old_ctx; in bpf_set_run_ctx()
1739 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument
1742 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
A Dlsm_hook_defs.h359 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
/linux-6.3-rc2/net/bpf/
A Dtest_run.c383 struct bpf_run_ctx *old_ctx; in bpf_test_run() local
403 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run()
413 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
/linux-6.3-rc2/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-6.3-rc2/arch/sparc/mm/
A Dinit_64.c755 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
790 old_ctx = mm->context.sparc64_ctx_val; in mmu_context_wrap()
791 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
792 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dmac80211.c4510 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
4511 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4537 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
4542 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4567 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
4580 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/linux-6.3-rc2/security/
A Dsecurity.c2536 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
2539 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_resource.c2567 struct resource_context *old_ctx = &stream->ctx->dc->current_state->res_ctx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() local
2580 pipe = &old_ctx->pipe_ctx[head_index]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()

Completed in 82 milliseconds

12