Lines Matching refs:ptr_leaf
163 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
164 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
166 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
211 if (!entry->ptr_leaf) { in sidtab_do_lookup()
213 entry->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_do_lookup()
215 if (!entry->ptr_leaf) in sidtab_do_lookup()
218 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
397 if (!edst->ptr_leaf) { in sidtab_convert_tree()
398 edst->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_convert_tree()
400 if (!edst->ptr_leaf) in sidtab_convert_tree()
405 rc = convert->func(&esrc->ptr_leaf->entries[i].context, in sidtab_convert_tree()
406 &edst->ptr_leaf->entries[i].context, in sidtab_convert_tree()
520 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_destroy_tree()