Lines Matching defs:mask
53 uint64_t mask;
66 * mask(max) is 2 ** 64 - 1, and half is 2 ** 63.
68 * 0 half mask
76 * have passed the 'mask' point while the other one didn't. In this
80 * If we shift the smaller value by adding 'mask' to it,
89 after(uint64_t n1, uint64_t n2, uint64_t mask)
103 half = 1 + (mask >> 1);
176 q->mask = wide_nums ? ~(uint64_t)0 : 0xffffffffUL;
181 q->elem[q->start] = ((uint64_t)0 - 1) & q->mask;
206 seqnum &= q->mask;
210 expected = (QELEM(q,q->start+q->length-1)+1) & q->mask;
219 if (after(seqnum, expected, q->mask)) {
230 if (after(QELEM(q,q->start), seqnum, q->mask)) {
247 if (after(seqnum, QELEM(q,i), q->mask) &&
248 after(QELEM(q,i+1), seqnum, q->mask)) {