Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 177) sorted by relevance

12345678

/linux/lib/
A Dmemcpy_kunit.c41 #define compare(name, one, two) do { \ macro
84 compare("static initializers", dest, zero); in memcpy_test()
88 compare("direct assignment", dest, control); in memcpy_test()
92 compare("complete overwrite", dest, zero); in memcpy_test()
97 compare("middle overwrite", dest, middle); in memcpy_test()
156 compare("static initializers", zero, dest); in memmove_test()
160 compare("direct assignment", dest, control); in memmove_test()
164 compare("complete overwrite", dest, zero); in memmove_test()
169 compare("middle overwrite", dest, middle); in memmove_test()
251 compare("middle overwrite", dest, middle); in memset_test()
[all …]
/linux/drivers/base/
A Dcomponent.c47 int (*compare)(struct device *, void *); member
57 struct component_match_array *compare; member
166 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
193 if (match->compare[i].component) in find_components()
206 match->compare[i].component = c; in find_components()
302 kfree(match->compare); in devm_component_match_release()
316 if (match->compare) { in component_match_realloc()
319 kfree(match->compare); in component_match_realloc()
321 match->compare = new; in component_match_realloc()
330 int (*compare)(struct device *, void *), in __component_match_add()
[all …]
/linux/arch/alpha/lib/
A Ddivide.S57 #define compare $28 macro
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
A Dev6-divide.S67 #define compare $28 macro
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,tmp1,modulus # E : Latency 2, extra map slot
/linux/drivers/acpi/acpica/
A Dexmisc.c284 int compare; in acpi_ex_do_logical_op() local
379 compare = memcmp(operand0->buffer.pointer, in acpi_ex_do_logical_op()
388 if ((length0 == length1) && (compare == 0)) { in acpi_ex_do_logical_op()
398 if (compare > 0) { in acpi_ex_do_logical_op()
402 if (compare < 0) { in acpi_ex_do_logical_op()
415 if (compare > 0) { in acpi_ex_do_logical_op()
418 if (compare < 0) { in acpi_ex_do_logical_op()
/linux/tools/testing/selftests/seccomp/
A Dseccomp_benchmark.c100 long compare(const char *name_one, const char *name_eval, const char *name_two, in compare() function
222 ret |= compare("native", "≤", "1 bitmap", native, le, bitmap1); in main()
223 bits = compare("native", "≤", "1 filter", native, le, filter1); in main()
227 ret |= compare("per-filter (last 2 diff)", "≈", "per-filter (filters / 4)", in main()
230 bits = compare("1 bitmapped", "≈", "2 bitmapped", in main()
237 ret |= compare("entry", "≈", "1 bitmapped", entry, approx, bitmap1 - native); in main()
238 ret |= compare("entry", "≈", "2 bitmapped", entry, approx, bitmap2 - native); in main()
239 ret |= compare("native + entry + (per filter * 4)", "≈", "4 filters total", in main()
/linux/arch/sparc/kernel/
A Ddevices.c35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node()
38 if (!compare(nd, *cur_inst, compare_arg)) { in check_cpu_node()
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by()
63 compare, compare_arg, in __cpu_find_by()
/linux/net/batman-adv/
A Dhash.h76 batadv_hashdata_compare_cb compare, in batadv_hash_add() argument
97 if (!compare(node, data)) in batadv_hash_add()
130 batadv_hashdata_compare_cb compare, in batadv_hash_remove() argument
144 if (!compare(node, data)) in batadv_hash_remove()
/linux/scripts/coccinelle/api/
A Dcheck_bq27xxx_data.cocci84 List.sort compare i1regs_vals = List.sort compare i2regs_vals
120 List.sort compare i1dmregs_vals = List.sort compare i2dmregs_vals
156 List.sort compare i1props_vals = List.sort compare i2props_vals
/linux/scripts/
A DMakefile.extrawarn37 KBUILD_CFLAGS += -Wno-sign-compare
50 KBUILD_CFLAGS += -Wno-sign-compare
53 KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
88 KBUILD_CFLAGS += -Wsign-compare
/linux/include/linux/
A Dcomponent.h95 int (*compare)(struct device *, void *), void *compare_data);
119 int (*compare)(struct device *, void *), void *compare_data) in component_match_add()
121 component_match_add_release(master, matchptr, NULL, compare, in component_match_add()
/linux/arch/x86/math-emu/
A Dreg_compare.c24 static int compare(FPU_REG const *b, int tagb) in compare() function
174 c = compare(loaded_data, loaded_tag); in FPU_compare_st_data()
220 c = compare(st_ptr, FPU_gettagi(nr)); in compare_st_st()
267 c = compare(st_ptr, FPU_gettagi(nr)); in compare_i_st_st()
314 c = compare(st_ptr, FPU_gettagi(nr)); in compare_u_st_st()
365 c = compare(st_ptr, FPU_gettagi(nr)); in compare_ui_st_st()
/linux/arch/mips/kvm/
A Demulate.c389 u32 count, compare; in kvm_mips_read_count_running() local
394 compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_read_count_running()
400 if ((s32)(count - compare) < 0) in kvm_mips_read_count_running()
506 u32 compare; in kvm_mips_resume_hrtimer() local
511 compare = kvm_read_c0_guest_compare(cop0); in kvm_mips_resume_hrtimer()
512 delta = (u64)(u32)(compare - count - 1) + 1; in kvm_mips_resume_hrtimer()
702 s32 delta = compare - old_compare; in kvm_mips_write_compare()
708 if (old_compare == compare) { in kvm_mips_write_compare()
712 kvm_write_c0_guest_compare(cop0, compare); in kvm_mips_write_compare()
745 kvm_write_c0_guest_compare(cop0, compare); in kvm_mips_write_compare()
[all …]
A Dvz.c388 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument
426 u32 cause, compare; in kvm_vz_restore_timer() local
428 compare = kvm_read_sw_gc0_compare(cop0); in kvm_vz_restore_timer()
431 write_gc0_compare(compare); in kvm_vz_restore_timer()
471 u32 cause, compare, before_count, end_count; in _kvm_vz_save_htimer() local
474 compare = read_gc0_compare(); in _kvm_vz_save_htimer()
475 *out_compare = compare; in _kvm_vz_save_htimer()
521 u32 gctl0, compare, cause; in kvm_vz_save_timer() local
531 compare = read_gc0_compare(); in kvm_vz_save_timer()
537 kvm_write_sw_gc0_compare(cop0, compare); in kvm_vz_save_timer()
[all …]
/linux/drivers/clocksource/
A Dbcm2835_timer.c31 void __iomem *compare; member
49 timer->compare); in bcm2835_time_set_next_event()
108 timer->compare = base + REG_COMPARE(DEFAULT_TIMER); in bcm2835_timer_init()
/linux/Documentation/devicetree/bindings/sound/
A Dnau8824.txt47 - nuvoton,sar-compare-time: SAR compare time
84 nuvoton,sar-compare-time = <1>;
A Dnau8825.txt51 - nuvoton,sar-compare-time: SAR compare time
96 nuvoton,sar-compare-time = <0>;
/linux/Documentation/admin-guide/device-mapper/
A Ddm-service-time.rst60 the division and just compare the 'in-flight-size'.
63 and just compare the 'relative_throughput'.
70 compare service time.
72 'relative_throughput' may be better. So compare 'relative_throughput'
/linux/fs/isofs/
A Dnamei.c19 isofs_cmp(struct dentry *dentry, const char *compare, int dlen) in isofs_cmp() argument
22 qstr.name = compare; in isofs_cmp()
25 return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen); in isofs_cmp()
/linux/include/drm/
A Ddrm_of.h38 int (*compare)(struct device *, void *),
68 int (*compare)(struct device *, void *), in drm_of_component_match_add()
/linux/Documentation/devicetree/bindings/timer/
A Dnxp,tpm-timer.yaml13 The Timer/PWM Module (TPM) supports input capture, output compare,
15 management applications. The counter, compare and capture registers
A Drenesas,mtu2.yaml15 and programmable compare match.
17 Channels share hardware resources but their counter and compare match value are
A Drenesas,tmu.yaml15 programmable compare match.
17 Channels share hardware resources but their counter and compare match value
/linux/arch/ia64/
A DKconfig.debug41 bool "Turn on compare-and-exchange bug checking (slow!)"
45 compare-and-exchange instructions. This is slow! Itaniums
/linux/arch/arm/lib/
A Dlib1funcs.S245 subs r2, r1, #1 @ compare divisor with 1
247 cmpne r0, r1 @ compare dividend with divisor
315 subs r2, r1, #1 @ compare divisor with 1
316 cmpne r0, r1 @ compare dividend with divisor

Completed in 33 milliseconds

12345678