Searched refs:ANON_CHUNK_SIZE (Results 1 – 4 of 4) sorted by relevance
305 if (npages <= ANON_CHUNK_SIZE || (flags & ANON_ALLOC_FORCE)) { in anon_create()329 ahp->size = P2ROUNDUP(npages, ANON_CHUNK_SIZE); in anon_create()358 if (npages <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_release()390 if ((ahp->size <= ANON_CHUNK_SIZE) || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_get_ptr()428 if ((size <= ANON_CHUNK_SIZE) || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_get_next_ptr()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()481 if (ahp->size <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_set_ptr()527 if (((sahp->size <= ANON_CHUNK_SIZE) && in anon_copy_ptr()528 (dahp->size <= ANON_CHUNK_SIZE)) || in anon_copy_ptr()[all …]
254 #define ANON_CHUNK_SIZE (PAGESIZE >> ANON_PTRSHIFT) macro256 #define ANON_CHUNK_OFF (ANON_CHUNK_SIZE - 1)
1165 if (aw->aw_ahp.size <= ANON_CHUNK_SIZE || in anon_walk_init_common()1175 mdb_zalloc(ANON_CHUNK_SIZE * sizeof (uintptr_t), UM_SLEEP); in anon_walk_init_common()1219 aw->aw_minslot / ANON_CHUNK_SIZE; in anon_walk_step()1221 aw->aw_minslot % ANON_CHUNK_SIZE; in anon_walk_step()1233 ANON_CHUNK_SIZE * sizeof (uintptr_t)); in anon_walk_step()1236 ANON_CHUNK_SIZE * sizeof (uintptr_t), levtwoptr) == in anon_walk_step()1245 slot = aw->aw_levone_ndx * ANON_CHUNK_SIZE + aw->aw_levtwo_ndx; in anon_walk_step()1250 if (aw->aw_levtwo_ndx == ANON_CHUNK_SIZE) { in anon_walk_step()1277 mdb_free(aw->aw_levtwo, ANON_CHUNK_SIZE * sizeof (uintptr_t)); in anon_walk_fini()
319 if ((ah.size <= ANON_CHUNK_SIZE) || (ah.flags & ANON_ALLOC_FORCE)) { in gcore_anon_get_ptr()