Home
last modified time | relevance | path

Searched refs:ZoneSize (Results 1 – 2 of 2) sorted by relevance

/dragonfly/sys/kern/
H A Dkern_slaballoc.c165 __read_frequently static int ZoneSize; variable
302 ZoneSize = ZALLOC_MIN_ZONE_SIZE; in kmeminit()
303 while (ZoneSize < ZALLOC_MAX_ZONE_SIZE && (ZoneSize << 1) < usesize) in kmeminit()
304 ZoneSize <<= 1; in kmeminit()
305 ZoneLimit = ZoneSize / 4; in kmeminit()
308 ZoneMask = ~(uintptr_t)(ZoneSize - 1); in kmeminit()
309 ZonePageCount = ZoneSize / PAGE_SIZE; in kmeminit()
913 kmem_slab_free(z, ZoneSize); /* may block */ in _kmalloc_debug()
1070 z = kmem_slab_alloc(ZoneSize, ZoneSize, flags|M_ZERO); in _kmalloc_debug()
1084 bzero(z->z_Bitmap, (ZoneSize / size + 31) / 8); in _kmalloc_debug()
[all …]
/dragonfly/lib/libc/stdlib/
H A Dnmalloc.c336 static const int ZoneSize = ZALLOC_ZONE_SIZE; variable
1245 z->z_NMax = (ZoneSize - off) / size; in _slaballoc()
2023 z = _vmem_alloc(ZoneSize, ZoneSize, flags); in zone_alloc()
2045 madvise(z, ZoneSize, MADV_FREE); in zone_free()
2063 _vmem_free(excess[i], ZoneSize); in zone_free()
2064 _vmem_free(z, ZoneSize); in zone_free()