Home
last modified time | relevance | path

Searched refs:ptr_leaf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/security/selinux/ss/
Dsidtab.c162 if (!s->roots[0].ptr_leaf) { in sidtab_alloc_roots()
163 s->roots[0].ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_alloc_roots()
165 if (!s->roots[0].ptr_leaf) in sidtab_alloc_roots()
210 if (!entry->ptr_leaf) { in sidtab_do_lookup()
212 entry->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_do_lookup()
214 if (!entry->ptr_leaf) in sidtab_do_lookup()
217 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
387 if (!edst->ptr_leaf) { in sidtab_convert_tree()
388 edst->ptr_leaf = kzalloc(SIDTAB_NODE_ALLOC_SIZE, in sidtab_convert_tree()
390 if (!edst->ptr_leaf) in sidtab_convert_tree()
[all …]
Dsidtab.h32 struct sidtab_node_leaf *ptr_leaf; member