Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
164 if (old_value) in hashmap__insert()
165 *old_value = NULL; in hashmap__insert()
172 if (old_value) in hashmap__insert()
173 *old_value = entry->value; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
232 if (old_value) in hashmap__delete()
233 *old_value = entry->value; in hashmap__delete()
Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/Linux-v5.15/drivers/xen/xen-pciback/
Dconf_space_capability.c118 u16 old_value; in pm_ctrl_write() local
121 err = pci_read_config_word(dev, offset, &old_value); in pm_ctrl_write()
128 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write()
129 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write()
217 u16 old_value; in msi_msix_flags_write() local
224 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write()
228 if (new_value == old_value) in msi_msix_flags_write()
232 (new_value ^ old_value) & ~field_config->enable_bit) in msi_msix_flags_write()
/Linux-v5.15/tools/lib/bpf/
Dhashmap.c156 const void **old_key, void **old_value) in hashmap__insert() argument
164 if (old_value) in hashmap__insert()
165 *old_value = NULL; in hashmap__insert()
172 if (old_value) in hashmap__insert()
173 *old_value = entry->value; in hashmap__insert()
221 const void **old_key, void **old_value) in hashmap__delete() argument
232 if (old_value) in hashmap__delete()
233 *old_value = entry->value; in hashmap__delete()
Dhashmap.h114 const void **old_key, void **old_value);
124 const void **old_key, void **old_value) in hashmap__set() argument
127 old_key, old_value); in hashmap__set()
132 const void **old_key, void **old_value) in hashmap__update() argument
135 old_key, old_value); in hashmap__update()
145 const void **old_key, void **old_value);
/Linux-v5.15/sound/drivers/opl4/
Dopl4_mixer.c39 u8 value, old_value; in snd_opl4_ctl_put() local
44 old_value = snd_opl4_read(opl4, reg); in snd_opl4_ctl_put()
47 return value != old_value; in snd_opl4_ctl_put()
/Linux-v5.15/fs/xfs/scrub/
Dfscounters.c286 const int64_t old_value, in xchk_fscount_within_range() argument
294 old_value); in xchk_fscount_within_range()
304 min_value = min(old_value, curr_value); in xchk_fscount_within_range()
305 max_value = max(old_value, curr_value); in xchk_fscount_within_range()
Dtrace.h639 int64_t old_value),
640 TP_ARGS(mp, expected, curr_value, old_value),
645 __field(int64_t, old_value)
651 __entry->old_value = old_value;
657 __entry->old_value)
/Linux-v5.15/drivers/mmc/host/
Dsdhci-of-esdhc.c235 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() argument
253 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() argument
266 return old_value; in esdhc_writew_fixup()
272 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup()
287 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() argument
299 return old_value; in esdhc_writeb_fixup()
310 return old_value; in esdhc_writeb_fixup()
314 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup()
316 (old_value & SDHCI_CTRL_DMA_MASK); in esdhc_writeb_fixup()
324 ret = (old_value & (~(0xff << shift))) | (value << shift); in esdhc_writeb_fixup()
/Linux-v5.15/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c453 u8 old_value, ctrl_value; in ov7660_dump_registers() local
456 m5602_read_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
466 m5602_write_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
Dm5602_po1030.c608 u8 old_value, ctrl_value; in po1030_dump_registers() local
611 m5602_read_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
621 m5602_write_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
Dm5602_ov9650.c769 u8 old_value, ctrl_value; in ov9650_dump_registers() local
772 m5602_read_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
782 m5602_write_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
Dm5602_s5k4aa.c740 u8 old_value, ctrl_value, test_value = 0xff; in s5k4aa_dump_registers() local
742 m5602_read_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
754 m5602_write_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
/Linux-v5.15/drivers/md/persistent-data/
Ddm-array.c809 void *old_value; in array_set_value() local
826 old_value = element_at(info, ab, entry); in array_set_value()
828 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value()
829 vt->dec(vt->context, old_value, 1); in array_set_value()
834 memcpy(old_value, value, info->value_type.size); in array_set_value()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4075 bool old_value, new_value; in i40e_print_input_set() local
4078 old_value = !!(old & I40E_L3_SRC_MASK); in i40e_print_input_set()
4080 if (old_value != new_value) in i40e_print_input_set()
4082 old_value ? "ON" : "OFF", in i40e_print_input_set()
4085 old_value = !!(old & I40E_L3_DST_MASK); in i40e_print_input_set()
4087 if (old_value != new_value) in i40e_print_input_set()
4089 old_value ? "ON" : "OFF", in i40e_print_input_set()
4092 old_value = !!(old & I40E_L4_SRC_MASK); in i40e_print_input_set()
4094 if (old_value != new_value) in i40e_print_input_set()
4096 old_value ? "ON" : "OFF", in i40e_print_input_set()
[all …]
/Linux-v5.15/drivers/net/wan/
Dwanxl.c493 u32 old_value = readl(card->plx + PLX_CONTROL) & ~PLX_CTL_RESET; in wanxl_reset() local
496 writel(old_value | PLX_CTL_RESET, card->plx + PLX_CONTROL); in wanxl_reset()
499 writel(old_value, card->plx + PLX_CONTROL); in wanxl_reset()
/Linux-v5.15/fs/xfs/
Dxfs_inode.c2040 xfs_agino_t old_value; in xfs_iunlink_update_bucket() local
2045 old_value = be32_to_cpu(agi->agi_unlinked[bucket_index]); in xfs_iunlink_update_bucket()
2047 old_value, new_agino); in xfs_iunlink_update_bucket()
2054 if (old_value == new_agino) { in xfs_iunlink_update_bucket()
2107 xfs_agino_t old_value; in xfs_iunlink_update_inode() local
2118 old_value = be32_to_cpu(dip->di_next_unlinked); in xfs_iunlink_update_inode()
2119 if (!xfs_verify_agino_or_null(mp, pag->pag_agno, old_value)) { in xfs_iunlink_update_inode()
2131 *old_next_agino = old_value; in xfs_iunlink_update_inode()
2132 if (old_value == next_agino) { in xfs_iunlink_update_inode()
/Linux-v5.15/sound/usb/
Dmixer_quirks.c335 int old_value = kcontrol->private_value >> 8; in snd_audigy2nx_led_put() local
340 if (value == old_value) in snd_audigy2nx_led_put()
2469 int old_value, pv, val; in snd_bbfpro_ctl_put() local
2477 old_value = (pv >> SND_BBFPRO_CTL_VAL_SHIFT) & SND_BBFPRO_CTL_VAL_MASK; in snd_bbfpro_ctl_put()
2492 if (val == old_value) in snd_bbfpro_ctl_put()
2569 u32 new_val, old_value, uvalue; in snd_bbfpro_vol_put() local
2575 old_value = kcontrol->private_value >> SND_BBFPRO_MIXER_VAL_SHIFT; in snd_bbfpro_vol_put()
2580 if (uvalue == old_value) in snd_bbfpro_vol_put()
/Linux-v5.15/net/ipv4/
Ddevinet.c2373 int old_value = *(int *)ctl->data; in devinet_conf_proc() local
2389 if ((new_value == 0) && (old_value != 0)) in devinet_conf_proc()
2393 new_value != old_value) in devinet_conf_proc()
2397 new_value != old_value) { in devinet_conf_proc()
2404 new_value != old_value) { in devinet_conf_proc()
2411 new_value != old_value) { in devinet_conf_proc()
/Linux-v5.15/drivers/ps3/
Dps3-lpm.c366 u64 old_value; in ps3_write_pm07_control() local
375 &old_value); in ps3_write_pm07_control()
/Linux-v5.15/arch/x86/kvm/
Dlapic.c2268 u64 old_value = vcpu->arch.apic_base; in kvm_lapic_set_base() local
2273 if ((old_value ^ value) & MSR_IA32_APICBASE_ENABLE) in kvm_lapic_set_base()
2280 if ((old_value ^ value) & MSR_IA32_APICBASE_ENABLE) { in kvm_lapic_set_base()
2292 if (((old_value ^ value) & X2APIC_ENABLE) && (value & X2APIC_ENABLE)) in kvm_lapic_set_base()
2295 if ((old_value ^ value) & (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) in kvm_lapic_set_base()
/Linux-v5.15/security/selinux/
Dselinuxfs.c146 int old_value, new_value; in sel_write_enforce() local
165 old_value = enforcing_enabled(state); in sel_write_enforce()
166 if (new_value != old_value) { in sel_write_enforce()
176 new_value, old_value, in sel_write_enforce()
/Linux-v5.15/arch/x86/kvm/svm/
Dsvm.c2536 unsigned long old_value, new_value; in cr_trap() local
2545 old_value = kvm_read_cr0(vcpu); in cr_trap()
2548 kvm_post_set_cr0(vcpu, old_value, new_value); in cr_trap()
2551 old_value = kvm_read_cr4(vcpu); in cr_trap()
2554 kvm_post_set_cr4(vcpu, old_value, new_value); in cr_trap()
/Linux-v5.15/drivers/nvme/host/
Dpci.c339 u16 old_value; in nvme_dbbuf_update_and_check_event() local
347 old_value = *dbbuf_db; in nvme_dbbuf_update_and_check_event()
358 if (!nvme_dbbuf_need_event(*dbbuf_ei, value, old_value)) in nvme_dbbuf_update_and_check_event()