Home | History | Annotate | Download | only in Objects

Lines Matching refs:ARENA_SIZE

187 #define ARENA_SIZE              (256 << 10)     /* 256KB */

190 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)
503 * 16 = can allocate 16 arenas = 16 * ARENA_SIZE = 4MB before growing the
580 arenaobj->address = (uptr)malloc(ARENA_SIZE);
600 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE;
601 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE);
625 B <= P < B + ARENA_SIZE
629 0 <= P-B < ARENA_SIZE
642 correct base address of the pool's arena, and P must be within ARENA_SIZE of
655 AO.address+ARENA_SIZE. By case assumption, P is not controlled by obmalloc,
663 P < ARENA_SIZE
665 If P >= ARENA_SIZE (extremely likely), the macro again correctly concludes
666 that P is not controlled by obmalloc. However, if P < ARENA_SIZE, this part
670 slice AO.address : AO.address + ARENA_SIZE).
675 obmalloc, AO corresponds to an unused arena_object, and P < ARENA_SIZE" case
696 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \
870 ARENA_SIZE - POOL_SIZE);
911 ARENA_SIZE - POOL_SIZE);
1763 /* running total -- should equal narenas * ARENA_SIZE */
1855 narenas, ARENA_SIZE);
1856 (void)printone(buf, narenas * ARENA_SIZE);
1885 (uptr)P - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE &&