Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
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];
Dsidtab.c149 u32 capacity = SIDTAB_LEAF_ENTRIES; in sidtab_level_from_count()
184 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup()
218 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES]; in sidtab_do_lookup()
404 while (i < SIDTAB_LEAF_ENTRIES && *pos < count) { in sidtab_convert_tree()
525 for (i = 0; i < SIDTAB_LEAF_ENTRIES; i++) in sidtab_destroy_tree()