Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dsidtab.h40 #define SIDTAB_LEAF_ENTRIES \ macro
47 DIV_ROUND_UP(SIDTAB_MAX_BITS - size_to_shift(SIDTAB_LEAF_ENTRIES), \
51 struct sidtab_entry_leaf entries[SIDTAB_LEAF_ENTRIES];
Dsidtab.c60 u32 capacity = SIDTAB_LEAF_ENTRIES; in sidtab_level_from_count()
94 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup()
128 return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES].context; in sidtab_do_lookup()
196 while (i < SIDTAB_LEAF_ENTRIES && *pos < count) { in sidtab_find_context()
392 while (i < SIDTAB_LEAF_ENTRIES && *pos < count) { in sidtab_convert_tree()
475 for (i = 0; i < SIDTAB_LEAF_ENTRIES; i++) in sidtab_destroy_tree()