| /linux-6.15/lib/ |
| H A D | bsearch.c | 31 void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in bsearch() function 35 EXPORT_SYMBOL(bsearch); 36 NOKPROBE_SYMBOL(bsearch);
|
| H A D | extable.c | 116 return bsearch(&value, base, num, in search_extable()
|
| /linux-6.15/tools/perf/arch/powerpc/annotate/ |
| H A D | instructions.c | 220 …ret = bsearch(&mem_insns_31_opcode, ins_array, ARRAY_SIZE(ins_array), sizeof(ins_array[0]), cmp_of… in check_ppc_insn() 227 ret = bsearch(&mem_insns_31_opcode, arithmetic_ins_op_31, ARRAY_SIZE(arithmetic_ins_op_31), in check_ppc_insn() 237 ret = bsearch(&mem_insns_31_opcode, arithmetic_two_ops, ARRAY_SIZE(arithmetic_two_ops), in check_ppc_insn()
|
| /linux-6.15/include/linux/ |
| H A D | bsearch.h | 30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
|
| H A D | btf.h | 512 return bsearch(&id, set->ids, set->cnt, sizeof(u32), btf_id_cmp_func) != NULL; in btf_id_set_contains() 517 return bsearch(&id, set->pairs, set->cnt, sizeof(set->pairs[0]), btf_id_cmp_func); in btf_id_set8_contains()
|
| /linux-6.15/tools/perf/util/ |
| H A D | comm.c | 111 entry = bsearch(comm_str__str(cs), comm_strs->strs, comm_strs->num_strs, in comm_strs__remove_if_last() 125 result = bsearch(str, comm_strs->strs, comm_strs->num_strs, sizeof(struct comm_str *), in __comm_strs__find()
|
| H A D | syscalltbl.c | 86 id = bsearch(&key, table->sorted_names, table->sorted_names_len, in syscalltbl__id()
|
| H A D | maps.c | 395 bsearch(&map, maps__maps_by_address(maps), maps__nr_maps(maps), in maps__by_address_index() 416 bsearch(&map, maps_by_name, maps__nr_maps(maps), in maps__by_name_index() 1086 bsearch(&ip, maps__maps_by_address(maps), maps__nr_maps(maps), in maps__find() 1132 bsearch(name, maps__maps_by_name(maps), maps__nr_maps(maps), in maps__find_by_name()
|
| H A D | hwmon_pmu.c | 189 elem = bsearch(&fn_type, hwmon_type_strs + 1, ARRAY_SIZE(hwmon_type_strs) - 1, in parse_hwmon_filename() 209 elem = bsearch(fn_item, hwmon_item_strs + 1, ARRAY_SIZE(hwmon_item_strs) - 1, in parse_hwmon_filename()
|
| H A D | dsos.c | 187 res = bsearch(&key, dsos->dsos, dsos->cnt, sizeof(struct dso *), in __dsos__find_by_longname_id()
|
| /linux-6.15/drivers/comedi/drivers/ |
| H A D | ni_routes.c | 381 return bsearch(&destination, valid_routes->routes, in ni_find_route_set() 396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
|
| /linux-6.15/tools/perf/tests/ |
| H A D | dwarf-unwind.c | 165 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
|
| /linux-6.15/drivers/sh/intc/ |
| H A D | chip.c | 126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
|
| /linux-6.15/kernel/kcsan/ |
| H A D | debugfs.c | 117 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | jit_disasm_helpers.c | 144 label_pc = bsearch(&pc, labels.pcs, labels.cnt, sizeof(*labels.pcs), cmp_u32); in disasm_one_func()
|
| /linux-6.15/drivers/md/bcache/ |
| H A D | journal.c | 207 goto bsearch; in bch_journal_read() 218 goto bsearch; in bch_journal_read() 223 bsearch: in bch_journal_read()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | elf.c | 455 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
|
| /linux-6.15/drivers/pinctrl/sophgo/ |
| H A D | pinctrl-sophgo-common.c | 45 return bsearch((void *)pin_id, pctrl->data->pindata, pctrl->data->npins, in sophgo_get_pin()
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | xlated_dumper.c | 85 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
|
| /linux-6.15/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | health.c | 115 return bsearch(&key, ice_health_status_lookup, ARRAY_SIZE(ice_health_status_lookup), in ice_get_health_status()
|
| /linux-6.15/drivers/md/persistent-data/ |
| H A D | dm-btree.c | 44 static int bsearch(struct btree_node *n, uint64_t key, int want_hi) in bsearch() function 66 return bsearch(n, key, 0); in lower_bound() 71 return bsearch(n, key, 1); in upper_bound()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-kmem.c | 429 caller = bsearch(&key, alloc_func_list, nr_alloc_funcs, in find_callsite() 747 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp); in compact_gfp_string() 771 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
|
| /linux-6.15/kernel/module/ |
| H A D | kallsyms.c | 20 return bsearch(name, start, stop - start, in lookup_exported_symbol()
|
| /linux-6.15/kernel/ |
| H A D | user_namespace.c | 287 return bsearch(&key, map->forward, extents, in map_id_range_down_max() 377 return bsearch(&key, map->reverse, extents, in map_id_range_up_max()
|
| /linux-6.15/drivers/clk/keystone/ |
| H A D | sci-clk.c | 390 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
|