Lines Matching full:marks
80 return node->marks[(__force unsigned)mark]; in node_marks()
118 * xas_squash_marks() - Merge all marks to the first entry
121 * Set a mark on the first entry if any entry has it set. Clear marks on
133 unsigned long *marks = xas->xa_node->marks[mark]; in xas_squash_marks() local
134 if (find_next_bit(marks, limit, xas->xa_offset + 1) == limit) in xas_squash_marks()
136 __set_bit(xas->xa_offset, marks); in xas_squash_marks()
137 bitmap_clear(marks, xas->xa_offset + 1, xas->xa_sibs); in xas_squash_marks()
810 * Must clear the marks before setting the entry to NULL, in xas_store()
926 * xas_init_marks() - Initialise all marks for the entry
929 * Initialise all marks for the entry specified by @xas. If we're tracking
931 * marks are cleared.
955 unsigned int marks = 0; in node_get_marks() local
960 marks |= 1 << (__force unsigned int)mark; in node_get_marks()
966 return marks; in node_get_marks()
970 struct xa_node *child, unsigned int marks) in node_set_marks() argument
975 if (marks & (1 << (__force unsigned int)mark)) { in node_set_marks()
1054 unsigned int offset, marks; in xas_split() local
1063 marks = node_get_marks(node, xas->xa_offset); in xas_split()
1077 node_set_marks(node, offset, child, marks); in xas_split()
1085 node_set_marks(node, canon, NULL, marks); in xas_split()
1562 * The marks associated with @index are unaffected unless @entry is %NULL.
1704 * The marks associated with @index are unaffected unless @entry is %NULL.
2233 "array %px list %px %px marks", in xa_dump_node()
2239 pr_cont(" %lx", node->marks[i][j]); in xa_dump_node()
2291 pr_info("xarray: %px head %px flags %x marks %d %d %d\n", xa, entry, in xa_dump()