Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
Debitmap.c42 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp()
68 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); in ebitmap_cpy()
186 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
191 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
196 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
271 if ((n->startbit + EBITMAP_SIZE) > bit) in ebitmap_get_bit()
286 if ((n->startbit + EBITMAP_SIZE) > bit) { in ebitmap_set_bit()
294 s = find_first_bit(n->maps, EBITMAP_SIZE); in ebitmap_set_bit()
295 if (s < EBITMAP_SIZE) in ebitmap_set_bit()
306 + EBITMAP_SIZE; in ebitmap_set_bit()
[all …]
Debitmap.h29 #define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE) macro
53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_start_positive()
54 if (ofs < EBITMAP_SIZE) in ebitmap_start_positive()
71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); in ebitmap_next_positive()
72 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()
76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); in ebitmap_next_positive()
77 if (ofs < EBITMAP_SIZE) in ebitmap_next_positive()