Lines Matching refs:sibs
707 unsigned char sibs = xas->xa_sibs; in xas_create_range() local
709 xas->xa_index |= ((sibs + 1UL) << shift) - 1; in xas_create_range()
711 xas->xa_offset |= sibs; in xas_create_range()
734 xas->xa_sibs = sibs; in xas_create_range()
1003 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc() local
1031 } while (sibs-- > 0); in xas_split_alloc()
1052 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split() local
1064 offset = xas->xa_offset + sibs; in xas_split()
1665 unsigned long sibs = last - first; in xas_set_range() local
1671 if (sibs < XA_CHUNK_MASK) in xas_set_range()
1673 if ((sibs == XA_CHUNK_MASK) && (offset < XA_CHUNK_MASK)) in xas_set_range()
1677 offset = sibs & XA_CHUNK_MASK; in xas_set_range()
1678 sibs >>= XA_CHUNK_SHIFT; in xas_set_range()
1683 if (offset + sibs > XA_CHUNK_MASK) in xas_set_range()
1684 sibs = XA_CHUNK_MASK - offset; in xas_set_range()
1685 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1686 sibs -= 1; in xas_set_range()
1689 xas->xa_sibs = sibs; in xas_set_range()