Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c329 ahp->size = P2ROUNDUP(npages, ANON_CHUNK_SIZE); in anon_create()
449 for (j = chunkoff; j < ANON_CHUNK_SIZE; j++) { in anon_get_next_ptr()
458 i = (i + ANON_CHUNK_SIZE) & ~ANON_CHUNK_OFF; in anon_get_next_ptr()
527 if (((sahp->size <= ANON_CHUNK_SIZE) && in anon_copy_ptr()
528 (dahp->size <= ANON_CHUNK_SIZE)) || in anon_copy_ptr()
540 if (sahp->size > ANON_CHUNK_SIZE && in anon_copy_ptr()
541 dahp->size > ANON_CHUNK_SIZE && in anon_copy_ptr()
553 chknp = ANON_CHUNK_SIZE - MAX(sapidx, dapidx); in anon_copy_ptr()
610 #define ANON_1_LEVEL_INC (ANON_CHUNK_SIZE / 8)
688 if (newamp_pgs > ANON_CHUNK_SIZE && oldamp_pgs <= ANON_CHUNK_SIZE && in anon_grow()
[all …]
H A Danon.h254 #define ANON_CHUNK_SIZE (PAGESIZE >> ANON_PTRSHIFT) macro
256 #define ANON_CHUNK_OFF (ANON_CHUNK_SIZE - 1)
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c1164 if (aw->aw_ahp.size <= ANON_CHUNK_SIZE || in anon_walk_init_common()
1174 mdb_zalloc(ANON_CHUNK_SIZE * sizeof (uintptr_t), UM_SLEEP); in anon_walk_init_common()
1218 aw->aw_minslot / ANON_CHUNK_SIZE; in anon_walk_step()
1220 aw->aw_minslot % ANON_CHUNK_SIZE; in anon_walk_step()
1232 ANON_CHUNK_SIZE * sizeof (uintptr_t)); in anon_walk_step()
1235 ANON_CHUNK_SIZE * sizeof (uintptr_t), levtwoptr) == in anon_walk_step()
1244 slot = aw->aw_levone_ndx * ANON_CHUNK_SIZE + aw->aw_levtwo_ndx; in anon_walk_step()
1249 if (aw->aw_levtwo_ndx == ANON_CHUNK_SIZE) { in anon_walk_step()
1276 mdb_free(aw->aw_levtwo, ANON_CHUNK_SIZE * sizeof (uintptr_t)); in anon_walk_fini()
H A Dgcore.c319 if ((ah.size <= ANON_CHUNK_SIZE) || (ah.flags & ANON_ALLOC_FORCE)) { in gcore_anon_get_ptr()