Home
last modified time | relevance | path

Searched refs:MAPSIZE (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/src/
Debitmap.c112 dst->highbit = prev->startbit + MAPSIZE; in ebitmap_and()
162 dst->highbit = prev->startbit + MAPSIZE; in ebitmap_xor()
177 for (cur_startbit = 0; cur_startbit < maxbit; cur_startbit += MAPSIZE) { in ebitmap_not()
188 if (maxbit - cur_startbit < MAPSIZE) in ebitmap_not()
211 dst->highbit = prev->startbit + MAPSIZE; in ebitmap_not()
365 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_get_bit()
380 uint32_t startbit = bit & ~(MAPSIZE - 1); in ebitmap_set_bit()
381 uint32_t highbit = startbit + MAPSIZE; in ebitmap_set_bit()
391 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_set_bit()
407 MAPSIZE; in ebitmap_set_bit()
[all …]
Dwrite.c68 buf[0] = cpu_to_le32(MAPSIZE); in ebitmap_write()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h28 #define MAPSIZE (sizeof(MAPTYPE) * 8) /* number of bits in node bitmap */ macro
62 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { in ebitmap_next()
/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c76 #define MAPSIZE (64*1024) /* default mapsize set up by parent */ macro
103 int mapsize = MAPSIZE;