Home
last modified time | relevance | path

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

12

/Linux-v4.19/lib/
Dbsearch.c33 void *bsearch(const void *key, const void *base, size_t num, size_t size, in bsearch() function
55 EXPORT_SYMBOL(bsearch);
Dextable.c123 return bsearch(&value, base, num, in search_extable()
DMakefile39 bsearch.o find_bit.o llist.o memweight.o kfifo.o \
/Linux-v4.19/include/linux/
Dbsearch.h7 void *bsearch(const void *key, const void *base, size_t num, size_t size,
/Linux-v4.19/arch/sh/mm/
Dextable_64.c69 return bsearch(&value, base, num, in search_extable()
/Linux-v4.19/tools/perf/tests/
Ddwarf-unwind.c146 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
/Linux-v4.19/tools/perf/util/
Dsyscalltbl.c118 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
Dannotate.c659 ins = bsearch(name, arch->instructions, nmemb, sizeof(struct ins), ins__key_cmp); in __ins__find()
705 return bsearch(name, architectures, nmemb, sizeof(struct arch), arch__key_cmp); in arch__find()
2805 cfg = bsearch(name, annotation__configs, ARRAY_SIZE(annotation__configs), in annotation__config()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c187 ret = bsearch(&cmd, arr->arr, arr->size, size, iwl_hcmd_names_cmp); in iwl_get_cmd_string()
/Linux-v4.19/drivers/sh/intc/
Dchip.c126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
/Linux-v4.19/drivers/md/bcache/
Djournal.c185 goto bsearch; in bch_journal_read()
199 goto bsearch; in bch_journal_read()
204 bsearch: in bch_journal_read()
/Linux-v4.19/tools/bpf/bpftool/
Dxlated_dumper.c113 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
/Linux-v4.19/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-v4.19/drivers/clk/keystone/
Dsci-clk.c378 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
/Linux-v4.19/kernel/
Duser_namespace.c268 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
355 return bsearch(&key, map->reverse, extents, in map_id_up_max()
/Linux-v4.19/tools/perf/
Dbuiltin-kmem.c406 caller = bsearch(&key, alloc_func_list, nr_alloc_funcs, in find_callsite()
722 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp); in compact_gfp_string()
745 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
/Linux-v4.19/drivers/base/regmap/
Dregcache.c655 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults, in regcache_lookup_reg()
/Linux-v4.19/drivers/iio/dac/
Dad5758.c707 index = bsearch(&tmp, ad5758_dc_dc_ilim, in ad5758_parse_dt()
/Linux-v4.19/scripts/
Dasn1_compiler.c446 dir = bsearch(&tokens[tix], directives, in tokenise()
1016 ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]), in parse_type()
/Linux-v4.19/drivers/hid/
Dhid-sensor-custom.c377 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-mmio.c626 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region()
/Linux-v4.19/tools/lib/traceevent/
Devent-parse.c191 comm = bsearch(&key, pevent->cmdlines, pevent->cmdline_count, in find_cmdline()
220 comm = bsearch(&key, pevent->cmdlines, pevent->cmdline_count, in tep_pid_is_registered()
245 cmdline = bsearch(&key, pevent->cmdlines, pevent->cmdline_count, in add_new_comm()
420 func = bsearch(&key, pevent->func_map, pevent->func_count, in __find_func()
667 printk = bsearch(&key, pevent->printk_map, pevent->printk_count, in find_printk()
3475 eventptr = bsearch(&pkey, pevent->events, pevent->nr_events, in tep_find_event()
/Linux-v4.19/arch/arm/kvm/
Dcoproc.c576 return bsearch((void *)pval, table, num, sizeof(table[0]), match_reg); in find_reg()
/Linux-v4.19/arch/arm64/kernel/
Dcpufeature.c420 ret = bsearch((const void *)(unsigned long)sys_id, in get_arm64_ftr_reg()
/Linux-v4.19/drivers/media/rc/
Drc-main.c487 res = bsearch(&scancode, rc_map->scan, rc_map->len, in ir_lookup_by_scancode()

12