Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/mm/
Dtlb-r3k.c45 unsigned long old_ctx; in local_flush_tlb_all() local
53 old_ctx = read_c0_entryhi() & ASID_MASK; in local_flush_tlb_all()
62 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
229 unsigned long old_ctx; in add_wired_entry() local
243 old_ctx = read_c0_entryhi() & ASID_MASK; in add_wired_entry()
254 write_c0_entryhi(old_ctx); in add_wired_entry()
266 old_ctx = read_c0_entryhi() & ASID_MASK; in add_wired_entry()
272 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.c87 unsigned long old_ctx; in __kmap_pgprot() local
105 old_ctx = read_c0_entryhi(); in __kmap_pgprot()
120 write_c0_entryhi(old_ctx); in __kmap_pgprot()
139 unsigned long flags, old_ctx; in kunmap_coherent() local
142 old_ctx = read_c0_entryhi(); in kunmap_coherent()
152 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.1.27/net/mac80211/
Dchan.c982 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_reassign() local
991 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_reassign()
999 if (WARN_ON(!old_ctx)) in ieee80211_vif_use_reserved_reassign()
1012 vif_chsw[0].old_ctx = &old_ctx->conf; in ieee80211_vif_use_reserved_reassign()
1033 if (ieee80211_chanctx_refcount(local, old_ctx) == 0) in ieee80211_vif_use_reserved_reassign()
1034 ieee80211_free_chanctx(local, old_ctx); in ieee80211_vif_use_reserved_reassign()
1057 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_use_reserved_assign() local
1061 old_ctx = ieee80211_vif_get_chanctx(sdata); in ieee80211_vif_use_reserved_assign()
1067 if (WARN_ON(old_ctx)) in ieee80211_vif_use_reserved_assign()
1101 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_vif_has_in_place_reservation() local
[all …]
Ddriver-ops.h1110 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
1111 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
1115 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
1133 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local
1134 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
1139 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
Dtrace.h1472 old_ctx->def.chan->center_freq);
1474 old_ctx->def.width);
1476 old_ctx->def.center_freq1);
1478 old_ctx->def.center_freq2);
/linux-4.1.27/drivers/staging/ozwpan/
Dozusbsvc.c56 struct oz_usb_ctx *old_ctx; in oz_usb_start() local
77 old_ctx = pd->app_ctx[OZ_APPID_USB]; in oz_usb_start()
78 if (old_ctx == NULL) in oz_usb_start()
82 if (old_ctx) { in oz_usb_start()
85 usb_ctx = old_ctx; in oz_usb_start()
Dozcdev.c433 struct oz_serial_ctx *old_ctx; in oz_cdev_start() local
445 old_ctx = pd->app_ctx[OZ_APPID_SERIAL]; in oz_cdev_start()
446 if (old_ctx) { in oz_cdev_start()
/linux-4.1.27/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()
/linux-4.1.27/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.1.27/arch/powerpc/kernel/
Dsignal_64.c590 int sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() argument
619 if (old_ctx != NULL) { in sys_swapcontext()
620 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
621 || setup_sigcontext(&old_ctx->uc_mcontext, regs, 0, NULL, 0, in sys_swapcontext()
623 || __copy_to_user(&old_ctx->uc_sigmask, in sys_swapcontext()
Dsignal_32.c1134 long sys_swapcontext(struct ucontext __user *old_ctx, in sys_swapcontext() argument
1182 if (old_ctx != NULL) { in sys_swapcontext()
1193 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in sys_swapcontext()
1194 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
1196 || put_sigset_t(&old_ctx->uc_sigmask, &current->blocked) in sys_swapcontext()
1197 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in sys_swapcontext()
/linux-4.1.27/security/selinux/include/
Dxfrm.h15 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/ath/ath9k/
Dchannel.c1200 struct ath_chanctx *old_ctx; in ath_chanctx_set_next() local
1252 old_ctx = sc->cur_chan; in ath_chanctx_set_next()
1283 ath9k_chanctx_wake_queues(sc, old_ctx); in ath_chanctx_set_next()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c3511 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
3512 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3538 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
3543 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3568 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
3581 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_reassign()
/linux-4.1.27/security/
Dsecurity.c1374 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
1377 return security_ops->xfrm_policy_clone_security(old_ctx, new_ctxp); in security_xfrm_policy_clone()
Dcapability.c789 static int cap_xfrm_policy_clone_security(struct xfrm_sec_ctx *old_ctx, in cap_xfrm_policy_clone_security() argument
/linux-4.1.27/include/linux/
Dsecurity.h1724 int (*xfrm_policy_clone_security) (struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctx);
2933 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, struct xfrm_sec_ctx **new_ctxp);
/linux-4.1.27/include/net/
Dmac80211.h258 struct ieee80211_chanctx_conf *old_ctx; member