/linux-master/lib/ |
H A D | bsearch.c | 10 #include <linux/bsearch.h> 14 * bsearch - binary search an array of elements 29 * the same comparison function for both sort() and bsearch(). 31 void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) function 35 EXPORT_SYMBOL(bsearch); variable 36 NOKPROBE_SYMBOL(bsearch); variable
|
H A D | extable.c | 8 #include <linux/bsearch.h> 116 return bsearch(&value, base, num,
|
/linux-master/include/linux/ |
H A D | bsearch.h | 30 extern void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp);
|
H A D | btf.h | 9 #include <linux/bsearch.h> 490 return bsearch(&id, set->ids, set->cnt, sizeof(u32), btf_id_cmp_func) != NULL; 495 return bsearch(&id, set->pairs, set->cnt, sizeof(set->pairs[0]), btf_id_cmp_func);
|
/linux-master/drivers/sh/intc/ |
H A D | chip.c | 12 #include <linux/bsearch.h> 126 return bsearch(&key, hp, nr_hp, sizeof(*hp), intc_handle_int_cmp);
|
/linux-master/drivers/comedi/drivers/ |
H A D | ni_routes.c | 22 #include <linux/bsearch.h> 381 return bsearch(&destination, valid_routes->routes, 396 if (!bsearch(&source, routes->src, routes->n_src, sizeof(int),
|
/linux-master/kernel/kcsan/ |
H A D | debugfs.c | 11 #include <linux/bsearch.h> 123 ret = !!bsearch(&func_addr, report_filterlist.addrs,
|
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.c | 8 #include <linux/bsearch.h> 227 ret = bsearch(&cmd, arr->arr, arr->size, size, iwl_hcmd_names_cmp);
|
/linux-master/tools/perf/tests/ |
H A D | dwarf-unwind.c | 20 /* For bsearch. We try to unwind functions in shared object. */ 82 "bsearch", 165 void *fp = &bsearch; 169 * bsearch and call compare directly from this function,
|
/linux-master/tools/perf/util/ |
H A D | syscalltbl.c | 119 struct syscall *sc = bsearch(name, tbl->syscalls.entries,
|
H A D | maps.c | 397 bsearch(&map, maps__maps_by_address(maps), maps__nr_maps(maps), 418 bsearch(&map, maps_by_name, maps__nr_maps(maps), 972 bsearch(&ip, maps__maps_by_address(maps), maps__nr_maps(maps), 1018 bsearch(name, maps__maps_by_name(maps), maps__nr_maps(maps),
|
/linux-master/kernel/module/ |
H A D | kallsyms.c | 12 #include <linux/bsearch.h> 20 return bsearch(name, start, stop - start,
|
/linux-master/arch/arm64/kvm/ |
H A D | sys_regs.h | 14 #include <linux/bsearch.h>
|
/linux-master/drivers/iio/dac/ |
H A D | ad5758.c | 9 #include <linux/bsearch.h> 708 index = bsearch(&tmp, ad5758_dc_dc_ilim,
|
/linux-master/drivers/base/regmap/ |
H A D | regcache.c | 9 #include <linux/bsearch.h> 699 r = bsearch(&key, map->reg_defaults, map->num_reg_defaults,
|
/linux-master/drivers/clk/keystone/ |
H A D | sci-clk.c | 16 #include <linux/bsearch.h> 390 clk = bsearch(&key, provider->clocks, provider->num_clocks,
|
/linux-master/drivers/md/bcache/ |
H A D | journal.c | 207 goto bsearch; 218 goto bsearch; 223 bsearch:
|
/linux-master/kernel/ |
H A D | user_namespace.c | 22 #include <linux/bsearch.h> 245 * cmp_map_id - Function to be passed to bsearch() to find the requested 287 return bsearch(&key, map->forward, extents, 374 return bsearch(&key, map->reverse, extents,
|
/linux-master/tools/bpf/bpftool/ |
H A D | xlated_dumper.c | 85 bsearch(&sym, dd->sym_mapping, dd->sym_count,
|
/linux-master/tools/lib/bpf/ |
H A D | elf.c | 454 found = bsearch(&tmp, symbols, cnt, sizeof(*symbols), symbol_cmp);
|
/linux-master/drivers/hid/ |
H A D | hid-sensor-custom.c | 17 #include <linux/bsearch.h> 370 usage_desc = bsearch(&usage, hid_custom_usage_desc_table,
|
/linux-master/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.c | 7 #include <linux/bsearch.h> 839 return bsearch((void *)(uintptr_t)offset, regions, nr_regions,
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ads.c | 6 #include <linux/bsearch.h> 299 if (bsearch(&entry, regset->registers, count,
|
/linux-master/drivers/clk/imx/ |
H A D | clk-scu.c | 9 #include <linux/bsearch.h> 188 p = bsearch(&rsrc_id, rsrc_table->rsrc, rsrc_table->num,
|
/linux-master/arch/x86/kvm/ |
H A D | pmu.c | 17 #include <linux/bsearch.h> 350 u64 *fe = bsearch(&key, events, nevents, sizeof(events[0]),
|