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

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_proc.c1272 int count, pidcount, i, alloc_count; local
1291 alloc_count = count * sizeof(pid_t);
1292 pid_list = (pid_t *)kalloc(alloc_count);
1293 bzero(pid_list, alloc_count);
1330 kfree(pid_list, alloc_count);
1782 int count, pidcount, alloc_count, i, retval; local
1787 alloc_count = count * sizeof(pid_t);
1788 pid_list = (pid_t *)kalloc(alloc_count);
1789 bzero(pid_list, alloc_count);
1870 kfree(pid_list, alloc_count);
1970 int count, pidcount, alloc_count, i, retval; local
2039 int count, pidcount, i, alloc_count; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dzalloc.c185 short alloc_count; member in struct:zone_page_table_entry
1424 if (zp->collect_count == zp->alloc_count)
1497 zp->alloc_count = value;
1523 * Set alloc_count to (ZONE_PAGE_USED + 1) if
1526 if (zp->alloc_count == ZONE_PAGE_UNUSED)
1527 zp->alloc_count = 1;
1529 ++zp->alloc_count;
1556 if (--zp->alloc_count == 0) {
1557 zp->alloc_count = ZONE_PAGE_UNUSED;

Completed in 35 milliseconds