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

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_proc.c1349 int count, pidcount, i, alloc_count; local
1368 alloc_count = count * sizeof(pid_t);
1369 pid_list = (pid_t *)kalloc(alloc_count);
1370 bzero(pid_list, alloc_count);
1407 kfree(pid_list, alloc_count);
1964 int count, pidcount, alloc_count, i, retval; local
1969 alloc_count = count * sizeof(pid_t);
1970 pid_list = (pid_t *)kalloc(alloc_count);
1971 bzero(pid_list, alloc_count);
2052 kfree(pid_list, alloc_count);
2155 int count, pidcount, alloc_count, i, retval; local
2224 int count, pidcount, i, alloc_count; local
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_tclass.c563 int n, alloc_count; local
567 if ((alloc_count = tfp_count) == 0) {
572 len = alloc_count * sizeof (struct so_tcdbg);
585 if (++n > alloc_count)
/darwin-on-arm/xnu/osfmk/kern/
H A Dzalloc.c275 * zone_page_init()/zone_page_alloc() initialize "alloc_count"
283 * "alloc_count", the zone page is a candidate for collection and the
292 volatile uint16_t alloc_count; member in struct:zone_page_table_entry
1622 entry_array[i].alloc_count = ZONE_PAGE_UNUSED;
2370 if (zp->collect_count == zp->alloc_count)
2452 zp->alloc_count = ZONE_PAGE_UNUSED;
2481 * Set alloc_count to ZONE_PAGE_USED if
2484 if (zp->alloc_count == ZONE_PAGE_UNUSED)
2485 zp->alloc_count = ZONE_PAGE_USED;
2487 ++zp->alloc_count;
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs.h711 u_int32_t numBlocks, u_int32_t *alloc_count);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c748 int alloc_count = PAGE_SIZE / sizeof(dk_extent_t); local
749 void *extents = kalloc (alloc_count * sizeof(dk_extent_t));
754 trimlist.allocated_count = alloc_count;

Completed in 49 milliseconds