Lines Matching refs:ptr_leaf
74 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
75 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
77 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
121 if (!entry->ptr_leaf) { in sidtab_do_lookup()
123 entry->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_do_lookup()
125 if (!entry->ptr_leaf) in sidtab_do_lookup()
128 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES].context; in sidtab_do_lookup()
193 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_find_context()
385 if (!edst->ptr_leaf) { in sidtab_convert_tree()
386 edst->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_convert_tree()
388 if (!edst->ptr_leaf) in sidtab_convert_tree()
393 rc = convert->func(&esrc->ptr_leaf->entries[i].context, in sidtab_convert_tree()
394 &edst->ptr_leaf->entries[i].context, in sidtab_convert_tree()
470 struct sidtab_node_leaf *node = entry.ptr_leaf; in sidtab_destroy_tree()