Lines Matching defs:root
19 static int assoc_array_subtree_iterate(const struct assoc_array_ptr *root,
31 cursor = root;
138 struct assoc_array_ptr *root = READ_ONCE(array->root); /* Address dependency. */
140 if (!root)
142 return assoc_array_subtree_iterate(root, NULL, iterator, iterator_data);
185 cursor = READ_ONCE(array->root); /* Address dependency. */
250 * key completely from the root to the shortcut's target).
343 static void assoc_array_destroy_subtree(struct assoc_array_ptr *root,
353 cursor = root;
444 assoc_array_destroy_subtree(array->root, ops);
445 array->root = NULL;
464 edit->set[0].ptr = &edit->array->root;
467 pr_devel("<--%s() = ok [no root]\n", __func__);
704 edit->set[0].ptr = &edit->array->root;
824 edit->set[0].ptr = &edit->array->root;
990 /* Allocate a root node if there isn't one yet */
1139 edit->set[1].ptr = &array->root;
1142 edit->excised_subtree = array->root;
1230 edit->set[1].ptr = &array->root;
1281 if (!array->root)
1289 edit->set[1].ptr = &array->root;
1291 edit->excised_subtree = array->root;
1373 if (edit->array->root == NULL) {
1469 if (!array->root)
1478 edit->set[0].ptr = &array->root;
1479 edit->excised_subtree = array->root;
1483 cursor = array->root;