/kernel/linux/linux-5.10/drivers/base/ |
H A D | component.c | 48 int (*compare)(struct device *, void *); member 58 struct component_match_array *compare; member 104 struct component *component = match->compare[i].component; in component_devices_show() 170 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component() 192 struct component_match_array *mc = &match->compare[i]; in find_components() 197 if (match->compare[i].component) in find_components() 209 match->compare[i].duplicate = !!c->master; in find_components() 210 match->compare[i].component = c; in find_components() 223 if (master->match->compare[ in remove_component() [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | component.c | 43 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[ in remove_component() [all...] |
/kernel/linux/linux-5.10/arch/alpha/lib/ |
H A D | divide.S | 46 * $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 D | ev6-divide.S | 46 * $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...] |
/kernel/linux/linux-6.6/arch/alpha/lib/ |
H A D | divide.S | 46 * $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 D | ev6-divide.S | 46 * $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...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | of_unittest_expect | 29 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...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exmisc.c | 284 int compare; in acpi_ex_do_logical_op() local 377 /* Lexicographic compare: compare the data bytes */ in acpi_ex_do_logical_op() 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() 406 /* Bytes match (to shortest length), compare lengths */ in acpi_ex_do_logical_op() 415 if (compare > 0) { in acpi_ex_do_logical_op() 418 if (compare < in acpi_ex_do_logical_op() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exmisc.c | 284 int compare; in acpi_ex_do_logical_op() local 377 /* Lexicographic compare: compare the data bytes */ in acpi_ex_do_logical_op() 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() 406 /* Bytes match (to shortest length), compare lengths */ in acpi_ex_do_logical_op() 415 if (compare > 0) { in acpi_ex_do_logical_op() 418 if (compare < in acpi_ex_do_logical_op() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 100 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()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_pid_container_031.cpp | 62 ret = linkBuffer2.compare(linkBuffer1); in ChildFun() 85 ret = linkBuffer6.compare(linkBuffer1); in ChildFun() 91 ret = linkBuffer3.compare(linkBuffer2); in ChildFun() 102 ret = linkBuffer4.compare(linkBuffer3); in ChildFun() 113 ret = linkBuffer5.compare(linkBuffer4); in ChildFun()
|
H A D | It_pid_container_025.cpp | 51 ret = linkBuffer.compare(linkBuffer1); in ItPidContainer025() 67 ret = linkBuffer.compare(linkBuffer2); in ItPidContainer025()
|
H A D | It_time_container_001.cpp | 55 ret = linkBuffer.compare(linkBuffer1); in ItTimeContainer001() 63 ret = linkBuffer.compare(linkBuffer2); in ItTimeContainer001()
|
H A D | It_pid_container_026.cpp | 52 ret = linkBuffer.compare(linkBuffer1); in ItPidContainer026() 59 ret = linkBuffer.compare(linkBuffer2); in ItPidContainer026()
|
H A D | It_time_container_010.cpp | 54 ret = linkBuffer.compare(linkBuffer1); in ItTimeContainer010() 71 ret = linkBuffer.compare(linkBuffer2); in ItTimeContainer010()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | devices.c | 35 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() argument 63 compare, compare_arg, in __cpu_find_by() 34 check_cpu_node(phandle nd, int *cur_inst, int (*compare)(phandle, int, void *), void *compare_arg, phandle *prom_node, int *mid) check_cpu_node() argument
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | devices.c | 35 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() argument 63 compare, compare_arg, in __cpu_find_by() 34 check_cpu_node(phandle nd, int *cur_inst, int (*compare)(phandle, int, void *), void *compare_arg, phandle *prom_node, int *mid) check_cpu_node() argument
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | hash.h | 21 /* callback to a compare function. should compare 2 element datas for their 67 * @compare: callback to determine if 2 hash elements are identical 76 batadv_hashdata_compare_cb compare, in batadv_hash_add() 97 if (!compare(node, data)) in batadv_hash_add() 119 * @compare: callback to determine if 2 hash elements are identical 130 batadv_hashdata_compare_cb compare, in batadv_hash_remove() 144 if (!compare(node, data)) in batadv_hash_remove() 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) batadv_hash_add() argument 129 batadv_hash_remove(struct batadv_hashtable *hash, batadv_hashdata_compare_cb compare, batadv_hashdata_choose_cb choose, void *data) batadv_hash_remove() argument
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | hash.h | 21 /* 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, in batadv_hash_add() 97 if (!compare(node, data)) in batadv_hash_add() 119 * @compare: callback to determine if 2 hash elements are identical 130 batadv_hashdata_compare_cb compare, in batadv_hash_remove() 144 if (!compare(node, data)) in batadv_hash_remove() 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) batadv_hash_add() argument 129 batadv_hash_remove(struct batadv_hashtable *hash, batadv_hashdata_compare_cb compare, batadv_hashdata_choose_cb choose, void *data) batadv_hash_remove() argument
|
/kernel/linux/linux-6.6/lib/ |
H A D | memcpy_kunit.c | 40 #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() 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("middl in memmove_test() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | component.h | 95 int (*compare)(struct device *, void *), void *compare_data); 104 * @compare: compare function to match against all components 105 * @compare_data: opaque pointer passed to the @compare function 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | component.h | 85 /* 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) in component_match_add() 127 component_match_add_release(parent, matchptr, NULL, compare, in component_match_add()
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | reg_compare.c | 15 | compare() is the core FPU_REG comparison function | 24 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() 453 /* P6+ compare-to-EFLAGS ops */
|
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | reg_compare.c | 15 | compare() is the core FPU_REG comparison function | 24 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() 453 /* P6+ compare-to-EFLAGS ops */
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | bcm2835_timer.c | 31 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()
|