Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/ss/
H A Dsidtab.c185 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup() local
189 capacity_shift = level * SIDTAB_INNER_SHIFT; in sidtab_do_lookup()
198 capacity_shift -= SIDTAB_INNER_SHIFT; in sidtab_do_lookup()
201 entry = &entry->ptr_inner->entries[leaf_index >> capacity_shift]; in sidtab_do_lookup()
202 leaf_index &= ((u32)1 << capacity_shift) - 1; in sidtab_do_lookup()