Searched refs:MAPSIZE (Results 1 – 8 of 8) sorted by relevance
/external/selinux/libsepol/src/ |
D | ebitmap.c | 258 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 …]
|
D | write.c | 62 buf[0] = cpu_to_le32(MAPSIZE); in ebitmap_write()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | ebitmap.h | 28 #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/valgrind/none/tests/x86/ |
D | faultstatus.c | 29 #define MAPSIZE (2*FILESIZE) macro 129 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
/external/valgrind/none/tests/amd64/ |
D | faultstatus.c | 26 #define MAPSIZE (2*FILESIZE) macro 111 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
/external/valgrind/none/tests/ |
D | faultstatus.c | 60 #define MAPSIZE (2*FILESIZE) macro 161 mapping = mmap(0, MAPSIZE, PROT_READ, MAP_PRIVATE, fd, 0);
|
/external/ltp/testcases/network/lib6/ |
D | in6_01.c | 47 #define MAPSIZE (sizeof(maptab)/sizeof(maptab[0])) macro 170 for (i = 0; i < MAPSIZE; ++i) { in test_in6_is_addr_v4mapped()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress09.c | 76 #define MAPSIZE (64*1024) /* default mapsize set up by parent */ macro 104 int mapsize = MAPSIZE;
|