Lines Matching refs:head
567 static int xas_expand(struct xa_state *xas, void *head) in xas_expand() argument
574 if (!head) { in xas_expand()
580 } else if (xa_is_node(head)) { in xas_expand()
581 node = xa_to_node(head); in xas_expand()
586 while (max > max_index(head)) { in xas_expand()
595 if (xa_is_value(head)) in xas_expand()
597 RCU_INIT_POINTER(node->slots[0], head); in xas_expand()
619 if (xa_is_node(head)) { in xas_expand()
620 xa_to_node(head)->offset = 0; in xas_expand()
621 rcu_assign_pointer(xa_to_node(head)->parent, node); in xas_expand()
623 head = xa_mk_node(node); in xas_expand()
624 rcu_assign_pointer(xa->xa_head, head); in xas_expand()