Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c120 return bsearch(&value, base, num, in search_extable()
DMakefile50 bsearch.o find_bit.o llist.o memweight.o kfifo.o \
/kernel/linux/linux-5.10/include/linux/
Dbsearch.h30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_routes.c385 return bsearch(&destination, valid_routes->routes, in ni_find_route_set()
400 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int), in ni_route_set_has_source()
/kernel/linux/linux-5.10/tools/perf/tests/
Ddwarf-unwind.c151 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
/kernel/linux/linux-5.10/tools/perf/util/
Dsyscalltbl.c111 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
/kernel/linux/linux-5.10/drivers/sh/intc/
Dchip.c126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c250 ret = bsearch(&cmd, arr->arr, arr->size, size, iwl_hcmd_names_cmp); in iwl_get_cmd_string()
/kernel/linux/linux-5.10/kernel/kcsan/
Ddebugfs.c118 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
/kernel/linux/linux-5.10/drivers/md/bcache/
Djournal.c208 goto bsearch; in bch_journal_read()
219 goto bsearch; in bch_journal_read()
224 bsearch: in bch_journal_read()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dxlated_dumper.c78 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dpmu.c204 if (bsearch(&key, filter->events, filter->nevents, in reprogram_gp_counter()
/kernel/linux/linux-5.10/kernel/
Duser_namespace.c263 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
350 return bsearch(&key, map->reverse, extents, in map_id_up_max()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-kmem.c408 caller = bsearch(&key, alloc_func_list, nr_alloc_funcs, in find_callsite()
725 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp); in compact_gfp_string()
748 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
Dbuiltin-trace.c1164 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp); in __syscall_fmt__find()
1676 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp); in __syscall_arg_fmt__find_by_name()
1927 in_ev_qualifier = bsearch(&id, trace->ev_qualifier_ids.entries, in trace__syscall_enabled()
/kernel/linux/linux-5.10/drivers/clk/keystone/
Dsci-clk.c397 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
/kernel/linux/linux-5.10/drivers/iio/dac/
Dad5758.c709 index = bsearch(&tmp, ad5758_dc_dc_ilim, in ad5758_parse_dt()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregcache.c651 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults, in regcache_lookup_reg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
3584 eventptr = bsearch(&pkey, tep->events, tep->nr_events, in tep_find_event()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-sensor-custom.c366 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio.c832 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region()
/kernel/linux/linux-5.10/drivers/media/rc/
Drc-main.c527 res = bsearch(&scancode, rc_map->scan, rc_map->len, in ir_lookup_by_scancode()

12