Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/mm/
Dtlb-r3k.c44 unsigned long old_ctx; in local_flush_tlb_from() local
46 old_ctx = read_c0_entryhi() & ASID_MASK; in local_flush_tlb_from()
54 write_c0_entryhi(old_ctx); in local_flush_tlb_from()
232 unsigned long old_ctx; in add_wired_entry() local
246 old_ctx = read_c0_entryhi() & ASID_MASK; in add_wired_entry()
257 write_c0_entryhi(old_ctx); in add_wired_entry()
269 old_ctx = read_c0_entryhi() & ASID_MASK; in add_wired_entry()
275 write_c0_entryhi(old_ctx); in add_wired_entry()
Dtlb-r4k.c54 unsigned long old_ctx; in local_flush_tlb_all() local
59 old_ctx = read_c0_entryhi(); in local_flush_tlb_all()
93 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
372 unsigned long old_ctx; in add_wired_entry()
376 old_ctx = read_c0_entryhi(); in add_wired_entry()
391 write_c0_entryhi(old_ctx); in add_wired_entry()
435 unsigned long old_ctx; in add_temporary_entry() local
440 old_ctx = read_c0_entryhi(); in add_temporary_entry()
459 write_c0_entryhi(old_ctx); in add_temporary_entry()
Dinit.c89 unsigned long old_ctx; in __kmap_pgprot() local
108 old_ctx = read_c0_entryhi(); in __kmap_pgprot()
123 write_c0_entryhi(old_ctx); in __kmap_pgprot()
142 unsigned long flags, old_ctx; in kunmap_coherent() local
145 old_ctx = read_c0_entryhi(); in kunmap_coherent()
155 write_c0_entryhi(old_ctx); in kunmap_coherent()
Dtlb-r8k.c33 unsigned long old_ctx; in local_flush_tlb_all() local
38 old_ctx = read_c0_entryhi(); in local_flush_tlb_all()
49 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
/linux-4.4.14/net/mac80211/
Dchan.c1007 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_reassign() local
1016 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_reassign()
1024 if (WARN_ON(!old_ctx)) in ieee80211_vif_use_reserved_reassign()
1039 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_vif_use_reserved_reassign()
1062 if (ieee80211_chanctx_refcount(local, old_ctx) == 0) in ieee80211_vif_use_reserved_reassign()
1063 ieee80211_free_chanctx(local, old_ctx); in ieee80211_vif_use_reserved_reassign()
1086 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_assign() local
1090 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_assign()
1096 if (WARN_ON(old_ctx)) in ieee80211_vif_use_reserved_assign()
1132 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_has_in_place_reservation() local
[all …]
Ddriver-ops.c249 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
250 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
254 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
272 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
273 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
278 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
Dtrace.h1504 old_ctx->def.chan->center_freq);
1506 old_ctx->def.width);
1508 old_ctx->def.center_freq1);
1510 old_ctx->def.center_freq2);
/linux-4.4.14/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-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ib.c128 struct amdgpu_ctx *ctx, *old_ctx; in amdgpu_ib_schedule() local
185 old_ctx = ring->current_ctx; in amdgpu_ib_schedule()
190 ring->current_ctx = old_ctx; in amdgpu_ib_schedule()
201 ring->current_ctx = old_ctx; in amdgpu_ib_schedule()
/linux-4.4.14/fs/ntfs/
Dattrib.c95 ntfs_attr_search_ctx old_ctx = { NULL, }; in ntfs_map_runlist_nolock() local
143 old_ctx = *ctx; in ntfs_map_runlist_nolock()
152 if (old_ctx.base_ntfs_ino && old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
153 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
154 put_this_page = old_ctx.ntfs_ino->page; in ntfs_map_runlist_nolock()
211 if (ctx->ntfs_ino != old_ctx.ntfs_ino) { in ntfs_map_runlist_nolock()
226 if (old_ctx.base_ntfs_ino && in ntfs_map_runlist_nolock()
227 old_ctx.ntfs_ino != in ntfs_map_runlist_nolock()
228 old_ctx.base_ntfs_ino) { in ntfs_map_runlist_nolock()
231 old_ctx.ntfs_ino); in ntfs_map_runlist_nolock()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dsignal_64.c601 int sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() argument
630 if (old_ctx != NULL) { in sys_swapcontext()
631 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
632 || setup_sigcontext(&old_ctx->uc_mcontext, regs, 0, NULL, 0, in sys_swapcontext()
634 || __copy_to_user(&old_ctx->uc_sigmask, in sys_swapcontext()
Dsignal_32.c1139 long sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() argument
1187 if (old_ctx != NULL) { in sys_swapcontext()
1198 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in sys_swapcontext()
1199 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
1201 || put_sigset_t(&old_ctx->uc_sigmask, &current->blocked) in sys_swapcontext()
1202 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in sys_swapcontext()
/linux-4.4.14/security/selinux/include/
Dxfrm.h15 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/linux-4.4.14/arch/mips/pci/
Dpci-alchemy.c76 unsigned long old_ctx; in mod_wired_entry() local
79 old_ctx = read_c0_entryhi() & 0xff; in mod_wired_entry()
87 write_c0_entryhi(old_ctx); in mod_wired_entry()
/linux-4.4.14/arch/mips/kvm/
Dtlb.c621 unsigned long old_ctx; in kvm_local_flush_tlb_all() local
626 old_ctx = read_c0_entryhi(); in kvm_local_flush_tlb_all()
640 write_c0_entryhi(old_ctx); in kvm_local_flush_tlb_all()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c1209 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local
1261 old_ctx = sc->cur_chan; in ath_chanctx_set_next()
1292 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c3599 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
3600 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3626 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
3631 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3656 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
3669 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/linux-4.4.14/include/linux/
Dlsm_hooks.h1579 int (*xfrm_policy_clone_security)(struct xfrm_sec_ctx *old_ctx,
Dsecurity.h1352 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
/linux-4.4.14/security/
Dsecurity.c1403 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
1406 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()
/linux-4.4.14/include/net/
Dmac80211.h259 struct ieee80211_chanctx_conf *old_ctx; member
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c6459 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
6461 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
6604 arg->vifs[arg->next_vif].old_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()