/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
H A D | module.c | 28 unsigned long int old_value; in apply_relocate_add() local 53 old_value = *location; in apply_relocate_add() 54 *location = value + old_value; in apply_relocate_add() 57 old_value, value); in apply_relocate_add() 66 old_value = ((location[0] & 0x0000FFFF) << 16) | in apply_relocate_add() 68 value += old_value; in apply_relocate_add() 76 old_value, value); in apply_relocate_add() 82 old_value = (location[0] & 0xFFFF) << 16 | in apply_relocate_add() 84 value -= old_value; in apply_relocate_add()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | hashmap.h | 126 * through old_key and old_value to allow calling code do proper memory 131 long *old_key, long *old_value); 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 136 hashmap_cast_ptr(old_value)) 141 #define hashmap__set(map, key, value, old_key, old_value) \ 142 hashmap__insert((map), (key), (value), HASHMAP_SET, (old_key), (old_value)) 144 #define hashmap__update(map, key, value, old_key, old_value) \ 145 hashmap__insert((map), (key), (value), HASHMAP_UPDATE, (old_key), (old_value)) 150 bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value); 152 #define hashmap__delete(map, key, old_key, old_value) \ [all...] |
H A D | hashmap.c | 156 long *old_key, long *old_value) in hashmap_insert() 164 if (old_value) in hashmap_insert() 165 *old_value = 0; in hashmap_insert() 172 if (old_value) in hashmap_insert() 173 *old_value = entry->value; in hashmap_insert() 221 long *old_key, long *old_value) in hashmap_delete() 232 if (old_value) in hashmap_delete() 233 *old_value = entry->value; in hashmap_delete() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument 220 hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value) hashmap_delete() argument
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hashmap.h | 126 * through old_key and old_value to allow calling code do proper memory 131 long *old_key, long *old_value); 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ 136 hashmap_cast_ptr(old_value)) 141 #define hashmap__set(map, key, value, old_key, old_value) \ 142 hashmap__insert((map), (key), (value), HASHMAP_SET, (old_key), (old_value)) 144 #define hashmap__update(map, key, value, old_key, old_value) \ 145 hashmap__insert((map), (key), (value), HASHMAP_UPDATE, (old_key), (old_value)) 150 bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value); 152 #define hashmap__delete(map, key, old_key, old_value) \ [all...] |
H A D | hashmap.c | 156 long *old_key, long *old_value) in hashmap_insert() 164 if (old_value) in hashmap_insert() 165 *old_value = 0; in hashmap_insert() 172 if (old_value) in hashmap_insert() 173 *old_value = entry->value; in hashmap_insert() 221 long *old_key, long *old_value) in hashmap_delete() 232 if (old_value) in hashmap_delete() 233 *old_value = entry->value; in hashmap_delete() 154 hashmap_insert(struct hashmap *map, long key, long value, enum hashmap_insert_strategy strategy, long *old_key, long *old_value) hashmap_insert() argument 220 hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value) hashmap_delete() argument
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | hashmap.c | 156 const void **old_key, void **old_value) in hashmap__insert() 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() 232 if (old_value) in hashmap__delete() 233 *old_value = entry->value; in hashmap__delete() 154 hashmap__insert(struct hashmap *map, const void *key, void *value, enum hashmap_insert_strategy strategy, const void **old_key, void **old_value) hashmap__insert() argument 220 hashmap__delete(struct hashmap *map, const void *key, const void **old_key, void **old_value) hashmap__delete() argument
|
H A D | hashmap.h | 109 * through old_key and old_value to allow calling code do proper memory 114 const void **old_key, void **old_value); 124 const void **old_key, void **old_value) in hashmap__set() 127 old_key, old_value); in hashmap__set() 132 const void **old_key, void **old_value) in hashmap__update() 135 old_key, old_value); in hashmap__update() 145 const void **old_key, void **old_value); 122 hashmap__set(struct hashmap *map, const void *key, void *value, const void **old_key, void **old_value) hashmap__set() argument 130 hashmap__update(struct hashmap *map, const void *key, void *value, const void **old_key, void **old_value) hashmap__update() argument
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | hashmap.c | 156 const void **old_key, void **old_value) in hashmap__insert() 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() 232 if (old_value) in hashmap__delete() 233 *old_value = entry->value; in hashmap__delete() 154 hashmap__insert(struct hashmap *map, const void *key, void *value, enum hashmap_insert_strategy strategy, const void **old_key, void **old_value) hashmap__insert() argument 220 hashmap__delete(struct hashmap *map, const void *key, const void **old_key, void **old_value) hashmap__delete() argument
|
H A D | hashmap.h | 109 * through old_key and old_value to allow calling code do proper memory 114 const void **old_key, void **old_value); 124 const void **old_key, void **old_value) in hashmap__set() 127 old_key, old_value); in hashmap__set() 132 const void **old_key, void **old_value) in hashmap__update() 135 old_key, old_value); in hashmap__update() 145 const void **old_key, void **old_value); 122 hashmap__set(struct hashmap *map, const void *key, void *value, const void **old_key, void **old_value) hashmap__set() argument 130 hashmap__update(struct hashmap *map, const void *key, void *value, const void **old_key, void **old_value) hashmap__update() argument
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 118 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() 220 u16 old_value; in msi_msix_flags_write() local 227 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write() 231 if (new_value == old_value) in msi_msix_flags_write() 235 (new_value ^ old_value) & ~field_config->allowed_bits) in msi_msix_flags_write()
|
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 118 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() 220 u16 old_value; in msi_msix_flags_write() local 227 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write() 231 if (new_value == old_value) in msi_msix_flags_write() 235 (new_value ^ old_value) & ~field_config->allowed_bits) in msi_msix_flags_write()
|
/kernel/linux/linux-5.10/sound/drivers/opl4/ |
H A D | opl4_mixer.c | 39 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()
|
/kernel/linux/linux-6.6/sound/drivers/opl4/ |
H A D | opl4_mixer.c | 39 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 262 const char *key, *value, *old_key, *old_value; in test_hashmap_ptr_iface() local 279 err = hashmap__insert(map, "a", "apple", HASHMAP_SET, &old_key, &old_value); in test_hashmap_ptr_iface() 283 CHECK_STR("hashmap__update", old_value, "apricot"); in test_hashmap_ptr_iface() 289 err = hashmap__set(map, "b", "breadfruit", &old_key, &old_value); in test_hashmap_ptr_iface() 293 CHECK_STR("hashmap__set", old_value, "banana"); in test_hashmap_ptr_iface() 295 err = hashmap__update(map, "b", "blueberry", &old_key, &old_value); in test_hashmap_ptr_iface() 299 CHECK_STR("hashmap__update", old_value, "breadfruit"); in test_hashmap_ptr_iface() 305 if (CHECK(!hashmap__delete(map, "c", &old_key, &old_value), in test_hashmap_ptr_iface() 309 CHECK_STR("hashmap__delete", old_value, "cherry"); in test_hashmap_ptr_iface()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | fscounters.c | 248 * could have changed. We know the @old_value of the summation of the counter 259 const int64_t old_value, in xchk_fscount_within_range() 267 old_value); in xchk_fscount_within_range() 277 min_value = min(old_value, curr_value); in xchk_fscount_within_range() 278 max_value = max(old_value, curr_value); in xchk_fscount_within_range() 257 xchk_fscount_within_range( struct xfs_scrub *sc, const int64_t old_value, struct percpu_counter *counter, uint64_t expected) xchk_fscount_within_range() argument
|
H A D | trace.h | 633 int64_t old_value), 634 TP_ARGS(mp, expected, curr_value, old_value), 639 __field(int64_t, old_value) 645 __entry->old_value = old_value; 647 TP_printk("dev %d:%d expected %llu curr_value %lld old_value %lld", 651 __entry->old_value)
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | fscounters.c | 454 * could have changed. We know the @old_value of the summation of the counter 467 const int64_t old_value, in xchk_fscount_within_range() 475 old_value); in xchk_fscount_within_range() 485 min_value = min(old_value, curr_value); in xchk_fscount_within_range() 486 max_value = max(old_value, curr_value); in xchk_fscount_within_range() 465 xchk_fscount_within_range( struct xfs_scrub *sc, const int64_t old_value, struct percpu_counter *counter, uint64_t expected) xchk_fscount_within_range() argument
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | sdhci-of-esdhc.c | 223 * @old_value: 32bit eSDHC register value on spec_reg address 233 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() 251 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() 264 return old_value; in esdhc_writew_fixup() 270 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup() 285 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() 297 return old_value; in esdhc_writeb_fixup() 308 return old_value; in esdhc_writeb_fixup() 312 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup() 314 (old_value in esdhc_writeb_fixup() 232 esdhc_writel_fixup(struct sdhci_host *host, int spec_reg, u32 value, u32 old_value) esdhc_writel_fixup() argument 250 esdhc_writew_fixup(struct sdhci_host *host, int spec_reg, u16 value, u32 old_value) esdhc_writew_fixup() argument 284 esdhc_writeb_fixup(struct sdhci_host *host, int spec_reg, u8 value, u32 old_value) esdhc_writeb_fixup() argument [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | sdhci-of-esdhc.c | 230 * @old_value: 32bit eSDHC register value on spec_reg address 240 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() 258 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() 271 return old_value; in esdhc_writew_fixup() 277 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup() 292 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() 304 return old_value; in esdhc_writeb_fixup() 315 return old_value; in esdhc_writeb_fixup() 319 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup() 321 (old_value in esdhc_writeb_fixup() 239 esdhc_writel_fixup(struct sdhci_host *host, int spec_reg, u32 value, u32 old_value) esdhc_writel_fixup() argument 257 esdhc_writew_fixup(struct sdhci_host *host, int spec_reg, u16 value, u32 old_value) esdhc_writew_fixup() argument 291 esdhc_writeb_fixup(struct sdhci_host *host, int spec_reg, u8 value, u32 old_value) esdhc_writeb_fixup() argument [all...] |
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-array.c | 805 void *old_value; in array_set_value() local 822 old_value = element_at(info, ab, entry); in array_set_value() 824 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value() 825 vt->dec(vt->context, old_value); in array_set_value() 830 memcpy(old_value, value, info->value_type.size); in array_set_value()
|
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-array.c | 815 void *old_value; in array_set_value() local 832 old_value = element_at(info, ab, entry); in array_set_value() 834 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value() 835 vt->dec(vt->context, old_value, 1); in array_set_value() 840 memcpy(old_value, value, info->value_type.size); in array_set_value()
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/ |
H A D | m5602_ov7660.c | 453 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()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/m5602/ |
H A D | m5602_ov7660.c | 453 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()
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | sh_cmt.c | 252 u32 old_value = sh_cmt_read_cmstr(ch); in sh_cmt_write_cmstr() local 254 if (value != old_value) { in sh_cmt_write_cmstr() 272 u32 old_value = sh_cmt_read_cmcsr(ch); in sh_cmt_write_cmcsr() local 274 if (value != old_value) { in sh_cmt_write_cmcsr() 306 u32 old_value = ch->cmt->info->read_count(ch->ioctrl, CMCOR); in sh_cmt_write_cmcor() local 308 if (value != old_value) { in sh_cmt_write_cmcor()
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | sh_cmt.c | 251 u32 old_value = sh_cmt_read_cmstr(ch); in sh_cmt_write_cmstr() local 253 if (value != old_value) { in sh_cmt_write_cmstr() 271 u32 old_value = sh_cmt_read_cmcsr(ch); in sh_cmt_write_cmcsr() local 273 if (value != old_value) { in sh_cmt_write_cmcsr() 305 u32 old_value = ch->cmt->info->read_count(ch->ioctrl, CMCOR); in sh_cmt_write_cmcor() local 307 if (value != old_value) { in sh_cmt_write_cmcor()
|