/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 591 struct old_itimerspec32 __user *old); 991 asmlinkage long sys_symlink(const char __user *old, const char __user *new); 1240 unsigned int old = current->personality; in ksys_personality() local 1245 return old; in ksys_personality()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_lib.c | 516 int old = atomic_read(&sdev->restarts); in scsi_run_queue_async() local 526 if (old && atomic_cmpxchg(&sdev->restarts, old, 0) == old) in scsi_run_queue_async() 2027 * reasons like the old IDE driver it isn't. This export allows it to safely
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | stv0910.c | 192 u8 shift, mask, old, new; in write_field() local 194 status = read_reg(state, field >> 16, &old); in write_field() 199 new = ((val << shift) & mask) | (old & ~mask); in write_field() 200 if (new == old) in write_field()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 45 /* update survey stats for the old channel before switching */ in ath_set_channel() 74 /* The most recent snapshot of channel->noisefloor for the old in ath_set_channel() 236 struct timespec64 ts, *old; in chanctx_event_delta() local 239 old = &sc->last_event_time; in chanctx_event_delta() 241 ms -= old->tv_sec * 1000 + old->tv_nsec / 1000000; in chanctx_event_delta()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 1620 __le32 *data, *old = NULL; in carl9170_update_beacon() local 1641 old = (__le32 *)cvif->beacon->data; in carl9170_update_beacon() 1682 if (old && (data[i] == old[i])) in carl9170_update_beacon()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-cgroup.c | 1790 u64 old = atomic64_read(&blkg->delay_start); in blkcg_scale_delay() local 1809 if (time_before64(old + NSEC_PER_SEC, now) && in blkcg_scale_delay() 1810 atomic64_try_cmpxchg(&blkg->delay_start, &old, now)) { in blkcg_scale_delay() 1812 u64 sub = min_t(u64, blkg->last_delay, now - old); in blkcg_scale_delay()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_lrc.c | 1897 u32 old; in lrc_update_runtime() local 1900 old = stats->runtime.last; in lrc_update_runtime() 1902 dt = stats->runtime.last - old; in lrc_update_runtime() 1908 old, stats->runtime.last, dt); in lrc_update_runtime()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_api.c | 63 struct tc_cookie *old; in tcf_set_action_cookie() local 65 old = xchg((__force struct tc_cookie **)old_cookie, new_cookie); in tcf_set_action_cookie() 66 if (old) in tcf_set_action_cookie() 67 call_rcu(&old->rcu, tcf_free_cookie_rcu); in tcf_set_action_cookie()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | lsm.c | 84 static int apparmor_cred_prepare(struct cred *new, const struct cred *old, in apparmor_cred_prepare() argument 87 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_prepare() 94 static void apparmor_cred_transfer(struct cred *new, const struct cred *old) in apparmor_cred_transfer() argument 96 set_cred_label(new, aa_get_newest_label(cred_label(old))); in apparmor_cred_transfer()
|
/kernel/linux/linux-6.6/sound/pci/ali5451/ |
H A D | ali5451.c | 836 unsigned int old, mask; in snd_ali_update_ptr() local 841 old = pchregs->data.aint; in snd_ali_update_ptr() 844 if (!(old & mask)) in snd_ali_update_ptr() 877 pchregs->data.aint = old & (~mask); in snd_ali_update_ptr()
|
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | aureon.c | 999 unsigned short new, old; in wm_adc_mute_put() local 1004 old = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_put() 1005 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put() 1006 if (new != old) { in wm_adc_mute_put()
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_expander.c | 1922 static bool dev_type_flutter(enum sas_device_type new, enum sas_device_type old) in dev_type_flutter() argument 1924 if (old == new) in dev_type_flutter() 1930 if ((old == SAS_SATA_PENDING && new == SAS_END_DEVICE) || in dev_type_flutter() 1931 (old == SAS_END_DEVICE && new == SAS_SATA_PENDING)) in dev_type_flutter() 1995 /* we always have to delete the old device when we went here */ in sas_rediscover_dev()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | seccomp.c | 2390 const char *old = old_names; in audit_actions_logged() local 2407 old = "(none)"; in audit_actions_logged() 2411 old = "?"; in audit_actions_logged() 2413 return audit_seccomp_actions_logged(new, old, !ret); in audit_actions_logged()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 76 struct ip_vs_dest_dst *old; in __ip_vs_dst_set() local 78 old = rcu_dereference_protected(dest->dest_dst, in __ip_vs_dst_set() 87 if (old) in __ip_vs_dst_set() 88 call_rcu(&old->rcu_head, ip_vs_dest_dst_rcu_free); in __ip_vs_dst_set() 371 /* skb to local stack, preserve old route */ in __ip_vs_get_out_rt() 533 /* skb to local stack, preserve old route */ in __ip_vs_get_out_rt_v6() 619 * matches against an old socket (particularly a TIME-WAIT socket). This 927 * values should be, so that we won't need to look at the old ip header 976 /* fix old IP header checksum */ in ip_vs_prepare_tunneled_skb()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | addrconf.c | 855 int old; in addrconf_fixup_forwarding() local 861 old = *p; in addrconf_fixup_forwarding() 865 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 885 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 890 } else if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 923 int old; in addrconf_fixup_linkdown() local 929 old = *p; in addrconf_fixup_linkdown() 933 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown() 946 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown() 4698 /* delete old on in modify_prefix_route() 6218 int old; addrconf_disable_ipv6() local 6272 int old, new; addrconf_sysctl_proxy_ndp() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | addrconf.c | 878 int old; in addrconf_fixup_forwarding() local 884 old = *p; in addrconf_fixup_forwarding() 888 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 908 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 913 } else if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 946 int old; in addrconf_fixup_linkdown() local 952 old = *p; in addrconf_fixup_linkdown() 956 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown() 969 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown() 4766 /* delete old on in modify_prefix_route() 6333 int old; addrconf_disable_ipv6() local 6387 int old, new; addrconf_sysctl_proxy_ndp() local [all...] |
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | gmap.c | 453 /* Remove old translation */ in gmap_map_segment() 536 static void gmap_pmdp_xchg(struct gmap *gmap, pmd_t *old, pmd_t new, 2822 struct page *old; in s390_unlist_old_asce() local 2824 old = virt_to_page(gmap->table); in s390_unlist_old_asce() 2826 list_del(&old->lru); in s390_unlist_old_asce() 2832 * the old asce has been removed from the list, and therefore it in s390_unlist_old_asce() 2841 INIT_LIST_HEAD(&old->lru); in s390_unlist_old_asce() 2855 * In any case, the old ASCE is always removed from the gmap CRST list. 2879 * The caller has to deal with the old ASCE, but here we make sure in s390_replace_asce()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | verbs.c | 376 * @old: Pointer to existing ah_attr which needs to be replaced. 377 * old is assumed to be valid or zero'd 380 * rdma_replace_ah_attr() first releases any reference in the old ah_attr if 381 * old the ah_attr is valid; after that it copies the new attribute and holds 384 void rdma_replace_ah_attr(struct rdma_ah_attr *old, in rdma_replace_ah_attr() argument 387 rdma_destroy_ah_attr(old); in rdma_replace_ah_attr() 388 *old = *new; in rdma_replace_ah_attr() 389 if (old->grh.sgid_attr) in rdma_replace_ah_attr() 390 rdma_hold_gid_attr(old->grh.sgid_attr); in rdma_replace_ah_attr()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | devinet.c | 1485 char old[IFNAMSIZ], *dot; in inetdev_changename() local 1487 memcpy(old, ifa->ifa_label, IFNAMSIZ); in inetdev_changename() 1491 dot = strchr(old, ':'); in inetdev_changename() 1493 sprintf(old, ":%d", named); in inetdev_changename() 1494 dot = old; in inetdev_changename()
|
H A D | tcp_ipv4.c | 374 * clear that the old packet has been in tcp_v4_mtu_reduced() 1042 static bool better_md5_match(struct tcp_md5sig_key *old, struct tcp_md5sig_key *new) in better_md5_match() argument 1044 if (!old) in better_md5_match() 1048 if (old->l3index && new->l3index == 0) in better_md5_match() 1050 if (old->l3index == 0 && new->l3index) in better_md5_match() 1053 return old->prefixlen < new->prefixlen; in better_md5_match() 1167 * but old key->key[], this is the reason we use __GFP_ZERO in tcp_md5_do_add()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | gtt.c | 1375 gvt_vdbg_mm("destroy old shadow entry, type %d, index %lu, value %llx\n", in ppgtt_handle_guest_entry_removal() 1452 struct intel_gvt_gtt_entry old, new; in sync_oos_page() local 1459 old.type = new.type = get_entry_type(spt->guest_page.type); in sync_oos_page() 1460 old.val64 = new.val64 = 0; in sync_oos_page() 1464 ops->get_entry(oos_page->mem, &old, index, false, 0, vgpu); in sync_oos_page() 1468 if (old.val64 == new.val64 in sync_oos_page() 1629 * Adding the new entry first and then removing the old one, that can in ppgtt_handle_guest_write_page_table() 2832 * @invalidate_old: invalidate old entries
|
/kernel/linux/linux-6.6/arch/x86/net/ |
H A D | bpf_jit_comp.c | 1588 /* Load old value */ in do_jit() 2934 struct bpf_prog *new, struct bpf_prog *old) in bpf_arch_poke_desc_update() 2939 old_bypass_addr = old ? NULL : poke->bypass_addr; in bpf_arch_poke_desc_update() 2940 old_addr = old ? (u8 *)old->bpf_func + poke->adj_off : NULL; in bpf_arch_poke_desc_update() 2953 if (!old) { in bpf_arch_poke_desc_update() 2933 bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke, struct bpf_prog *new, struct bpf_prog *old) bpf_arch_poke_desc_update() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | verbs.c | 370 * @old: Pointer to existing ah_attr which needs to be replaced. 371 * old is assumed to be valid or zero'd 374 * rdma_replace_ah_attr() first releases any reference in the old ah_attr if 375 * old the ah_attr is valid; after that it copies the new attribute and holds 378 void rdma_replace_ah_attr(struct rdma_ah_attr *old, in rdma_replace_ah_attr() argument 381 rdma_destroy_ah_attr(old); in rdma_replace_ah_attr() 382 *old = *new; in rdma_replace_ah_attr() 383 if (old->grh.sgid_attr) in rdma_replace_ah_attr() 384 rdma_hold_gid_attr(old->grh.sgid_attr); in rdma_replace_ah_attr()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | gtt.c | 1330 gvt_vdbg_mm("destroy old shadow entry, type %d, index %lu, value %llx\n", in ppgtt_handle_guest_entry_removal() 1407 struct intel_gvt_gtt_entry old, new; in sync_oos_page() local 1414 old.type = new.type = get_entry_type(spt->guest_page.type); in sync_oos_page() 1415 old.val64 = new.val64 = 0; in sync_oos_page() 1419 ops->get_entry(oos_page->mem, &old, index, false, 0, vgpu); in sync_oos_page() 1423 if (old.val64 == new.val64 in sync_oos_page() 1584 * Adding the new entry first and then removing the old one, that can in ppgtt_handle_guest_write_page_table() 2779 * @invalidate_old: invalidate old entries
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | devinet.c | 1509 char old[IFNAMSIZ], *dot; in inetdev_changename() local 1511 memcpy(old, ifa->ifa_label, IFNAMSIZ); in inetdev_changename() 1515 dot = strchr(old, ':'); in inetdev_changename() 1517 sprintf(old, ":%d", named); in inetdev_changename() 1518 dot = old; in inetdev_changename()
|