| /linux/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 | 61 unsigned long old_ctx; in local_flush_tlb_all() local 66 old_ctx = read_c0_entryhi(); in local_flush_tlb_all() 103 write_c0_entryhi(old_ctx); in local_flush_tlb_all() 401 unsigned long old_ctx; in add_wired_entry() 409 old_ctx = read_c0_entryhi(); in add_wired_entry() 424 write_c0_entryhi(old_ctx); in add_wired_entry() 473 unsigned long old_ctx; in add_temporary_entry() local 478 old_ctx = read_c0_entryhi(); in add_temporary_entry() 497 write_c0_entryhi(old_ctx); in add_temporary_entry()
|
| H A D | init.c | 78 unsigned long old_ctx; in __kmap_pgprot() local 99 old_ctx = read_c0_entryhi(); in __kmap_pgprot() 120 write_c0_entryhi(old_ctx); in __kmap_pgprot() 141 unsigned long flags, old_ctx; in kunmap_coherent() local 144 old_ctx = read_c0_entryhi(); in kunmap_coherent() 154 write_c0_entryhi(old_ctx); in kunmap_coherent()
|
| /linux/net/mac80211/ |
| H A D | chan.c | 820 struct ieee80211_chanctx *old_ctx, in _ieee80211_change_chanctx() 859 ieee80211_chan_bw_change(local, old_ctx, false, true); in _ieee80211_change_chanctx() 899 ieee80211_chan_bw_change(local, old_ctx, false, false); in ieee80211_change_chanctx() 907 struct ieee80211_chanctx *old_ctx, 910 _ieee80211_change_chanctx(local, ctx, old_ctx, chanreq, NULL); in ieee80211_find_chanctx() 1415 struct ieee80211_chanctx *old_ctx = NULL; in ieee80211_link_unreserve_chanctx() 1429 old_ctx = ctx->replace_ctx; in ieee80211_link_unreserve_chanctx() 1442 old_ctx) == 0) in ieee80211_replace_chanctx() 1443 ieee80211_free_chanctx(sdata->local, old_ctx, in ieee80211_replace_chanctx() 1663 struct ieee80211_chanctx *old_ctx, *new_ct in ieee80211_link_use_reserved_reassign() 813 _ieee80211_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_chanctx * old_ctx,const struct ieee80211_chan_req * chanreq,struct ieee80211_link_data * rsvd_for) _ieee80211_change_chanctx() argument 900 ieee80211_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_chanctx * old_ctx,const struct ieee80211_chan_req * chanreq) ieee80211_change_chanctx() argument 1649 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_use_reserved_reassign() local 1730 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_use_reserved_assign() local 1778 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_has_in_place_reservation() local 1804 struct ieee80211_chanctx *ctx, *old_ctx; ieee80211_chsw_switch_vifs() local 1887 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; ieee80211_vif_use_reserved_switch() local 2362 struct ieee80211_chanctx *old_ctx; ieee80211_link_use_reserved_context() local [all...] |
| /linux/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/drivers/net/wireless/mediatek/mt76/ |
| H A D | channel.c | 190 struct mt76_chanctx *old_ctx, *new_ctx; in mt76_switch_vif_chanctx() local 224 old_ctx = (struct mt76_chanctx *)v->old_ctx->drv_priv; in mt76_switch_vif_chanctx() 225 old_phy = old_ctx->phy; in mt76_switch_vif_chanctx() 231 old_phy->chanctx == old_ctx && phy != old_phy) in mt76_switch_vif_chanctx()
|
| /linux/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/fs/btrfs/ |
| H A D | super.c | 1422 #define btrfs_info_if_set(fs_info, old_ctx, opt, fmt, args...) \ argument 1424 if ((!old_ctx || !btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \ 1429 #define btrfs_info_if_unset(fs_info, old_ctx, opt, fmt, args...) \ argument 1431 if ((old_ctx && btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \ 1497 struct btrfs_fs_context old_ctx; in btrfs_reconfigure() local 1501 btrfs_info_to_ctx(fs_info, &old_ctx); in btrfs_reconfigure() 1509 ctx->mount_opt = old_ctx.mount_opt; in btrfs_reconfigure() 1524 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure() 1526 old_ctx.thread_pool_size); in btrfs_reconfigure() 1560 btrfs_emit_options(fs_info, &old_ctx); in btrfs_reconfigure() [all …]
|
| /linux/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/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/security/selinux/include/ |
| H A D | xfrm.h | 18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
|
| /linux/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/net/mptcp/ |
| H A D | subflow.c | 770 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() argument 774 mptcp_subflow_tcp_fallback(sk, old_ctx); in subflow_ulp_fallback() 2056 struct mptcp_subflow_context *old_ctx = mptcp_subflow_ctx(newsk); in subflow_ulp_clone() local 2061 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone() 2067 subflow_ulp_fallback(newsk, old_ctx); in subflow_ulp_clone() 2072 new_ctx->icsk_af_ops = old_ctx->icsk_af_ops; in subflow_ulp_clone() 2073 new_ctx->tcp_state_change = old_ctx->tcp_state_change; in subflow_ulp_clone() 2074 new_ctx->tcp_error_report = old_ctx->tcp_error_report; in subflow_ulp_clone()
|
| /linux/fs/ntfs/ |
| H A D | attrib.c | 97 struct ntfs_attr_search_ctx old_ctx = { NULL, }; in ntfs_map_runlist_nolock() local 148 old_ctx = *ctx; in ntfs_map_runlist_nolock() 157 if (old_ctx.base_ntfs_ino && old_ctx.ntfs_ino != in ntfs_map_runlist_nolock() 158 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock() 159 put_this_folio = old_ctx.ntfs_ino->folio; in ntfs_map_runlist_nolock() 221 if (ctx->ntfs_ino != old_ctx.ntfs_ino) { in ntfs_map_runlist_nolock() 236 if (old_ctx.base_ntfs_ino && in ntfs_map_runlist_nolock() 237 old_ctx.ntfs_ino != old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock() 239 ctx->mrec = map_mft_record(old_ctx.ntfs_ino); in ntfs_map_runlist_nolock() 255 old_ctx.ntfs_ino = in ntfs_map_runlist_nolock() [all …]
|
| /linux/fs/smb/client/ |
| H A D | cifsfs.h | 156 struct smb3_fs_context *old_ctx);
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 2460 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2461 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2482 if (iwl_mld_add_chanctx(hw, vifs[0].old_ctx)) { in iwl_mld_switch_vif_chanctx_swap() 2488 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_swap() 2502 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_reassign() 2515 vifs[0].old_ctx)) in iwl_mld_switch_vif_chanctx_reassign()
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | channel.c | 1225 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local 1277 old_ctx = sc->cur_chan; in ath_chanctx_set_next() 1308 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 393 struct bpf_run_ctx *old_ctx; in bpf_test_run() local 413 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run() 427 bpf_reset_run_ctx(old_ctx); in bpf_test_run()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2596 struct bpf_run_ctx *old_ctx = NULL; in bpf_prog_run_array() 2599 old_ctx = current->bpf_ctx; in bpf_prog_run_array() 2602 return old_ctx; in bpf_prog_run_array() 2605 static inline void bpf_reset_run_ctx(struct bpf_run_ctx *old_ctx) in bpf_prog_run_array() 2608 current->bpf_ctx = old_ctx; in bpf_prog_run_array() 2559 struct bpf_run_ctx *old_ctx = NULL; bpf_set_run_ctx() local 2568 bpf_reset_run_ctx(struct bpf_run_ctx * old_ctx) bpf_reset_run_ctx() argument
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac80211.c | 5219 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5220 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5246 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap() 5252 vifs[0].old_ctx, true)) { in iwl_mvm_switch_vif_chanctx_swap() 5274 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign() 5288 vifs[0].old_ctx, true)) { in iwl_mvm_switch_vif_chanctx_reassign()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 4527 struct bpf_task_work_ctx *ctx, *old_ctx; in bpf_task_work_fetch_ctx() local 4541 old_ctx = cmpxchg(&twk->ctx, NULL, ctx); in bpf_task_work_fetch_ctx() 4542 if (old_ctx) { in bpf_task_work_fetch_ctx() 4548 return old_ctx; in bpf_task_work_fetch_ctx()
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim_main.c | 3462 hwsim_check_chanctx_magic(vifs[i].old_ctx); in mac80211_hwsim_switch_vif_chanctx() 3465 vifs[i].old_ctx->def.chan->center_freq, in mac80211_hwsim_switch_vif_chanctx() 3466 vifs[i].old_ctx->def.width, in mac80211_hwsim_switch_vif_chanctx() 3467 vifs[i].old_ctx->def.center_freq1, in mac80211_hwsim_switch_vif_chanctx() 3468 vifs[i].old_ctx->def.center_freq2, in mac80211_hwsim_switch_vif_chanctx() 3480 hwsim_clear_chanctx_magic(vifs[i].old_ctx); in mac80211_hwsim_switch_vif_chanctx()
|
| /linux/security/ |
| H A D | security.c | 4950 * @old_ctx: xfrm security context 4954 * the old_ctx structure. 4958 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, 4961 return call_int_hook(xfrm_policy_clone_security, old_ctx, new_ctxp); in security_xfrm_policy_clone() 4959 security_xfrm_policy_clone(struct xfrm_sec_ctx * old_ctx,struct xfrm_sec_ctx ** new_ctxp) security_xfrm_policy_clone() argument
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 2920 struct resource_context *old_ctx = &stream->ctx->dc->current_state->res_ctx; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() local 2935 pipe = &old_ctx->pipe_ctx[head_index]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer()
|