Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/mips/mm/
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()
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()
Dinit.c88 unsigned long old_ctx; in __kmap_pgprot() local
109 old_ctx = read_c0_entryhi(); in __kmap_pgprot()
130 write_c0_entryhi(old_ctx); in __kmap_pgprot()
151 unsigned long flags, old_ctx; in kunmap_coherent() local
154 old_ctx = read_c0_entryhi(); in kunmap_coherent()
164 write_c0_entryhi(old_ctx); in kunmap_coherent()
/kernel/linux/linux-5.10/net/mac80211/
Dchan.c1026 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_reassign() local
1035 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_reassign()
1043 if (WARN_ON(!old_ctx)) in ieee80211_vif_use_reserved_reassign()
1058 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_vif_use_reserved_reassign()
1081 if (ieee80211_chanctx_refcount(local, old_ctx) == 0) in ieee80211_vif_use_reserved_reassign()
1082 ieee80211_free_chanctx(local, old_ctx); in ieee80211_vif_use_reserved_reassign()
1105 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_assign() local
1109 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_assign()
1115 if (WARN_ON(old_ctx)) in ieee80211_vif_use_reserved_assign()
1151 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_has_in_place_reservation() local
[all …]
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()
Dtrace.h1617 old_ctx->def.chan->center_freq);
1619 old_ctx->def.chan->freq_offset);
1621 old_ctx->def.width);
1623 old_ctx->def.center_freq1);
1625 old_ctx->def.freq1_offset);
1627 old_ctx->def.center_freq2);
/kernel/linux/linux-5.10/security/selinux/
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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c490 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument
494 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback()
1350 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local
1355 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1361 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone()
1366 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone()
1367 new_ctx->tcp_data_ready = old_ctx->tcp_data_ready; in subflow_ulp_clone()
1368 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone()
1369 new_ctx->tcp_write_space = old_ctx->tcp_write_space; in subflow_ulp_clone()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal_32.c907 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() argument
910 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3()
958 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3()
969 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3()
970 if (!access_ok(old_ctx, ctx_size) in COMPAT_SYSCALL_DEFINE3()
972 || put_sigset_t(&old_ctx->uc_sigmask, &current->blocked) in COMPAT_SYSCALL_DEFINE3()
973 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
Dsignal_64.c635 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() argument
662 if (old_ctx != NULL) { in SYSCALL_DEFINE3()
663 if (!access_ok(old_ctx, ctx_size) in SYSCALL_DEFINE3()
664 || setup_sigcontext(&old_ctx->uc_mcontext, current, 0, NULL, 0, in SYSCALL_DEFINE3()
666 || __copy_to_user(&old_ctx->uc_sigmask, in SYSCALL_DEFINE3()
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
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()
/kernel/linux/linux-5.10/security/selinux/include/
Dxfrm.h16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/bpf/
Dtest_run.c23 struct bpf_run_ctx *old_ctx; in bpf_test_run() local
46 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run()
72 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dasm-prototypes.h89 long sys_swapcontext(struct ucontext __user *old_ctx,
/kernel/linux/linux-5.10/include/linux/
Dbpf.h1274 struct bpf_run_ctx *old_ctx; in bpf_set_run_ctx() local
1276 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1278 return old_ctx; in bpf_set_run_ctx()
1281 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_reset_run_ctx() argument
1283 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
Dlsm_hook_defs.h343 LSM_HOOK(int, 0, xfrm_policy_clone_security, struct xfrm_sec_ctx *old_ctx,
Dsecurity.h1641 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c753 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
788 old_ctx = mm->context.sparc64_ctx_val; in mmu_context_wrap()
789 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
790 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c4332 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
4333 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
4359 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
4364 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
4389 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
4402 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c2785 struct dc_state *old_ctx = dc->current_state; in dcn10_disconnect_pipes() local
2819 old_ctx->res_ctx.pipe_ctx[i].top_pipe) { in dcn10_disconnect_pipes()
2827 if (old_ctx->res_ctx.pipe_ctx[i].top_pipe->stream == context->res_ctx.pipe_ctx[j].stream && in dcn10_disconnect_pipes()
2828old_ctx->res_ctx.pipe_ctx[i].top_pipe->plane_state == context->res_ctx.pipe_ctx[j].plane_state && in dcn10_disconnect_pipes()
/kernel/linux/linux-5.10/security/
Dsecurity.c2380 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
2383 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dmac.c5095 arg->vifs[arg->next_vif].old_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter()
5118 vifs[i].old_ctx->def.chan->center_freq, in ath11k_mac_update_vif_chan()
5120 vifs[i].old_ctx->def.width, in ath11k_mac_update_vif_chan()

12