| /xnu-12377.61.12/bsd/kern/ |
| H A D | qsort.c | 121 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)) in qsort() function 195 qsort(a, r / es, es, cmp); in qsort() 210 qsort(array, nm, member_size, cmpf); in kx_qsort()
|
| H A D | qsort.h | 48 qsort(void *array, size_t num_elements, size_t element_size, cmpfunc_t compare);
|
| H A D | Makefile | 11 EXPORT_MI_LIST = qsort.h
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | exclaves_boot.c | 111 extern void qsort(void *, size_t, size_t, in exclaves_boot_tasks() 113 qsort(boot_tasks, count, sizeof(boot_tasks[0]), ebt_cmp); in exclaves_boot_tasks()
|
| H A D | sched_common.c | 42 qsort(datas, num_datas, sizeof(sched_pset_search_order_sort_data_t), cmp); in sched_pset_search_order_compute()
|
| H A D | restartable.c | 73 extern void qsort(void *a, size_t n, size_t es, cmpfunc_t cmp); 141 qsort(ranges, count, sizeof(task_restartable_range_t), _ranges_cmp); in _ranges_validate()
|
| H A D | startup.c | 242 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 278 qsort(startup_entries, n, sizeof(struct startup_entry), startup_entry_cmp); in kernel_startup_bootstrap()
|
| H A D | btlog.c | 1535 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 1559 qsort(array, count, sizeof(struct btlog_record), btlog_record_cmp_where); in btlog_records_pack() 1694 qsort(btr_array, count, sizeof(struct btlog_record), in btlog_get_records()
|
| H A D | kalloc.c | 605 extern void qsort(void *a, size_t n, size_t es, cmpfunc_t cmp); 1530 qsort(&sorted_zones[0], (size_t) MAX_K_ZONE(kt_zone_cfg), in kalloc_type_redistribute_budget() 1922 qsort(kt_buffer, (size_t) kt_count, sizeof(kalloc_type_view_t), in kalloc_type_view_init_fixed() 2042 qsort(kt_buffer, (size_t) kt_count, sizeof(kalloc_type_var_view_t), in kalloc_type_view_init_var()
|
| H A D | coalition.c | 2591 qsort(void *a, size_t n, size_t es, cmpfunc_t cmp); 2802 qsort(sort_array, ntasks, sizeof(struct coal_sort_s), cmp_func); in coalition_get_pid_list()
|
| /xnu-12377.61.12/osfmk/arm64/ |
| H A D | hibernate_arm64.c | 55 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 106 qsort((void*)dram_ranges, num_banks, sizeof(dram_ranges[0]), dram_range_compare); in hibernate_page_list_allocate()
|
| H A D | arm_vm_init.c | 1494 qsort(void *a, size_t n, size_t es, cmpfunc_t cmp); 1619 qsort(temp_ptov_table, PTOV_TABLE_SIZE, sizeof(temp_ptov_table[0]), cmp_ptov_entries); in arm_vm_physmap_init() 1646 qsort(temp_ptov_table, PTOV_TABLE_SIZE, sizeof(temp_ptov_table[0]), cmp_ptov_entries); in arm_vm_physmap_init()
|
| /xnu-12377.61.12/osfmk/i386/ |
| H A D | cpu_topology.c | 42 __private_extern__ void qsort( 121 qsort((void *) &cpu_data_ptr[1], in cpu_topology_sort()
|
| /xnu-12377.61.12/tests/ |
| H A D | priority_queue.cpp | 120 qsort(priority_list, PRIORITY_QUEUE_NODES, sizeof(priority_list[0]), compare_numbers_descending); 191 qsort(priority_list, PRIORITY_QUEUE_NODES, sizeof(priority_list[0]), compare_numbers_descending);
|
| H A D | prng.c | 21 qsort(buf, nblocks, BLOCK_SIZE, cmp); in prng_sanitycheck()
|
| /xnu-12377.61.12/osfmk/arm64/sptm/pmap/ |
| H A D | pmap_internal.h | 108 extern void qsort(void *a, size_t n, size_t es, cmpfunc_t cmp);
|
| /xnu-12377.61.12/osfmk/arm/pmap/ |
| H A D | pmap_internal.h | 167 extern void qsort(void *a, size_t n, size_t es, cmpfunc_t cmp);
|
| H A D | pmap_data.c | 3681 qsort(io_attr_table, num_io_rgns, sizeof(*ranges), cmp_io_rgns); in pmap_load_io_rgns() 3912 qsort(io_filter_table, num_io_filter_entries, sizeof(*entries), cmp_io_filter_entries); in pmap_load_io_filters()
|
| /xnu-12377.61.12/bsd/dev/dtrace/ |
| H A D | fbt.c | 66 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 451 qsort(sorted_syms, symtab->nsyms, sizeof(kernel_nlist_t), fbt_sym_cmp); in fbt_provide_module_kernel_syms()
|
| H A D | fasttrap.c | 65 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 1995 qsort(pdata->ftps_offs, pdata->ftps_noffs, in fasttrap_add_probe() 2199 qsort(dhpb->dthpb_offs, dhpb->dthpb_noffs, sizeof (uint32_t), in fasttrap_meta_create_probe() 2207 qsort(dhpb->dthpb_enoffs, dhpb->dthpb_nenoffs, sizeof (uint32_t), in fasttrap_meta_create_probe()
|
| /xnu-12377.61.12/libkern/c++/ |
| H A D | OSDictionary.cpp | 60 void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); 79 qsort(dictionary, count, sizeof(OSDictionary::dictEntry), in sortBySymbol()
|
| /xnu-12377.61.12/iokit/Kernel/ |
| H A D | IOKitDebug.cpp | 226 __private_extern__ "C" void qsort( 1098 qsort(instances, count, sizeof(*instances), &IOTrackingZoneElementCompare); in zone_leaks_scan() 1138 qsort(instances, count, sizeof(*instances), &IOTrackingAddressCompare); in IOTrackingLeaks() 1586 qsort(siteInfos, num, sizeof(*siteInfos), &IOTrackingCallSiteInfoCompare); in IOTrackingDebug()
|
| /xnu-12377.61.12/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 618 qsort(import_symbols, num_import_syms, sizeof(struct symbol), &qsort_cmp); in main() 619 qsort(export_symbols, num_export_syms, sizeof(struct symbol), &qsort_cmp); in main()
|
| /xnu-12377.61.12/osfmk/vm/ |
| H A D | vm_user.c | 2045 extern void qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 2165 qsort(recipe, new_count, sizeof(mach_vm_range_recipe_v1_t), in mach_vm_range_create_v1() 2254 qsort(table, count + new_count, in mach_vm_range_create_v1()
|
| /xnu-12377.61.12/osfmk/ipc/ |
| H A D | mach_port.c | 114 extern void qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 1326 qsort((void *)addr, actual, sizeof(mach_port_name_t), in mach_port_get_set_status()
|