Home
last modified time | relevance | path

Searched refs:found (Results 1 – 20 of 20) sorted by relevance

/lib/tests/
A Dtest_linear_ranges.c139 bool found; in range_test_get_selector_high() local
143 &sel, &found); in range_test_get_selector_high()
146 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_high()
150 &sel, &found); in range_test_get_selector_high()
154 &sel, &found); in range_test_get_selector_high()
156 KUNIT_EXPECT_FALSE(test, found); in range_test_get_selector_high()
172 bool found; in range_test_get_selector_low() local
177 &found); in range_test_get_selector_low()
180 KUNIT_EXPECT_TRUE(test, found); in range_test_get_selector_low()
185 &found); in range_test_get_selector_low()
[all …]
A Dutil_macros_kunit.c15 int found = find_closest(i, array, ARRAY_SIZE(array)); \
16 KUNIT_ASSERT_EQ(ctx, exp_idx, found); \
122 int found = find_closest_descending(i, array, \
124 KUNIT_ASSERT_EQ(ctx, exp_idx, found); \
/lib/
A Dlinear_ranges.c140 bool *found) in linear_range_get_selector_low() argument
142 *found = false; in linear_range_get_selector_low()
152 *found = true; in linear_range_get_selector_low()
184 unsigned int *selector, bool *found) in linear_range_get_selector_low_array() argument
193 found); in linear_range_get_selector_low_array()
197 if (*found) in linear_range_get_selector_low_array()
221 bool *found) in linear_range_get_selector_high() argument
223 *found = false; in linear_range_get_selector_high()
233 *found = true; in linear_range_get_selector_high()
A Dis_single_threaded.c38 goto found; in current_is_single_threaded()
50 found: in current_is_single_threaded()
A Dstackdepot.c639 struct stack_record *found = NULL; in stack_depot_save_flags() local
668 found = find_stack(bucket, entries, nr_entries, hash, depot_flags); in stack_depot_save_flags()
669 if (found) in stack_depot_save_flags()
695 found = find_stack(bucket, entries, nr_entries, hash, depot_flags); in stack_depot_save_flags()
696 if (!found) { in stack_depot_save_flags()
706 found = new; in stack_depot_save_flags()
729 if (found) in stack_depot_save_flags()
730 handle = found->handle.handle; in stack_depot_save_flags()
A Dasn1_encoder.c29 bool found = false; in asn1_encode_integer() local
55 if (!found && byte == 0) in asn1_encode_integer()
64 if (!found && (byte & 0x80)) { in asn1_encode_integer()
73 found = true; in asn1_encode_integer()
A Dfault-inject.c93 bool found = (attr->require_start == 0 && attr->require_end == ULONG_MAX); in fail_stacktrace() local
95 if (depth == 0 || (found && !attr->reject_start && !attr->reject_end)) in fail_stacktrace()
96 return found; in fail_stacktrace()
105 found = true; in fail_stacktrace()
107 return found; in fail_stacktrace()
A Dlogic_iomem.c89 struct logic_iomem_region *rreg, *found = NULL; in ioremap() local
98 found = rreg; in ioremap()
102 if (!found) in ioremap()
111 offs = rreg->ops->map(offset - found->res->start, in ioremap()
A Dcodetag.c350 struct codetag_module *found = NULL; in codetag_unload_module() local
357 found = cmod; in codetag_unload_module()
361 if (found) { in codetag_unload_module()
371 if (found && cttype->desc.free_section_mem) in codetag_unload_module()
A Dfind_bit.c83 goto found; \
90 found: \
A Dtest_rhashtable.c317 bool found; in test_rhltable() local
336 found = false; in test_rhltable()
340 found = true; in test_rhltable()
347 if (WARN(!found, "element %d not found", i)) in test_rhltable()
A Dgenalloc.c556 bool found = false; in gen_pool_has_addr() local
564 found = true; in gen_pool_has_addr()
570 return found; in gen_pool_has_addr()
A Dtest_xarray.c1840 unsigned int i, found; in check_split_1() local
1862 found = 0; in check_split_1()
1865 found++; in check_split_1()
1869 XA_BUG_ON(xa, found != 1 << (order - new_order)); in check_split_1()
1878 unsigned int i, found; in check_split_2() local
1909 found = 0; in check_split_2()
1912 found++; in check_split_2()
1916 XA_BUG_ON(xa, found != 1 << (order - new_order)); in check_split_2()
A Dbootconfig.c357 goto found; in xbc_node_find_next_leaf()
374 found: in xbc_node_find_next_leaf()
A Drhashtable.c759 goto found; in rhashtable_walk_start_check()
778 goto found; in rhashtable_walk_start_check()
784 found: in rhashtable_walk_start_check()
A Dvsprintf.c1661 bool found = true; in escaped_string() local
1696 found = false; in escaped_string()
1699 } while (found); in escaped_string()
1928 bool found = true; in rtc_str() local
1954 found = false; in rtc_str()
1957 } while (found); in rtc_str()
A Dxarray.c2125 goto found; in xa_get_mark()
2130 found: in xa_get_mark()
A Dmaple_tree.c4871 bool found = false; in mas_anode_descend() local
4901 found = true; in mas_anode_descend()
4920 return found; in mas_anode_descend()
A DKconfig.debug427 it when a mismatch is found.
809 If the stack end location is found to be over written always panic as
1888 all OHCI1394 controllers which are found in the PCI config space.
2258 Documentation on how to use the module can be found in
/lib/kunit/
A Dkunit-test.c423 struct kunit_resource res1, res2, *found = NULL; in kunit_resource_test_named() local
442 found = kunit_find_named_resource(test, "resource_1"); in kunit_resource_test_named()
444 KUNIT_EXPECT_PTR_EQ(test, found, &res1); in kunit_resource_test_named()
446 if (found) in kunit_resource_test_named()

Completed in 60 milliseconds