| /Linux-v6.6/lib/ |
| 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);
|
| D | extable.c | 116 return bsearch(&value, base, num, in search_extable()
|
| D | Makefile | 48 bsearch.o find_bit.o llist.o memweight.o kfifo.o \
|
| /Linux-v6.6/include/linux/ |
| D | bsearch.h | 30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
|
| D | btf.h | 477 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/ |
| 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-v6.6/tools/perf/tests/ |
| D | dwarf-unwind.c | 165 void *fp = &bsearch; in test_dwarf_unwind__krava_3()
|
| /Linux-v6.6/tools/perf/util/ |
| D | syscalltbl.c | 119 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
|
| /Linux-v6.6/drivers/sh/intc/ |
| D | chip.c | 126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp); in intc_find_irq()
|
| /Linux-v6.6/kernel/kcsan/ |
| D | debugfs.c | 123 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
|
| /Linux-v6.6/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-trans.c | 231 ret = bsearch(&cmd, arr->arr, arr->size, size, iwl_hcmd_names_cmp); in iwl_get_cmd_string()
|
| /Linux-v6.6/drivers/md/bcache/ |
| D | journal.c | 207 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/ |
| D | elf.c | 336 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp); in elf_resolve_syms_offsets()
|
| /Linux-v6.6/tools/bpf/bpftool/ |
| D | xlated_dumper.c | 85 bsearch(&sym, dd->sym_mapping, dd->sym_count, in kernel_syms_search()
|
| /Linux-v6.6/kernel/ |
| D | user_namespace.c | 284 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/ |
| 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-v6.6/tools/perf/ |
| 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() 770 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp)) in parse_gfp_flags()
|
| /Linux-v6.6/kernel/module/ |
| D | kallsyms.c | 20 return bsearch(name, start, stop - start, in lookup_exported_symbol()
|
| /Linux-v6.6/drivers/clk/keystone/ |
| D | sci-clk.c | 390 clk = bsearch(&key, provider->clocks, provider->num_clocks, in sci_clk_get()
|
| /Linux-v6.6/drivers/base/regmap/ |
| D | regcache.c | 668 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults, in regcache_lookup_reg()
|
| /Linux-v6.6/drivers/iio/dac/ |
| D | ad5758.c | 708 index = bsearch(&tmp, ad5758_dc_dc_ilim, in ad5758_parse_dt()
|
| /Linux-v6.6/scripts/ |
| D | asn1_compiler.c | 442 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/ |
| D | pmu.c | 280 u64 *fe = bsearch(&key, events, nevents, sizeof(events[0]), in find_filter_index()
|
| /Linux-v6.6/drivers/clk/imx/ |
| D | clk-scu.c | 186 p = bsearch(&rsrc_id, rsrc_table->rsrc, rsrc_table->num, in imx_scu_clk_is_valid()
|
| /Linux-v6.6/drivers/hid/ |
| D | hid-sensor-custom.c | 370 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
|