/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | pt.c | 832 u64 topa_idx, base, old; in pt_update_head() local 849 old = (local64_xchg(&buf->head, base) & in pt_update_head() 851 if (base < old) in pt_update_head() 854 local_add(base - old, &buf->data_size); in pt_update_head() 1056 * Place INT and STOP marks to prevent overwriting old data that the consumer
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 207 const struct kvm_memory_slot *old, 211 struct kvm_memory_slot *old, 280 const struct kvm_memory_slot *old, 284 struct kvm_memory_slot *old,
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | eeh.c | 50 * vibration, humidity, radioactivity or plain-old failed hardware. 1024 * remove the old EEH state. in eeh_probe_device() 1745 u16 old, bit; in eeh_debugfs_break_device() local 1817 pci_read_config_word(pdev, pos, &old); in eeh_debugfs_break_device() 1825 pci_write_config_word(pdev, pos, old & ~bit); in eeh_debugfs_break_device() 1827 pci_write_config_word(pdev, pos, old); in eeh_debugfs_break_device()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s.c | 872 const struct kvm_memory_slot *old, in kvmppc_core_prepare_memory_region() 876 return kvm->arch.kvm_ops->prepare_memory_region(kvm, old, new, change); in kvmppc_core_prepare_memory_region() 880 struct kvm_memory_slot *old, in kvmppc_core_commit_memory_region() 884 kvm->arch.kvm_ops->commit_memory_region(kvm, old, new, change); in kvmppc_core_commit_memory_region() 871 kvmppc_core_prepare_memory_region(struct kvm *kvm, const struct kvm_memory_slot *old, struct kvm_memory_slot *new, enum kvm_mr_change change) kvmppc_core_prepare_memory_region() argument 879 kvmppc_core_commit_memory_region(struct kvm *kvm, struct kvm_memory_slot *old, const struct kvm_memory_slot *new, enum kvm_mr_change change) kvmppc_core_commit_memory_region() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_mixer.c | 196 u32 old = vp_reg_read(ctx, reg_id); in vp_reg_writemask() local 198 val = (val & mask) | (old & ~mask); in vp_reg_writemask() 216 u32 old = mixer_reg_read(ctx, reg_id); in mixer_reg_writemask() local 218 val = (val & mask) | (old & ~mask); in mixer_reg_writemask()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_request.c | 502 int old; in i915_request_set_error_once() local 509 old = READ_ONCE(rq->fence.error); in i915_request_set_error_once() 511 if (fatal_error(old)) in i915_request_set_error_once() 513 } while (!try_cmpxchg(&rq->fence.error, &old, error)); in i915_request_set_error_once() 763 /* Retire our old requests in the hope that we free some */ in request_alloc_slow() 819 * old engine and seqno), the lookup is complete and reports NULL. in __i915_request_create() 1053 * for the old (pre-wrap) values do not see the much smaller in __emit_semaphore_wait() 1760 * wait upon an old swapbuffer to throttle itself to remain within a in i915_request_wait()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | vt8231.c | 551 int old = vt8231_read_value(data, VT8231_REG_FANDIV); in fan_div_store() local 586 old = (old & 0x0f) | (data->fan_div[1] << 6) | (data->fan_div[0] << 4); in fan_div_store() 587 vt8231_write_value(data, VT8231_REG_FANDIV, old); in fan_div_store()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 67 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, 972 cxgb_redirect(nr->old, nr->new, nr->neigh, in nb_callback() 1110 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, in cxgb_redirect() argument 1142 update_tcb = te->client->redirect(te->ctx, old, new, e); in cxgb_redirect()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 479 * Takes old value of BBP R47 as @reg, because callers usually have it 1176 u32 val, old; in mt7601u_bbp_set_bw() local 1187 old = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_bbp_set_bw() 1188 val = old & ~(MT_MAC_SYS_CTRL_ENABLE_TX | MT_MAC_SYS_CTRL_ENABLE_RX); in mt7601u_bbp_set_bw() 1195 mt7601u_wr(dev, MT_MAC_SYS_CTRL, old); in mt7601u_bbp_set_bw()
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | fm801.c | 287 unsigned short old, new; in snd_fm801_update_bits() local 290 old = fm801_ioread16(chip, reg); in snd_fm801_update_bits() 291 new = (old & ~mask) | value; in snd_fm801_update_bits() 292 change = old != new; in snd_fm801_update_bits()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | dso.c | 890 struct dso_cache *old; in dso_cache__populate() local 913 old = dso_cache__insert(dso, cache); in dso_cache__populate() 914 if (old) { in dso_cache__populate() 917 cache = old; in dso_cache__populate()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-timers.c | 935 // We already got the old time... in do_timer_settime() 972 struct old_itimerspec32 __user *, old) in SYSCALL_DEFINE4() 975 struct itimerspec64 *rtn = old ? &old_spec : NULL; in SYSCALL_DEFINE4() 984 if (!error && old) { in SYSCALL_DEFINE4() 985 if (put_old_itimerspec32(&old_spec, old)) in SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | seccomp.c | 2027 const char *old = old_names; in audit_actions_logged() local 2044 old = "(none)"; in audit_actions_logged() 2048 old = "?"; in audit_actions_logged() 2050 return audit_seccomp_actions_logged(new, old, !ret); in audit_actions_logged()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | readdir.c | 856 struct file *old, *realfile = od->realfile; in ovl_dir_real_file() local 874 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file() 875 if (old) { in ovl_dir_real_file() 877 realfile = old; in ovl_dir_real_file()
|
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | zone.c | 70 * @oldbuf: pointer to old data buffer 221 /* avoid to damage old records */ in psz_zone_write() 304 static int psz_move_zone(struct pstore_zone *old, struct pstore_zone *new) in psz_move_zone() argument 306 const char *data = (const char *)old->buffer->data; in psz_move_zone() 309 ret = psz_zone_write(new, FLUSH_ALL, data, buffer_datalen(old), 0); in psz_move_zone() 315 atomic_set(&old->buffer->datalen, 0); in psz_move_zone() 700 * if there are new data in zone buffer, that means the old data in psz_record_erase() 774 /* avoid destroying old data, allocate a new one */ in psz_kmsg_write_record()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_synproxy_core.c | 191 __be32 *ptr, old; in synproxy_tstamp_adjust() local 220 old = *ptr; in synproxy_tstamp_adjust() 225 old = *ptr; in synproxy_tstamp_adjust() 230 old, *ptr, false); in synproxy_tstamp_adjust()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4client.c | 417 struct nfs_client *old; in nfs4_init_client() local 428 error = nfs4_discover_server_trunking(clp, &old); in nfs4_init_client() 432 if (clp != old) { in nfs4_init_client() 443 return old; in nfs4_init_client()
|
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | bxcan.c | 199 u32 old, val; in bxcan_rmw() local 202 old = readl(addr); in bxcan_rmw() 203 val = (old & ~clear) | set; in bxcan_rmw() 204 if (val != old) in bxcan_rmw()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 67 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, 972 cxgb_redirect(nr->old, nr->new, nr->neigh, in nb_callback() 1110 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, in cxgb_redirect() argument 1142 update_tcb = te->client->redirect(te->ctx, old, new, e); in cxgb_redirect()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cadence/ |
H A D | macb.h | 758 #define MACB_BFINS(name,value,old) \ 759 (((old) & ~(((1 << MACB_##name##_SIZE) - 1) \ 771 #define GEM_BFINS(name, value, old) \ 772 (((old) & ~(((1 << GEM_##name##_SIZE) - 1) \
|
/kernel/linux/linux-6.6/fs/pstore/ |
H A D | zone.c | 70 * @oldbuf: pointer to old data buffer 217 /* avoid to damage old records */ in psz_zone_write() 300 static int psz_move_zone(struct pstore_zone *old, struct pstore_zone *new) in psz_move_zone() argument 302 const char *data = (const char *)old->buffer->data; in psz_move_zone() 305 ret = psz_zone_write(new, FLUSH_ALL, data, buffer_datalen(old), 0); in psz_move_zone() 311 atomic_set(&old->buffer->datalen, 0); in psz_move_zone() 689 * if there are new data in zone buffer, that means the old data in psz_record_erase() 761 /* avoid destroying old data, allocate a new one */ in psz_kmsg_write_record()
|
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | readdir.c | 866 struct file *old, *realfile = od->realfile; in ovl_dir_real_file() local 884 old = cmpxchg_release(&od->upperfile, NULL, realfile); in ovl_dir_real_file() 885 if (old) { in ovl_dir_real_file() 887 realfile = old; in ovl_dir_real_file()
|
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | pt.c | 848 u64 topa_idx, base, old; in pt_update_head() local 865 old = (local64_xchg(&buf->head, base) & in pt_update_head() 867 if (base < old) in pt_update_head() 870 local_add(base - old, &buf->data_size); in pt_update_head() 1072 * Place INT and STOP marks to prevent overwriting old data that the consumer
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 479 * Takes old value of BBP R47 as @reg, because callers usually have it 1182 u32 val, old; in mt7601u_bbp_set_bw() local 1193 old = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_bbp_set_bw() 1194 val = old & ~(MT_MAC_SYS_CTRL_ENABLE_TX | MT_MAC_SYS_CTRL_ENABLE_RX); in mt7601u_bbp_set_bw() 1201 mt7601u_wr(dev, MT_MAC_SYS_CTRL, old); in mt7601u_bbp_set_bw()
|
/kernel/linux/linux-6.6/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-comphy.c | 470 u32 old, new, clr = 0, set = 0; in mvebu_a3700_comphy_set_phy_selector() local 514 old = readl(lane->priv->comphy_regs + COMPHY_SELECTOR_PHY_REG); in mvebu_a3700_comphy_set_phy_selector() 515 new = (old & ~clr) | set; in mvebu_a3700_comphy_set_phy_selector() 522 lane->id, lane->mode, old, new); in mvebu_a3700_comphy_set_phy_selector()
|