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()
1053 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split() local
1065 offset = xas->xa_offset + sibs; in xas_split()
1666 unsigned long sibs = last - first; in xas_set_range() local
1672 if (sibs < XA_CHUNK_MASK) in xas_set_range()
1674 if ((sibs == XA_CHUNK_MASK) && (offset < XA_CHUNK_MASK)) in xas_set_range()
1678 offset = sibs & XA_CHUNK_MASK; in xas_set_range()
1679 sibs >>= XA_CHUNK_SHIFT; in xas_set_range()
1684 if (offset + sibs > XA_CHUNK_MASK) in xas_set_range()
1685 sibs = XA_CHUNK_MASK - offset; in xas_set_range()
1686 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1687 sibs -= 1; in xas_set_range()
1690 xas->xa_sibs = sibs; in xas_set_range()