Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/ss/
H A Dsidtab.h44 #define SIDTAB_LEAF_ENTRIES \ macro
51 DIV_ROUND_UP(SIDTAB_MAX_BITS - size_to_shift(SIDTAB_LEAF_ENTRIES), \
55 struct sidtab_entry entries[SIDTAB_LEAF_ENTRIES];
H A Dsidtab.c150 u32 capacity = SIDTAB_LEAF_ENTRIES; in sidtab_level_from_count()
185 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup()
219 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
408 while (i < SIDTAB_LEAF_ENTRIES && *pos < count) { in sidtab_convert_tree()
530 for (i = 0; i < SIDTAB_LEAF_ENTRIES; i++) in sidtab_destroy_tree()