Lines Matching refs:sibs
710 unsigned char sibs = xas->xa_sibs; in xas_create_range() local
712 xas->xa_index |= ((sibs + 1UL) << shift) - 1; in xas_create_range()
714 xas->xa_offset |= sibs; in xas_create_range()
739 xas->xa_sibs = sibs; in xas_create_range()
1008 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc() local
1036 } while (sibs-- > 0); in xas_split_alloc()
1058 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split() local
1070 offset = xas->xa_offset + sibs; in xas_split()
1673 unsigned long sibs = last - first; in xas_set_range() local
1679 if (sibs < XA_CHUNK_MASK) in xas_set_range()
1681 if ((sibs == XA_CHUNK_MASK) && (offset < XA_CHUNK_MASK)) in xas_set_range()
1685 offset = sibs & XA_CHUNK_MASK; in xas_set_range()
1686 sibs >>= XA_CHUNK_SHIFT; in xas_set_range()
1691 if (offset + sibs > XA_CHUNK_MASK) in xas_set_range()
1692 sibs = XA_CHUNK_MASK - offset; in xas_set_range()
1693 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1694 sibs -= 1; in xas_set_range()
1697 xas->xa_sibs = sibs; in xas_set_range()