Searched refs:bsearch (Results 26 - 50 of 52) sorted by relevance

123

/linux-master/drivers/md/persistent-data/
H A Ddm-btree.c44 static int bsearch(struct btree_node *n, uint64_t key, int want_hi) function
66 return bsearch(n, key, 0);
71 return bsearch(n, key, 1);
/linux-master/tools/perf/
H A Dbuiltin-kmem.c429 caller = bsearch(&key, alloc_func_list, nr_alloc_funcs,
747 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp);
770 if (bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp))
H A Dbuiltin-trace.c1182 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp);
1723 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp);
1975 in_ev_qualifier = bsearch(&id, trace->ev_qualifier_ids.entries,
/linux-master/kernel/
H A Dkallsyms.c32 #include <linux/bsearch.h>
/linux-master/scripts/
H A Dasn1_compiler.c442 dir = bsearch(&tokens[tix], directives,
1012 ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]),
/linux-master/arch/powerpc/kernel/
H A Drtas.c12 #include <linux/bsearch.h>
594 found = bsearch(&key, rtas_function_table, ARRAY_SIZE(rtas_function_table),
/linux-master/drivers/media/rc/
H A Drc-main.c9 #include <linux/bsearch.h>
527 res = bsearch(&scancode, rc_map->scan, rc_map->len,
/linux-master/kernel/sched/
H A Dtopology.c6 #include <linux/bsearch.h>
2169 hop_masks = bsearch(&k, k.masks, sched_domains_numa_levels, sizeof(k.masks[0]), hop_cmp);
/linux-master/lib/
H A DMakefile48 bsearch.o find_bit.o llist.o lwq.o memweight.o kfifo.o \
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c24 #include <linux/bsearch.h>
/linux-master/kernel/module/
H A Dmain.c55 #include <linux/bsearch.h>
286 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start,
/linux-master/kernel/trace/
H A Dftrace.c27 #include <linux/bsearch.h>
1574 rec = bsearch(&key, pg->records, pg->index,
7169 rec = bsearch(&key, pg->records, pg->index,
8118 sym = bsearch(&name, args->syms, args->cnt, sizeof(*args->syms), symbols_cmp);
H A Dbpf_trace.c22 #include <linux/bsearch.h>
2803 addr = bsearch(&entry_ip, link->addrs, link->cnt, sizeof(entry_ip),
/linux-master/tools/perf/util/
H A Dannotate.c793 ins = bsearch(name, arch->instructions, nmemb, sizeof(struct ins), ins__key_cmp);
812 ins = bsearch(tmp, arch->instructions, nmemb, sizeof(struct ins), ins__key_cmp);
859 return bsearch(name, architectures, nmemb, sizeof(struct arch), arch__key_cmp);
H A Dsymbol-elf.c613 vr = bsearch(&vi, di->sorted, di->nr_entries, sizeof(di->sorted[0]), cmp_offset);
/linux-master/arch/x86/kernel/
H A Dalternative.c19 #include <linux/bsearch.h>
/linux-master/arch/arm64/kernel/
H A Dcpufeature.c65 #include <linux/bsearch.h>
834 ret = bsearch((const void *)(unsigned long)sys_id,
/linux-master/drivers/tty/vt/
H A Dvt.c107 #include <linux/bsearch.h>
2748 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width),
/linux-master/kernel/bpf/
H A Dbtf.c26 #include <linux/bsearch.h>
5495 return bsearch(&btf_id, tab->types, tab->cnt, sizeof(tab->types[0]), btf_id_cmp_func);
8260 dtor = bsearch(&btf_id, tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func);
H A Dsyscall.c9 #include <linux/bsearch.h>
534 field = bsearch(&offset, rec->fields, rec->cnt, sizeof(rec->fields[0]), btf_field_cmp);
/linux-master/fs/btrfs/
H A Dsend.c6 #include <linux/bsearch.h>
1348 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots,
1479 root = bsearch((void *)(uintptr_t)root_id, sctx->clone_roots,
8321 /* We do a bsearch later */
/linux-master/virt/kvm/
H A Dkvm_main.c50 #include <linux/bsearch.h>
5750 range = bsearch(&key, bus->range, bus->dev_count,
/linux-master/drivers/block/
H A Drbd.c38 #include <linux/bsearch.h>
1118 * Snapshot id comparison function for use with qsort()/bsearch().
1146 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps,
/linux-master/fs/bcachefs/
H A Dfsck.c20 #include <linux/bsearch.h>
/linux-master/arch/arm64/kvm/
H A Dsys_regs.c13 #include <linux/bsearch.h>

Completed in 707 milliseconds

123