Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/drivers/base/
Dcomponent.c43 int (*compare)(struct device *, void *); member
53 struct component_match_array *compare; member
98 struct component *component = match->compare[i].component; in component_devices_show()
162 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
184 struct component_match_array *mc = &match->compare[i]; in find_components()
189 if (match->compare[i].component) in find_components()
202 match->compare[i].duplicate = !!c->adev; in find_components()
203 match->compare[i].component = c; in find_components()
216 if (adev->match->compare[i].component == c) in remove_component()
217 adev->match->compare[i].component = NULL; in remove_component()
[all …]
/linux-6.1.9/lib/
Dmemcpy_kunit.c40 #define compare(name, one, two) do { \ macro
82 compare("static initializers", dest, zero); in memcpy_test()
86 compare("direct assignment", dest, control); in memcpy_test()
90 compare("complete overwrite", dest, zero); in memcpy_test()
95 compare("middle overwrite", dest, middle); in memcpy_test()
104 compare("argument side-effects", dest, three); in memcpy_test()
154 compare("static initializers", zero, dest); in memmove_test()
158 compare("direct assignment", dest, control); in memmove_test()
162 compare("complete overwrite", dest, zero); in memmove_test()
167 compare("middle overwrite", dest, middle); in memmove_test()
[all …]
/linux-6.1.9/arch/alpha/lib/
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
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-6.1.9/tools/testing/selftests/seccomp/
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-6.1.9/drivers/acpi/acpica/
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-6.1.9/net/batman-adv/
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-6.1.9/arch/sparc/kernel/
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-6.1.9/scripts/dtc/
Dof_unittest_expect29 sub compare { subroutine
307 if (compare($data, $begin)) {
332 } elsif (! compare($data, $begin)) {
361 if (compare($begin, $line)) {
369 while (! compare($begin, $line)) {
/linux-6.1.9/scripts/coccinelle/api/
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-6.1.9/include/linux/
Dcomponent.h101 int (*compare)(struct device *, void *), void *compare_data);
125 int (*compare)(struct device *, void *), void *compare_data) in component_match_add()
127 component_match_add_release(parent, matchptr, NULL, compare, in component_match_add()
/linux-6.1.9/scripts/
DMakefile.extrawarn37 KBUILD_CFLAGS += -Wno-sign-compare
63 KBUILD_CFLAGS += -Wno-sign-compare
65 KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
102 KBUILD_CFLAGS += -Wsign-compare
/linux-6.1.9/arch/x86/math-emu/
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-6.1.9/drivers/clocksource/
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-6.1.9/arch/mips/kvm/
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()
697 void kvm_mips_write_compare(struct kvm_vcpu *vcpu, u32 compare, bool ack) in kvm_mips_write_compare() argument
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()
[all …]
Dvz.c365 static void _kvm_vz_restore_stimer(struct kvm_vcpu *vcpu, u32 compare, in _kvm_vz_restore_stimer() argument
372 write_c0_gtoffset(compare - read_c0_count()); in _kvm_vz_restore_stimer()
388 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument
413 if (after_count - start_count > compare - start_count - 1) in _kvm_vz_restore_htimer()
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()
432 _kvm_vz_restore_stimer(vcpu, compare, cause); 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()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dnau8824.txt47 - nuvoton,sar-compare-time: SAR compare time
84 nuvoton,sar-compare-time = <1>;
Dnau8825.txt51 - nuvoton,sar-compare-time: SAR compare time
99 nuvoton,sar-compare-time = <0>;
/linux-6.1.9/Documentation/admin-guide/device-mapper/
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-6.1.9/fs/isofs/
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-6.1.9/Documentation/devicetree/bindings/timer/
Dnxp,tpm-timer.yaml13 The Timer/PWM Module (TPM) supports input capture, output compare,
15 management applications. The counter, compare and capture registers
Drenesas,mtu2.yaml15 and programmable compare match.
17 Channels share hardware resources but their counter and compare match value are
Drenesas,tmu.yaml15 programmable compare match.
17 Channels share hardware resources but their counter and compare match value
/linux-6.1.9/include/drm/
Ddrm_of.h38 int (*compare)(struct device *, void *),
75 int (*compare)(struct device *, void *), in drm_of_component_match_add()
/linux-6.1.9/arch/ia64/
DKconfig.debug41 bool "Turn on compare-and-exchange bug checking (slow!)"
45 compare-and-exchange instructions. This is slow! Itaniums

12345678