Lines Matching refs:sibs

716 	unsigned char sibs = xas->xa_sibs;  in xas_create_range()  local
718 xas->xa_index |= ((sibs + 1UL) << shift) - 1; in xas_create_range()
720 xas->xa_offset |= sibs; in xas_create_range()
745 xas->xa_sibs = sibs; in xas_create_range()
980 static inline void node_mark_slots(struct xa_node *node, unsigned int sibs, in node_mark_slots() argument
985 if (sibs == 0) in node_mark_slots()
988 for (i = 0; i < XA_CHUNK_SIZE; i += sibs + 1) in node_mark_slots()
994 struct xa_node *child, unsigned int sibs, in node_set_marks() argument
1003 node_mark_slots(child, sibs, mark); in node_set_marks()
1048 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split_alloc() local
1066 } while (sibs-- > 0); in xas_split_alloc()
1088 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_split() local
1100 offset = xas->xa_offset + sibs; in xas_split()
1177 unsigned int sibs = (1 << (order % XA_CHUNK_SHIFT)) - 1; in xas_try_split() local
1193 offset = xas->xa_offset + sibs; in xas_try_split()
1207 if (sibs || xas->xa_sibs != expected_sibs) { in xas_try_split()
1824 unsigned long sibs = last - first; in xas_set_range() local
1830 if (sibs < XA_CHUNK_MASK) in xas_set_range()
1832 if ((sibs == XA_CHUNK_MASK) && (offset < XA_CHUNK_MASK)) in xas_set_range()
1836 offset = sibs & XA_CHUNK_MASK; in xas_set_range()
1837 sibs >>= XA_CHUNK_SHIFT; in xas_set_range()
1842 if (offset + sibs > XA_CHUNK_MASK) in xas_set_range()
1843 sibs = XA_CHUNK_MASK - offset; in xas_set_range()
1844 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1845 sibs -= 1; in xas_set_range()
1848 xas->xa_sibs = sibs; in xas_set_range()