Searched refs:XA_CHUNK_MASK (Results 1 - 2 of 2) sorted by relevance

/linux-master/lib/
H A Dxarray.c146 return (index >> node->shift) & XA_CHUNK_MASK;
158 xas->xa_index &= ~XA_CHUNK_MASK << shift;
195 if ((xas->xa_index >> xa_to_node(entry)->shift) > XA_CHUNK_MASK)
720 if (xas->xa_index <= (index | XA_CHUNK_MASK))
832 if (offset == XA_CHUNK_MASK)
1254 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)) {
1255 xas->xa_offset = ((xas->xa_index - 1) & XA_CHUNK_MASK) + 1;
1423 } else if (xas->xa_offset == XA_CHUNK_MASK) {
1672 unsigned int offset = XA_CHUNK_MASK;
1676 while ((first & XA_CHUNK_MASK)
[all...]
/linux-master/include/linux/
H A Dxarray.h1147 #define XA_CHUNK_MASK (XA_CHUNK_SIZE - 1) macro
1594 offset = (xas->xa_index >> node->shift) & XA_CHUNK_MASK;
1635 xas->xa_offset = (index >> shift) & XA_CHUNK_MASK;
1694 xas->xa_offset != (xas->xa_index & XA_CHUNK_MASK)))
1700 if (unlikely(xas->xa_offset == XA_CHUNK_MASK))
1756 xas->xa_index = (xas->xa_index & ~XA_CHUNK_MASK) + offset;
1878 xas->xa_offset == XA_CHUNK_MASK))

Completed in 225 milliseconds