Searched refs:cpumap_size (Results 1 - 2 of 2) sorted by relevance
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | kdebug.c | 134 int kdbg_cpumap_init_internal(kd_iop_t* iops, uint32_t cpu_count, uint8_t** cpumap, uint32_t* cpumap_size); 1422 * If you provide a buffer and it is too small, sets cpumap_size to the number 1425 * On success, if you provided a buffer, cpumap_size is set to the number of 1427 * allocated buffer and cpumap_size is set to the number of bytes allocated. 1442 kdbg_cpumap_init_internal(kd_iop_t* iops, uint32_t cpu_count, uint8_t** cpumap, uint32_t* cpumap_size) argument 1445 assert(cpumap_size); 1450 uint32_t bytes_available = *cpumap_size; 1451 *cpumap_size = bytes_needed; 1454 if (kmem_alloc(kernel_map, (vm_offset_t*)cpumap, (vm_size_t)*cpumap_size) != KERN_SUCCESS) { 1907 uint32_t cpumap_size local 1981 uint32_t cpumap_size; local [all...] |
/macosx-10.10/system_cmds-643.1.1/trace.tproj/ |
H A D | trace.c | 754 size_t cpumap_size = sizeof(kd_cpumap_header) + cpumap_header->cpu_count * sizeof(kd_cpumap); local 755 if (pad_size >= cpumap_size) { 756 write(fd, (char *)cpumap_header, cpumap_size); 757 pad_size -= cpumap_size; 858 size_t cpumap_size = sizeof(kd_cpumap_header) + cpumap_header->cpu_count * sizeof(kd_cpumap); local 859 if (pad_size >= cpumap_size) { 860 write(fd, (char *)cpumap_header, cpumap_size); 861 pad_size -= cpumap_size;
|
Completed in 236 milliseconds