Lines Matching refs:roots
37 memset(s->roots, 0, sizeof(s->roots));
163 if (!s->roots[0].ptr_leaf) {
164 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE,
166 if (!s->roots[0].ptr_leaf)
170 if (!s->roots[l].ptr_inner) {
171 s->roots[l].ptr_inner = kzalloc(SIDTAB_NODE_ALLOC_SIZE,
173 if (!s->roots[l].ptr_inner)
175 s->roots[l].ptr_inner->entries[0] = s->roots[l - 1];
190 /* allocate roots if needed */
195 entry = &s->roots[level];
457 rc = sidtab_convert_tree(¶ms->target->roots[level],
458 &s->roots[level], &pos, count, level, params);
540 while (level && !s->roots[level].ptr_inner)
543 sidtab_destroy_tree(s->roots[level], level);