Lines Matching refs:roots
38 memset(s->roots, 0, sizeof(s->roots));
164 if (!s->roots[0].ptr_leaf) {
165 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE,
167 if (!s->roots[0].ptr_leaf)
171 if (!s->roots[l].ptr_inner) {
172 s->roots[l].ptr_inner = kzalloc(SIDTAB_NODE_ALLOC_SIZE,
174 if (!s->roots[l].ptr_inner)
176 s->roots[l].ptr_inner->entries[0] = s->roots[l - 1];
191 /* allocate roots if needed */
196 entry = &s->roots[level];
462 rc = sidtab_convert_tree(¶ms->target->roots[level],
463 &s->roots[level], &pos, count, level, params);
545 while (level && !s->roots[level].ptr_inner)
548 sidtab_destroy_tree(s->roots[level], level);