Home
last modified time | relevance | path

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

/external/libsepol/src/
Debitmap.c236 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_get_bit()
251 uint32_t startbit = bit & ~(MAPSIZE - 1); in ebitmap_set_bit()
252 uint32_t highbit = startbit + MAPSIZE; in ebitmap_set_bit()
262 if ((n->startbit + MAPSIZE) > bit) { in ebitmap_set_bit()
278 MAPSIZE; in ebitmap_set_bit()
359 if (mapsize != MAPSIZE) { in ebitmap_read()
362 mapsize, MAPSIZE, e->highbit); in ebitmap_read()
369 if (e->highbit & (MAPSIZE - 1)) { in ebitmap_read()
372 e->highbit, MAPSIZE); in ebitmap_read()
392 if (n->startbit & (MAPSIZE - 1)) { in ebitmap_read()
[all …]
Dwrite.c62 buf[0] = cpu_to_le32(MAPSIZE); in ebitmap_write()
/external/valgrind/main/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/main/none/tests/x86/
Dfaultstatus.c29 #define MAPSIZE (2*FILESIZE) macro
129 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); in main()
/external/libsepol/include/sepol/policydb/
Debitmap.h25 #define MAPSIZE (sizeof(MAPTYPE) * 8) /* number of bits in node bitmap */ macro
58 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && (*n)->next) { in ebitmap_next()
/external/valgrind/main/none/tests/
Dfaultstatus.c49 #define MAPSIZE (2*FILESIZE) macro
150 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);