Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/ss/
Dsidtab.h46 #define SIDTAB_LEAF_ENTRIES \ macro
53 DIV_ROUND_UP(SIDTAB_MAX_BITS - size_to_shift(SIDTAB_LEAF_ENTRIES), \
57 struct sidtab_entry entries[SIDTAB_LEAF_ENTRIES];
Dsidtab.c153 u32 capacity = SIDTAB_LEAF_ENTRIES; in sidtab_level_from_count()
188 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup()
222 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
410 while (i < SIDTAB_LEAF_ENTRIES && *pos < count) { in sidtab_convert_tree()
535 for (i = 0; i < SIDTAB_LEAF_ENTRIES; i++) in sidtab_destroy_tree()