/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | tlb-r3k.c | 44 unsigned long old_ctx; in local_flush_tlb_from() local 46 old_ctx = read_c0_entryhi() & cpu_asid_mask(¤t_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()
|
H A D | tlb-r4k.c | 57 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()
|
H A D | init.c | 88 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-6.6/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 | 57 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() 397 unsigned long old_ctx; in add_wired_entry() 405 old_ctx = read_c0_entryhi(); in add_wired_entry() 420 write_c0_entryhi(old_ctx); in add_wired_entry() 468 unsigned long old_ctx; in add_temporary_entry() local 473 old_ctx = read_c0_entryhi(); in add_temporary_entry() 492 write_c0_entryhi(old_ctx); in add_temporary_entry()
|
H A D | init.c | 87 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()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | chan.c | 476 struct ieee80211_chanctx *old_ctx, in _ieee80211_change_chanctx() 500 ieee80211_chan_bw_change(local, old_ctx, true); in _ieee80211_change_chanctx() 522 ieee80211_chan_bw_change(local, old_ctx, false); in _ieee80211_change_chanctx() 527 struct ieee80211_chanctx *old_ctx, in ieee80211_change_chanctx() 530 _ieee80211_change_chanctx(local, ctx, old_ctx, chandef, NULL); in ieee80211_change_chanctx() 1263 struct ieee80211_chanctx *old_ctx, *new_ctx; in ieee80211_link_use_reserved_reassign() local 1272 old_ctx = ieee80211_link_get_chanctx(link); in ieee80211_link_use_reserved_reassign() 1280 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign() 1297 _ieee80211_change_chanctx(local, new_ctx, old_ctx, chandef, link); in ieee80211_link_use_reserved_reassign() 1300 vif_chsw[0].old_ctx in ieee80211_link_use_reserved_reassign() 474 _ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct cfg80211_chan_def *chandef, struct ieee80211_link_data *rsvd_for) _ieee80211_change_chanctx() argument 525 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct cfg80211_chan_def *chandef) ieee80211_change_chanctx() argument 1344 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_use_reserved_assign() local 1391 struct ieee80211_chanctx *old_ctx, *new_ctx; ieee80211_link_has_in_place_reservation() local 1437 struct ieee80211_chanctx *ctx, *old_ctx; ieee80211_chsw_switch_vifs() local 1521 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; ieee80211_vif_use_reserved_switch() local 1884 struct ieee80211_chanctx *old_ctx; ieee80211_link_use_reserved_context() local [all...] |
H A D | driver-ops.c | 352 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local 353 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx() 357 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx() 375 struct ieee80211_chanctx *old_ctx = in drv_switch_vif_chanctx() local 376 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx() 381 old_ctx->driver_present = false; in drv_switch_vif_chanctx()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | driver-ops.c | 290 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()
|
H A D | chan.c | 1026 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; ieee80211_vif_has_in_place_reservation() local 1197 struct ieee80211_chanctx *ctx, *old_ctx; ieee80211_chsw_switch_vifs() local 1282 struct ieee80211_chanctx *ctx, *ctx_tmp, *old_ctx; ieee80211_vif_use_reserved_switch() local 1632 struct ieee80211_chanctx *old_ctx; ieee80211_vif_use_reserved_context() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | fs_context.c | 774 struct smb3_fs_context *old_ctx, bool need_recon) in smb3_verify_reconfigure_ctx() 776 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx() 780 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx() 784 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx() 789 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx() 794 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx() 799 (!old_ctx->password || strcmp(new_ctx->password, old_ctx in smb3_verify_reconfigure_ctx() 772 smb3_verify_reconfigure_ctx(struct fs_context *fc, struct smb3_fs_context *new_ctx, struct smb3_fs_context *old_ctx, bool need_recon) smb3_verify_reconfigure_ctx() argument [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | xfrm.c | 296 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-6.6/security/selinux/ |
H A D | xfrm.c | 293 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()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | attrib.c | 81 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 in ntfs_map_runlist_nolock() [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | attrib.c | 81 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 in ntfs_map_runlist_nolock() [all...] |
/kernel/linux/linux-6.6/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,
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | subflow.c | 490 struct mptcp_subflow_context *old_ctx) in subflow_ulp_fallback() 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() 489 subflow_ulp_fallback(struct sock *sk, struct mptcp_subflow_context *old_ctx) subflow_ulp_fallback() argument
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | signal_32.c | 907 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 910 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 958 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3() 962 * old_ctx might not be 16-byte aligned, in which in COMPAT_SYSCALL_DEFINE3() 963 * case old_ctx->uc_mcontext won't be either. in COMPAT_SYSCALL_DEFINE3() 964 * Because we have the old_ctx->uc_pad2 field in COMPAT_SYSCALL_DEFINE3() 965 * before old_ctx->uc_mcontext, we need to round down in COMPAT_SYSCALL_DEFINE3() 966 * from &old_ctx->uc_mcontext to a 16-byte boundary. in COMPAT_SYSCALL_DEFINE3() 969 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3() 970 if (!access_ok(old_ctx, ctx_siz in COMPAT_SYSCALL_DEFINE3() [all...] |
H A D | signal_64.c | 635 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() 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-6.6/arch/powerpc/kernel/ |
H A D | signal_32.c | 990 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 993 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() 1041 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3() 1045 * old_ctx might not be 16-byte aligned, in which in COMPAT_SYSCALL_DEFINE3() 1046 * case old_ctx->uc_mcontext won't be either. in COMPAT_SYSCALL_DEFINE3() 1047 * Because we have the old_ctx->uc_pad2 field in COMPAT_SYSCALL_DEFINE3() 1048 * before old_ctx->uc_mcontext, we need to round down in COMPAT_SYSCALL_DEFINE3() 1049 * from &old_ctx->uc_mcontext to a 16-byte boundary. 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_siz in COMPAT_SYSCALL_DEFINE3() [all...] |
H A D | signal_64.c | 657 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() 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()
|
/kernel/linux/linux-5.10/security/selinux/include/ |
H A D | xfrm.h | 16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
|
/kernel/linux/linux-6.6/security/selinux/include/ |
H A D | xfrm.h | 18 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|