Home
last modified time | relevance | path

Searched refs:MAPSIZE (Results 1 – 6 of 6) 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()
414 if (n->startbit & (MAPSIZE - 1)) { in ebitmap_read()
[all …]
Dwrite.c62 buf[0] = cpu_to_le32(MAPSIZE); in ebitmap_write()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h27 #define MAPSIZE (sizeof(MAPTYPE) * 8) /* number of bits in node bitmap */ macro
60 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { in ebitmap_next()
/external/valgrind/none/tests/x86/
Dfaultstatus.c29 #define MAPSIZE (2*FILESIZE) macro
129 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); in main()
/external/valgrind/none/tests/amd64/
Dfaultstatus.c26 #define MAPSIZE (2*FILESIZE) macro
111 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); in main()
/external/valgrind/none/tests/
Dfaultstatus.c60 #define MAPSIZE (2*FILESIZE) macro
161 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);