Searched refs:oldv (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | hashmap.c | 57 void *oldv, *v = (void *)(long)(1024 + i); in test_hashmap_generic() local 59 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic() 67 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic() 68 if (CHECK(oldk != NULL || oldv != NULL, "check_kv", in test_hashmap_generic() 69 "unexpected k/v: %p=%p\n", oldk, oldv)) in test_hashmap_generic() 77 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 80 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic() 81 "found value is wrong: %ld\n", (long)oldv)) in test_hashmap_generic() 109 void *oldv, *v = (void *)(long)(256 + i); in test_hashmap_generic() local 117 err = hashmap__update(map, k, v, &oldk, &oldv); in test_hashmap_generic() [all …]
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | cmpxchg-xchg.h | 28 u32 oldv, newv; in __xchg_cmpxchg() local 32 oldv = READ_ONCE(*p); in __xchg_cmpxchg() 33 ret = (oldv & bitmask) >> bitoff; in __xchg_cmpxchg() 34 newv = (oldv & ~bitmask) | (x << bitoff); in __xchg_cmpxchg() 35 } while (__cmpxchg_u32(p, oldv, newv) != oldv); in __xchg_cmpxchg()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | cmpxchg.h | 102 u32 oldv, newv; in xchg_small() local 106 oldv = READ_ONCE(*p); in xchg_small() 107 ret = (oldv & bitmask) >> bitoff; in xchg_small() 108 newv = (oldv & ~bitmask) | (x << bitoff); in xchg_small() 109 } while (cmpxchg_u32(p, oldv, newv) != oldv); in xchg_small()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | cmpxchg.h | 185 u32 oldv, newv; in xchg_small() local 189 oldv = READ_ONCE(*p); in xchg_small() 190 ret = (oldv & bitmask) >> bitoff; in xchg_small() 191 newv = (oldv & ~bitmask) | (x << bitoff); in xchg_small() 192 } while (__cmpxchg_u32(p, oldv, newv) != oldv); in xchg_small()
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptbase.c | 3161 u16 oldv = le16_to_cpu(facts->Reserved_0101_FWVersion); in GetIocFacts() local 3163 ((oldv<<12) & 0xFF000000) | in GetIocFacts() 3164 ((oldv<<8) & 0x000FFF00); in GetIocFacts()
|