Lines Matching full:low
26 uint32_t low, high;
73 bool stat64_add32_carry(Stat64 *s, uint32_t low, uint32_t high);
78 *s = (Stat64) { .low = value, .high = value >> 32, .lock = 0 }; in stat64_init()
83 uint32_t low, high; in stat64_add() local
85 low = (uint32_t) value; in stat64_add()
86 if (!low) { in stat64_add()
94 uint32_t orig = s->low; in stat64_add()
95 uint32_t result = orig + low; in stat64_add()
98 if (result < low || high) { in stat64_add()
100 if (stat64_add32_carry(s, low, high)) { in stat64_add()
110 old = qatomic_cmpxchg(&s->low, orig, result); in stat64_add()
119 uint32_t low, high; in stat64_min() local
123 low = (uint32_t) value; in stat64_min()
131 /* High 32 bits are equal. Read low after high, otherwise we in stat64_min()
137 orig_low = qatomic_read(&s->low); in stat64_min()
138 if (orig_low <= low) { in stat64_min()
159 uint32_t low, high; in stat64_max() local
163 low = (uint32_t) value; in stat64_max()
171 /* High 32 bits are equal. Read low after high, otherwise we in stat64_max()
177 orig_low = qatomic_read(&s->low); in stat64_max()
178 if (orig_low >= low) { in stat64_max()