Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Debitmap.c35 if (n1 && n2 && n1->startbit == n2->startbit) { in ebitmap_or()
36 new->startbit = n1->startbit; in ebitmap_or()
40 } else if (!n2 || (n1 && n1->startbit < n2->startbit)) { in ebitmap_or()
41 new->startbit = n1->startbit; in ebitmap_or()
45 new->startbit = n2->startbit; in ebitmap_or()
166 (n1->startbit == n2->startbit) && (n1->map == n2->map)) { in ebitmap_cmp()
192 new->startbit = n->startbit; in ebitmap_cpy()
216 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
217 if (n1->startbit < n2->startbit) { in ebitmap_contains()
240 if (n1->startbit < n2->startbit) { in ebitmap_match_any()
[all …]
Dwrite.c81 bit = cpu_to_le32(n->startbit); in ebitmap_write()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h32 uint32_t startbit; /* starting position in the total bitmap */ member
44 #define ebitmap_startbit(e) ((e)->node ? (e)->node->startbit : 0)
62 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { in ebitmap_next()
64 return (*n)->startbit; in ebitmap_next()
72 if (n->map & (MAPBIT << (bit - n->startbit))) in ebitmap_node_get_bit()