Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/ss/
Debitmap.h30 #define EBITMAP_UNIT_SIZE BITS_PER_LONG macro
31 #define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE)
34 (((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
85 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
87 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
Debitmap.c137 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_export()
177 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_import()
201 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_import()
238 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + in ebitmap_contains()
457 index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; in ebitmap_read()