Searched refs:compare (Results 1 - 25 of 94) sorted by relevance

1234

/linux-master/drivers/base/
H A Dcomponent.c43 int (*compare)(struct device *, void *); member in struct:component_match_array
53 struct component_match_array *compare; member in struct:component_match
98 struct component *component = match->compare[i].component;
162 if (mc->compare && mc->compare(c->dev, mc->data))
184 struct component_match_array *mc = &match->compare[i];
189 if (match->compare[i].component)
202 match->compare[i].duplicate = !!c->adev;
203 match->compare[i].component = c;
216 if (adev->match->compare[
[all...]
/linux-master/arch/alpha/lib/
H A Ddivide.S46 * $28 - compare status
57 #define compare $28 define
125 1: cmpult divisor,modulus,compare
128 bne compare,1b
130 1: cmpult divisor,modulus,compare
134 bne compare,1b
141 cmpule divisor,modulus,compare
143 DIV_ONLY(cmovne compare,tmp2,quotient)
145 cmovne compare,tmp1,modulus
H A Dev6-divide.S46 * $28 - compare status
67 #define compare $28 define
144 1: cmpult divisor,modulus,compare # E :
147 bne compare,1b # U : U L U L
149 1: cmpult divisor,modulus,compare # E :
157 bne compare,1b # U : U L U L
172 cmpule divisor,modulus,compare # E :
176 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
182 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
187 cmovne compare,tmp
[all...]
/linux-master/arch/mips/include/asm/mach-rc32434/
H A Dtimer.h39 u32 compare; member in struct:timer_counter
/linux-master/arch/sparc/kernel/
H A Ddevices.c35 int (*compare)(phandle, int, void *), void *compare_arg,
38 if (!compare(nd, *cur_inst, compare_arg)) {
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), argument
63 compare, compare_arg,
34 check_cpu_node(phandle nd, int *cur_inst, int (*compare)(phandle, int, void *), void *compare_arg, phandle *prom_node, int *mid) argument
/linux-master/net/batman-adv/
H A Dhash.h21 /* callback to a compare function. should compare 2 element data for their
67 * @compare: callback to determine if 2 hash elements are identical
76 batadv_hashdata_compare_cb compare,
97 if (!compare(node, data))
119 * @compare: callback to determine if 2 hash elements are identical
130 batadv_hashdata_compare_cb compare,
144 if (!compare(node, data))
75 batadv_hash_add(struct batadv_hashtable *hash, batadv_hashdata_compare_cb compare, batadv_hashdata_choose_cb choose, const void *data, struct hlist_node *data_node) argument
129 batadv_hash_remove(struct batadv_hashtable *hash, batadv_hashdata_compare_cb compare, batadv_hashdata_choose_cb choose, void *data) argument
/linux-master/include/linux/
H A Dcomponent.h85 /* A set helper functions for component compare/release */
101 int (*compare)(struct device *, void *), void *compare_data);
110 * @compare: compare function to match against all components
111 * @compare_data: opaque pointer passed to the @compare function
125 int (*compare)(struct device *, void *), void *compare_data)
127 component_match_add_release(parent, matchptr, NULL, compare,
/linux-master/drivers/acpi/acpica/
H A Dexmisc.c284 int compare; local
377 /* Lexicographic compare: compare the data bytes */
379 compare = memcmp(operand0->buffer.pointer,
388 if ((length0 == length1) && (compare == 0)) {
398 if (compare > 0) {
402 if (compare < 0) {
406 /* Bytes match (to shortest length), compare lengths */
415 if (compare > 0) {
418 if (compare <
[all...]
/linux-master/scripts/dtc/
H A Dof_unittest_expect29 sub compare { subroutine
83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n";
314 if (compare($data, $begin)) {
340 } elsif (! compare($data, $begin) and ($data ne $begin)) {
388 if (compare($data, $begin)) {
423 if (! compare($data, $begin) and ($data ne $begin)) {
449 if (compare($begin, $line)) {
457 while (! compare($begin, $line)) {
472 if (compare($begin, $line)) {
480 while (! compare(
[all...]
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c106 long compare(const char *name_one, const char *name_eval, const char *name_two, function
277 ret |= compare("native", "���", "1 bitmap", native, le, bitmap1,
279 bits = compare("native", "���", "1 filter", native, le, filter1,
284 ret |= compare("per-filter (last 2 diff)", "���", "per-filter (filters / 4)",
287 bits = compare("1 bitmapped", "���", "2 bitmapped",
294 ret |= compare("entry", "���", "1 bitmapped", entry, approx,
296 ret |= compare("entry", "���", "2 bitmapped", entry, approx,
298 ret |= compare("native + entry + (per filter * 4)", "���", "4 filters total",
/linux-master/fs/isofs/
H A Dnamei.c19 isofs_cmp(struct dentry *dentry, const char *compare, int dlen) argument
22 qstr.name = compare;
25 return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen);
/linux-master/drivers/clocksource/
H A Dbcm2835_timer.c31 void __iomem *compare; member in struct:bcm2835_timer
49 timer->compare);
108 timer->compare = base + REG_COMPARE(DEFAULT_TIMER);
/linux-master/arch/x86/math-emu/
H A Dreg_compare.c15 | compare() is the core FPU_REG comparison function |
24 static int compare(FPU_REG const *b, int tagb) function
174 c = compare(loaded_data, loaded_tag);
220 c = compare(st_ptr, FPU_gettagi(nr));
267 c = compare(st_ptr, FPU_gettagi(nr));
314 c = compare(st_ptr, FPU_gettagi(nr));
365 c = compare(st_ptr, FPU_gettagi(nr));
453 /* P6+ compare-to-EFLAGS ops */
/linux-master/lib/
H A Dmemcpy_kunit.c40 #define compare(name, one, two) do { \ macro
82 compare("static initializers", dest, zero);
86 compare("direct assignment", dest, control);
90 compare("complete overwrite", dest, zero);
95 compare("middle overwrite", dest, middle);
104 compare("argument side-effects", dest, three);
156 compare("static initializers", zero, dest);
160 compare("direct assignment", dest, control);
164 compare("complete overwrite", dest, zero);
169 compare("middl
[all...]
/linux-master/scripts/
H A DMakefile.extrawarn134 KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
137 KBUILD_CFLAGS += -Wno-enum-compare-conditional
184 KBUILD_CFLAGS += -Wsign-compare
192 KBUILD_CFLAGS += -Wno-sign-compare
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_wqe.h98 __be64 compare; member in struct:mthca_atomic_seg
/linux-master/include/drm/
H A Ddrm_of.h40 int (*compare)(struct device *, void *),
77 int (*compare)(struct device *, void *),
/linux-master/arch/mips/kvm/
H A Demulate.c389 u32 count, compare; local
394 compare = kvm_read_c0_guest_compare(cop0);
400 if ((s32)(count - compare) < 0)
506 u32 compare; local
511 compare = kvm_read_c0_guest_compare(cop0);
512 delta = (u64)(u32)(compare - count - 1) + 1;
688 * kvm_mips_write_compare() - Modify compare and update timer.
690 * @compare: New CP0_Compare value.
697 void kvm_mips_write_compare(struct kvm_vcpu *vcpu, u32 compare, bool ack) argument
702 s32 delta = compare
859 u32 count, compare; local
[all...]
H A Dvz.c359 * @compare: CP0_Compare register value, restored by caller.
365 static void _kvm_vz_restore_stimer(struct kvm_vcpu *vcpu, u32 compare, argument
372 write_c0_gtoffset(compare - read_c0_count());
381 * @compare: CP0_Compare register value, restored by caller.
388 u32 compare, u32 cause)
413 if (after_count - start_count > compare - start_count - 1)
426 u32 cause, compare; local
428 compare = kvm_read_sw_gc0_compare(cop0);
431 write_gc0_compare(compare);
432 _kvm_vz_restore_stimer(vcpu, compare, caus
387 _kvm_vz_restore_htimer(struct kvm_vcpu *vcpu, u32 compare, u32 cause) argument
471 u32 cause, compare, before_count, end_count; local
521 u32 gctl0, compare, cause; local
549 u32 gctl0, compare, cause; local
[all...]
/linux-master/arch/s390/purgatory/
H A DMakefile25 KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare
/linux-master/arch/sparc/
H A DMakefile48 KBUILD_CFLAGS += -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare
/linux-master/include/uapi/linux/
H A Drds.h372 __u64 compare; member in struct:rds_atomic_args::__anon358::__anon359
379 __u64 compare; member in struct:rds_atomic_args::__anon358::__anon361
/linux-master/drivers/gpu/drm/
H A Ddrm_of.c86 * @compare: compare function used for matching component
91 int (*compare)(struct device *, void *),
96 compare, node);
103 * @compare_of: compare function used for matching components
/linux-master/drivers/md/dm-vdo/indexer/
H A Dradix-sort.c66 static inline int compare(sort_key_t key1, sort_key_t key2, u16 offset, u16 length) function
79 (compare(unsorted, next[0], task.offset, task.length) < 0))
/linux-master/scripts/kconfig/tests/
H A Dconftest.py26 stdout, and stderr. It also provides methods to compare those
228 def _read_and_compare(self, compare, expected):
231 compare: function to compare the result with expectation
236 return compare(self, expected_data)

Completed in 419 milliseconds

1234