Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
Debitmap.h28 #define EBITMAP_UNIT_SIZE BITS_PER_LONG macro
29 #define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE)
32 (((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
84 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
86 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
Debitmap.c141 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_export()
181 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_import()
204 offset += EBITMAP_UNIT_SIZE; in ebitmap_netlbl_import()
240 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + in ebitmap_contains()
454 index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; in ebitmap_read()