Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/include/linux/
Dbsearch.h30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
/linux-6.1.9/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-6.1.9/tools/perf/util/
Dsyscalltbl.c115 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
/linux-6.1.9/tools/perf/tests/
Ddwarf-unwind.c164 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
/linux-6.1.9/drivers/sh/intc/
Dchip.c126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
/linux-6.1.9/kernel/kcsan/
Ddebugfs.c123 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
/linux-6.1.9/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-6.1.9/drivers/md/bcache/
Djournal.c206 goto bsearch; in bch_journal_read()
217 goto bsearch; in bch_journal_read()
222 bsearch: in bch_journal_read()
/linux-6.1.9/tools/bpf/bpftool/
Dxlated_dumper.c79 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
/linux-6.1.9/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-6.1.9/drivers/md/persistent-data/
Ddm-btree.c41 static int bsearch(struct btree_node *n, uint64_t key, int want_hi) in bsearch() function
63 return bsearch(n, key, 0); in lower_bound()
68 return bsearch(n, key, 1); in upper_bound()
/linux-6.1.9/tools/perf/
Dbuiltin-kmem.c420 caller = bsearch(&key, alloc_func_list, nr_alloc_funcs, in find_callsite()
737 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp); in compact_gfp_string()
760 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
/linux-6.1.9/arch/x86/kvm/
Dpmu.c277 if (bsearch(&key, filter->events, filter->nevents, in check_pmu_event_filter()
/linux-6.1.9/kernel/module/
Dkallsyms.c19 return bsearch(name, start, stop - start, in lookup_exported_symbol()
/linux-6.1.9/drivers/clk/keystone/
Dsci-clk.c389 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
/linux-6.1.9/drivers/base/regmap/
Dregcache.c658 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults, in regcache_lookup_reg()
/linux-6.1.9/drivers/iio/dac/
Dad5758.c708 index = bsearch(&tmp, ad5758_dc_dc_ilim, in ad5758_parse_dt()
/linux-6.1.9/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-6.1.9/tools/lib/traceevent/
Devent-parse.c206 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline()
235 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in tep_is_pid_registered()
263 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count, in add_new_comm()
302 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1, in add_new_comm()
487 func = bsearch(&key, tep->func_map, tep->func_count, in __find_func()
733 printk = bsearch(&key, tep->printk_map, tep->printk_count, in find_printk()
3598 eventptr = bsearch(&pkey, tep->events, tep->nr_events, in tep_find_event()
/linux-6.1.9/drivers/clk/imx/
Dclk-scu.c186 p = bsearch(&rsrc_id, rsrc_table->rsrc, rsrc_table->num, in imx_scu_clk_is_valid()
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c305 if (bsearch(&entry, regset->registers, count, in guc_mmio_reg_add()
/linux-6.1.9/drivers/hid/
Dhid-sensor-custom.c369 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()

12