/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree.c | 44 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 D | builtin-kmem.c | 429 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 D | builtin-trace.c | 1182 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 D | kallsyms.c | 32 #include <linux/bsearch.h>
|
/linux-master/scripts/ |
H A D | asn1_compiler.c | 442 dir = bsearch(&tokens[tix], directives, 1012 ref = bsearch(cursor, type_index, nr_types, sizeof(type_index[0]),
|
/linux-master/arch/powerpc/kernel/ |
H A D | rtas.c | 12 #include <linux/bsearch.h> 594 found = bsearch(&key, rtas_function_table, ARRAY_SIZE(rtas_function_table),
|
/linux-master/drivers/media/rc/ |
H A D | rc-main.c | 9 #include <linux/bsearch.h> 527 res = bsearch(&scancode, rc_map->scan, rc_map->len,
|
/linux-master/kernel/sched/ |
H A D | topology.c | 6 #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 D | Makefile | 48 bsearch.o find_bit.o llist.o lwq.o memweight.o kfifo.o \
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 24 #include <linux/bsearch.h>
|
/linux-master/kernel/module/ |
H A D | main.c | 55 #include <linux/bsearch.h> 286 sym = bsearch(fsa->name, syms->start, syms->stop - syms->start,
|
/linux-master/kernel/trace/ |
H A D | ftrace.c | 27 #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 D | bpf_trace.c | 22 #include <linux/bsearch.h> 2803 addr = bsearch(&entry_ip, link->addrs, link->cnt, sizeof(entry_ip),
|
/linux-master/tools/perf/util/ |
H A D | annotate.c | 793 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 D | symbol-elf.c | 613 vr = bsearch(&vi, di->sorted, di->nr_entries, sizeof(di->sorted[0]), cmp_offset);
|
/linux-master/arch/x86/kernel/ |
H A D | alternative.c | 19 #include <linux/bsearch.h>
|
/linux-master/arch/arm64/kernel/ |
H A D | cpufeature.c | 65 #include <linux/bsearch.h> 834 ret = bsearch((const void *)(unsigned long)sys_id,
|
/linux-master/drivers/tty/vt/ |
H A D | vt.c | 107 #include <linux/bsearch.h> 2748 return bsearch(&ucs, double_width, ARRAY_SIZE(double_width),
|
/linux-master/kernel/bpf/ |
H A D | btf.c | 26 #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 D | syscall.c | 9 #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 D | send.c | 6 #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 D | kvm_main.c | 50 #include <linux/bsearch.h> 5750 range = bsearch(&key, bus->range, bus->dev_count,
|
/linux-master/drivers/block/ |
H A D | rbd.c | 38 #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 D | fsck.c | 20 #include <linux/bsearch.h>
|
/linux-master/arch/arm64/kvm/ |
H A D | sys_regs.c | 13 #include <linux/bsearch.h>
|