Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Debitmap.c258 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_get_bit()
273 uint32_t startbit = bit & ~(MAPSIZE - 1); in ebitmap_set_bit()
274 uint32_t highbit = startbit + MAPSIZE; in ebitmap_set_bit()
284 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_set_bit()
300 MAPSIZE; in ebitmap_set_bit()
381 if (mapsize != MAPSIZE) { in ebitmap_read()
384 mapsize, MAPSIZE, e->highbit); in ebitmap_read()
391 if (e->highbit & (MAPSIZE - 1)) { in ebitmap_read()
394 e->highbit, MAPSIZE); in ebitmap_read()
418 if (n->startbit & (MAPSIZE - 1)) { in ebitmap_read()
[all …]
Dwrite.c64 buf[0] = cpu_to_le32(MAPSIZE); in ebitmap_write()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h28 #define MAPSIZE (sizeof(MAPTYPE) * 8) /* number of bits in node bitmap */ macro
61 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { in ebitmap_next()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c76 #define MAPSIZE (64*1024) /* default mapsize set up by parent */ macro
104 int mapsize = MAPSIZE;