Searched refs:alloc_count (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkern_proc.c1493 int count, pidcount, i, alloc_count; local
1512 alloc_count = count * sizeof(pid_t);
1513 pid_list = (pid_t *)kalloc(alloc_count);
1514 bzero(pid_list, alloc_count);
1551 kfree(pid_list, alloc_count);
2187 int count, pidcount, alloc_count, i, retval; local
2192 alloc_count = count * sizeof(pid_t);
2193 pid_list = (pid_t *)kalloc(alloc_count);
2194 bzero(pid_list, alloc_count);
2271 kfree(pid_list, alloc_count);
2374 int count, pidcount, alloc_count, i, retval; local
2443 int count, pidcount, i, alloc_count; local
[all...]
/xnu-2782.1.97/bsd/netinet/
H A Din_tclass.c571 int n, alloc_count; local
575 if ((alloc_count = tfp_count) == 0) {
580 len = alloc_count * sizeof (struct so_tcdbg);
593 if (++n > alloc_count)
/xnu-2782.1.97/osfmk/kern/
H A Dzalloc.c389 uint16_t alloc_count; member in struct:zone_page_metadata
664 } else if (page_meta->free_count == page_meta->alloc_count) {
786 } else if (page_meta->alloc_count == page_meta->free_count + 1) {
851 * zone_page_init()/zone_page_alloc() initialize "alloc_count"
859 * "alloc_count", the zone page is a candidate for collection and the
868 volatile uint16_t alloc_count; member in struct:zone_page_table_entry
1971 page_metadata->alloc_count = 0;
1977 page_metadata->alloc_count++;
2273 entry_array[i].alloc_count = ZONE_PAGE_UNUSED;
3151 if (zp->collect_count == zp->alloc_count)
[all...]
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c804 int alloc_count = PAGE_SIZE / sizeof(dk_extent_t); local
805 void *extents = kalloc (alloc_count * sizeof(dk_extent_t));
811 trimlist.allocated_count = alloc_count;
/xnu-2782.1.97/bsd/hfs/
H A Dhfs.h729 u_int32_t numBlocks, u_int32_t *alloc_count);
/xnu-2782.1.97/tools/lldbmacros/
H A Dmemory.py147 alloc_count = zone.alloc_size / zone.elem_size
176 zone.elem_size, zone.alloc_size, alloc_count,

Completed in 109 milliseconds