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

/macosx-10.10.1/libauto-186/
H A DAdmin.cpp581 usword_t alloc_count = node_size / requested_size; local
583 // cap alloc_count to the number requested
584 if (alloc_count > num_requested) alloc_count = num_requested;
587 usword_t alloc_size = alloc_count * requested_size;
592 for (usword_t i=0; i<alloc_count; i++) {
606 num_requested -= alloc_count;
699 int alloc_count; local
700 for (alloc_count = 0; alloc_count < cached_list_node_initial_coun
[all...]
/macosx-10.10.1/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...]
/macosx-10.10.1/autofs-246/autofs_kext/
H A Dauto_vnops.c696 u_int alloc_count; local
728 alloc_count = (u_int)user_alloc_count;
764 uio_offset(uiop), alloc_count,
843 * alloc_count not large enough for one
869 MALLOC(outbuf, void *, alloc_count, M_AUTOFS, M_WAITOK);
876 if (alloc_count < this_reclen) {
899 if (alloc_count < outcount + this_reclen) {
947 if (outcount + reclen > alloc_count) {
H A Dauto_subr.c406 u_int alloc_count, int64_t *return_offset, boolean_t *return_eof,
437 offset, alloc_count, &error,
464 (uint32_t) dirp->fn_nodeid, offset, alloc_count, &error,
405 auto_readdir_aux(struct fninfo *fnip, fnnode_t *dirp, off_t offset, u_int alloc_count, int64_t *return_offset, boolean_t *return_eof, byte_buffer *return_buffer, mach_msg_type_number_t *return_bufcount) argument
/macosx-10.10.1/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)
/macosx-10.10.1/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...]
/macosx-10.10.1/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;
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs.h729 u_int32_t numBlocks, u_int32_t *alloc_count);
/macosx-10.10.1/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 213 milliseconds