Lines Matching refs:ptr_leaf
164 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
165 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
167 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
212 if (!entry->ptr_leaf) { in sidtab_do_lookup()
214 entry->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_do_lookup()
216 if (!entry->ptr_leaf) in sidtab_do_lookup()
219 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
401 if (!edst->ptr_leaf) { in sidtab_convert_tree()
402 edst->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_convert_tree()
404 if (!edst->ptr_leaf) in sidtab_convert_tree()
410 &esrc->ptr_leaf->entries[i].context, in sidtab_convert_tree()
411 &edst->ptr_leaf->entries[i].context, in sidtab_convert_tree()
525 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_destroy_tree()