Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/ss/
Debitmap.c38 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp()
64 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); in ebitmap_cpy()
182 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
188 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
193 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
269 if ((n->startbit + EBITMAP_SIZE) > bit) in ebitmap_get_bit()
284 if ((n->startbit + EBITMAP_SIZE) > bit) { in ebitmap_set_bit()
292 s = find_first_bit(n->maps, EBITMAP_SIZE); in ebitmap_set_bit()
293 if (s < EBITMAP_SIZE) in ebitmap_set_bit()
304 EBITMAP_SIZE; in ebitmap_set_bit()
[all …]
Debitmap.h31 #define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE) macro
55 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive()
56 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive()
72 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
73 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()
77 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive()
78 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()