Home
last modified time | relevance | path

Searched refs:bsearch (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v6.6/lib/
Dbsearch.c31 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);
Dextable.c116 return bsearch(&value, base, num, in search_extable()
DMakefile48 bsearch.o find_bit.o llist.o memweight.o kfifo.o \
/Linux-v6.6/include/linux/
Dbsearch.h30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
Dbtf.h477 return bsearch(&id, set->ids, set->cnt, sizeof(u32), btf_id_cmp_func) != NULL; in btf_id_set_contains()
482 return bsearch(&id, set->pairs, set->cnt, sizeof(set->pairs[0]), btf_id_cmp_func); in btf_id_set8_contains()
/Linux-v6.6/drivers/comedi/drivers/
Dni_routes.c381 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-v6.6/tools/perf/tests/
Ddwarf-unwind.c165 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
/Linux-v6.6/tools/perf/util/
Dsyscalltbl.c119 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
/Linux-v6.6/drivers/sh/intc/
Dchip.c126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
/Linux-v6.6/kernel/kcsan/
Ddebugfs.c123 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c231 ret = bsearch(&cmd, arr->arr, arr->size, size, iwl_hcmd_names_cmp); in iwl_get_cmd_string()
/Linux-v6.6/drivers/md/bcache/
Djournal.c207 goto bsearch; in bch_journal_read()
218 goto bsearch; in bch_journal_read()
223 bsearch: in bch_journal_read()
/Linux-v6.6/tools/lib/bpf/
Delf.c336 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
/Linux-v6.6/tools/bpf/bpftool/
Dxlated_dumper.c85 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
/Linux-v6.6/kernel/
Duser_namespace.c284 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
371 return bsearch(&key, map->reverse, extents, in map_id_up_max()
/Linux-v6.6/drivers/md/persistent-data/
Ddm-btree.c44 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-v6.6/tools/perf/
Dbuiltin-kmem.c429 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()
770 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
/Linux-v6.6/kernel/module/
Dkallsyms.c20 return bsearch(name, start, stop - start, in lookup_exported_symbol()
/Linux-v6.6/drivers/clk/keystone/
Dsci-clk.c390 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
/Linux-v6.6/drivers/base/regmap/
Dregcache.c668 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults, in regcache_lookup_reg()
/Linux-v6.6/drivers/iio/dac/
Dad5758.c708 index = bsearch(&tmp, ad5758_dc_dc_ilim, in ad5758_parse_dt()
/Linux-v6.6/scripts/
Dasn1_compiler.c442 dir = bsearch(&tokens[tix], directives, in tokenise()
1012 ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]), in parse_type()
/Linux-v6.6/arch/x86/kvm/
Dpmu.c280 u64 *fe = bsearch(&key, events, nevents, sizeof(events[0]), in find_filter_index()
/Linux-v6.6/drivers/clk/imx/
Dclk-scu.c186 p = bsearch(&rsrc_id, rsrc_table->rsrc, rsrc_table->num, in imx_scu_clk_is_valid()
/Linux-v6.6/drivers/hid/
Dhid-sensor-custom.c370 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()

12