Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/vm/
H A Dvm_anon.c306 if (npages <= ANON_CHUNK_SIZE || (flags & ANON_ALLOC_FORCE)) { in anon_create()
330 ahp->size = P2ROUNDUP(npages, ANON_CHUNK_SIZE); in anon_create()
359 if (npages <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_release()
391 if ((ahp->size <= ANON_CHUNK_SIZE) || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_get_ptr()
429 if ((size <= ANON_CHUNK_SIZE) || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_get_next_ptr()
450 for (j = chunkoff; j < ANON_CHUNK_SIZE; j++) { in anon_get_next_ptr()
459 i = (i + ANON_CHUNK_SIZE) & ~ANON_CHUNK_OFF; in anon_get_next_ptr()
482 if (ahp->size <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_set_ptr()
529 if (((sahp->size <= ANON_CHUNK_SIZE) && in anon_copy_ptr()
530 (dahp->size <= ANON_CHUNK_SIZE)) || in anon_copy_ptr()
[all …]
H A Danon.h254 #define ANON_CHUNK_SIZE (PAGESIZE >> ANON_PTRSHIFT) macro
256 #define ANON_CHUNK_OFF (ANON_CHUNK_SIZE - 1)
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c1130 if (aw->aw_ahp.size <= ANON_CHUNK_SIZE || in anon_walk_init_common()
1140 mdb_zalloc(ANON_CHUNK_SIZE * sizeof (uintptr_t), UM_SLEEP); in anon_walk_init_common()
1184 aw->aw_minslot / ANON_CHUNK_SIZE; in anon_walk_step()
1186 aw->aw_minslot % ANON_CHUNK_SIZE; in anon_walk_step()
1198 ANON_CHUNK_SIZE * sizeof (uintptr_t)); in anon_walk_step()
1201 ANON_CHUNK_SIZE * sizeof (uintptr_t), levtwoptr) == in anon_walk_step()
1210 slot = aw->aw_levone_ndx * ANON_CHUNK_SIZE + aw->aw_levtwo_ndx; in anon_walk_step()
1215 if (aw->aw_levtwo_ndx == ANON_CHUNK_SIZE) { in anon_walk_step()
1242 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()