Lines Matching full:high
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
84 high = value >> 32; in stat64_add()
87 if (high) { in stat64_add()
88 qatomic_add(&s->high, high); in stat64_add()
98 if (result < low || high) { in stat64_add()
99 /* If the high part is affected, take the lock. */ in stat64_add()
100 if (stat64_add32_carry(s, low, high)) { in stat64_add()
107 * the high 32 bits, so it can race just fine with stat64_add32_carry in stat64_add()
119 uint32_t low, high; in stat64_min() local
122 high = value >> 32; in stat64_min()
125 orig_high = qatomic_read(&s->high); in stat64_min()
126 if (orig_high < high) { in stat64_min()
130 if (orig_high == high) { in stat64_min()
131 /* High 32 bits are equal. Read low after high, otherwise we in stat64_min()
147 orig_high = qatomic_read(&s->high); in stat64_min()
148 if (orig_high < high) { in stat64_min()
159 uint32_t low, high; in stat64_max() local
162 high = value >> 32; in stat64_max()
165 orig_high = qatomic_read(&s->high); in stat64_max()
166 if (orig_high > high) { in stat64_max()
170 if (orig_high == high) { in stat64_max()
171 /* High 32 bits are equal. Read low after high, otherwise we in stat64_max()
187 orig_high = qatomic_read(&s->high); in stat64_max()
188 if (orig_high > high) { in stat64_max()