Home
last modified time | relevance | path

Searched refs:qsort (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.15/tools/perf/util/
H A Dhelp-unknown-cmd.c70 qsort(main_cmds->names, main_cmds->cnt, in help_unknown_cmd()
84 qsort(main_cmds->names, main_cmds->cnt, in help_unknown_cmd()
H A Ddsos.c182 qsort(dsos->dsos, dsos->cnt, sizeof(struct dso *), in __dsos__find_by_longname_id()
/linux-6.15/arch/s390/tools/
H A Dgen_opcode_table.c185 qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmpformat); in print_formats()
220 qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmp_long_insn); in print_long_insn()
292 qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmpopcode); in print_opcode_table()
H A Drelocs.c328 qsort(r->offset, r->count, sizeof(r->offset[0]), cmp_relocs); in sort_relocs()
/linux-6.15/tools/power/cpupower/lib/
H A Dcpupower.c214 qsort(cpu_top->core_info, cpus, sizeof(struct cpuid_core_info), in get_cpu_topology()
227 qsort(cpu_top->core_info, cpus, sizeof(struct cpuid_core_info), in get_cpu_topology()
/linux-6.15/tools/lib/subcmd/
H A Dhelp.c225 qsort(main_cmds->names, main_cmds->cnt, in load_command_list()
245 qsort(other_cmds->names, other_cmds->cnt, in load_command_list()
H A Dparse-options.c837 qsort(group, nr_group, sizeof(*opt), option__cmp); in options__order()
844 qsort(group, nr_group, sizeof(*opt), option__cmp); in options__order()
/linux-6.15/scripts/
H A Dsorttable.c535 qsort(idxs, num_entries, sizeof(int), orc_sort_cmp); in sort_orctable()
673 qsort(function_list, function_list_size, sizeof(struct func_info), cmp_funcs); in parse_symbols()
872 qsort(vals, count, long_size, compare_values); in sort_mcount_loc()
1078 qsort(extab_image, num_entries, in do_sort()
1182 qsort(extab_image, image_size / 8, 8, compare_relative_table); in sort_relative_table()
1207 qsort(extab_image, image_size / 12, 12, compare_relative_table); in sort_relative_table_with_data()
H A Dkallsyms.c336 qsort(table, table_cnt, sizeof(table[0]), compare_names); in sort_symbols_by_name()
701 qsort(table, table_cnt, sizeof(table[0]), compare_symbols); in sort_symbols()
/linux-6.15/tools/lib/bpf/
H A Dbtf_relocate.c25 #define qsort(base, num, sz, cmp) sort(base, num, sz, cmp, NULL) macro
208 qsort(info, r->nr_dist_base_types, sizeof(*info), cmp_btf_name_size); in btf_relocate_map_distilled_base()
H A Delf.c435 qsort(symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
H A Dusdt.c447 qsort(*segs, *seg_cnt, sizeof(**segs), cmp_elf_segs); in parse_elf_segs()
534 qsort(*segs, *seg_cnt, sizeof(**segs), cmp_elf_segs); in parse_vma_segs()
/linux-6.15/scripts/mod/
H A Dsymsearch.c133 qsort(elf->symsearch->table, table_size, in symsearch_init()
/linux-6.15/samples/bpf/
H A Dsampleip_user.c109 qsort(counts, max, sizeof(struct ipcount), count_cmp); in print_ip_map()
/linux-6.15/tools/testing/selftests/bpf/
H A Dveristat.c1028 qsort(lines, lines_size, sizeof(*lines), str_cmp); in print_top_src_lines()
1049 qsort(freq, unique_lines, sizeof(struct line_cnt), line_cnt_cmp); in print_top_src_lines()
2503 qsort(env.prog_stats, env.prog_stat_cnt, sizeof(*env.prog_stats), cmp_prog_stats); in handle_comparison_mode()
2504 qsort(env.baseline_stats, env.baseline_stat_cnt, sizeof(*env.baseline_stats), cmp_prog_stats); in handle_comparison_mode()
2570 qsort(env.join_stats, env.join_stat_cnt, sizeof(*env.join_stats), cmp_join_stats); in handle_comparison_mode()
2708 qsort(env.prog_stats, env.prog_stat_cnt, sizeof(*env.prog_stats), cmp_prog_stats); in handle_verif_mode()
2733 qsort(env.prog_stats, env.prog_stat_cnt, sizeof(*env.prog_stats), cmp_prog_stats); in handle_replay_mode()
H A Djit_disasm_helpers.c124 qsort(labels.pcs, labels.cnt, sizeof(*labels.pcs), cmp_u32); in disasm_one_func()
H A Dtrace_helpers.c100 qsort(ksyms->syms, ksyms->sym_cnt, sizeof(struct ksym), cmp_cb); in load_kallsyms_local_common()
/linux-6.15/tools/bpf/resolve_btfids/
H A Dmain.c704 qsort(set->ids, set->cnt, sizeof(set->ids[0]), cmp_id); in sets_patch()
712 qsort(set8->pairs, set8->cnt, sizeof(set8->pairs[0]), cmp_id); in sets_patch()
/linux-6.15/scripts/dtc/
H A Dlivetree.c720 qsort(tbl, n, sizeof(*tbl), cmp_reserve_info); in sort_reserve_entries()
756 qsort(tbl, n, sizeof(*tbl), cmp_prop); in sort_properties()
792 qsort(tbl, n, sizeof(*tbl), cmp_subnode); in sort_subnodes()
/linux-6.15/tools/mm/
H A Dpage_owner_sort.c827 qsort(list, list_size, sizeof(list[0]), compare_cull_condition); in main()
841 qsort(list, count, sizeof(list[0]), compare_sort_condition); in main()
/linux-6.15/tools/lib/perf/
H A Dcpumap.c148 qsort(RC_CHK_ACCESS(cpus)->map, nr_cpus, sizeof(struct perf_cpu), cmp_cpu); in cpu_map__trim_new()
/linux-6.15/tools/perf/tests/
H A Dswitch-tracking.c306 qsort(events_array, cnt, sizeof(struct event_node), compar); in process_events()
/linux-6.15/tools/bpf/bpftool/
H A Dxlated_dumper.c68 qsort(dd->sym_mapping, dd->sym_count, in kernel_syms_load()
/linux-6.15/tools/perf/bench/
H A Depoll-wait.c537 qsort(worker, nthreads, sizeof(struct worker), cmpworker); in bench_epoll_wait()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c1555 qsort(ctx->uvals, cnt, sizeof(*ctx->uvals), u64_cmp); in gen_vals()
1569 qsort(ctx->svals, ctx->val_cnt, sizeof(*ctx->svals), s64_cmp); in gen_vals()
1590 qsort(ctx->usubvals, cnt, sizeof(*ctx->usubvals), u32_cmp); in gen_vals()
1601 qsort(ctx->ssubvals, ctx->subval_cnt, sizeof(*ctx->ssubvals), s32_cmp); in gen_vals()

12