Home
last modified time | relevance | path

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

/Linux-v6.1/security/selinux/ss/
Dsidtab.c163 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()
[all …]
Dsidtab.h32 struct sidtab_node_leaf *ptr_leaf; member