Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dsidtab.c94 u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; in sidtab_do_lookup() local
98 capacity_shift = level * SIDTAB_INNER_SHIFT; in sidtab_do_lookup()
107 capacity_shift -= SIDTAB_INNER_SHIFT; in sidtab_do_lookup()
110 entry = &entry->ptr_inner->entries[leaf_index >> capacity_shift]; in sidtab_do_lookup()
111 leaf_index &= ((u32)1 << capacity_shift) - 1; in sidtab_do_lookup()