| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | tests.h | 30 struct test { struct 32 int (*func)(struct test *test, int subtest); argument 44 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); argument 45 int test__openat_syscall_event(struct test *test, int subtest); 46 int test__openat_syscall_event_on_all_cpus(struct test *test, int subtest); 47 int test__basic_mmap(struct test *test, int subtest); 48 int test__PERF_RECORD(struct test *test, int subtest); 49 int test__perf_evsel__roundtrip_name_test(struct test *test, int subtest); 50 int test__perf_evsel__tp_sched_test(struct test *test, int subtest); 51 int test__syscall_openat_tp_fields(struct test *test, int subtest); [all …]
|
| /OK3568_Linux_fs/kernel/include/kunit/ |
| H A D | test.h | 142 void (*run_case)(struct kunit *test); 184 int (*init)(struct kunit *test); 185 void (*exit)(struct kunit *test); 228 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() argument 230 WRITE_ONCE(test->success, false); in kunit_set_failure() 233 void kunit_init_test(struct kunit *test, const char *name, char *log); 327 struct kunit_resource *kunit_alloc_and_get_resource(struct kunit *test, 387 int kunit_add_resource(struct kunit *test, 402 int kunit_add_named_resource(struct kunit *test, 425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/test/ |
| H A D | property-entry-test.c | 10 static void pe_test_uints(struct kunit *test) in pe_test_uints() argument 28 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, node); in pe_test_uints() 31 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 32 KUNIT_EXPECT_EQ(test, (int)val_u8, 8); in pe_test_uints() 35 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() 36 KUNIT_EXPECT_EQ(test, (int)array_u8[0], 8); in pe_test_uints() 39 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 42 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 45 KUNIT_EXPECT_NE(test, error, 0); in pe_test_uints() 48 KUNIT_EXPECT_EQ(test, error, 0); in pe_test_uints() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_kasan.c | 48 static int kasan_test_init(struct kunit *test) in kasan_test_init() argument 51 kunit_err(test, "can't run KASAN tests with KASAN disabled"); in kasan_test_init() 60 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() argument 82 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument 88 kunit_add_named_resource(test, \ 99 KUNIT_EXPECT_EQ(test, \ 110 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument 112 kunit_info((test), "skipping, " #config " required"); \ 117 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument 119 kunit_info((test), "skipping, " #config " enabled"); \ [all …]
|
| H A D | test_printf.c | 136 #define test(expect, fmt, ...) \ macro 145 test("", &nul); in test_basic() 146 test("100%", "100%%"); in test_basic() 147 test("xxx%yyy", "xxx%cyyy", '%'); in test_basic() 154 test("0x1234abcd ", "%#-12x", 0x1234abcd); in test_number() 155 test(" 0x1234abcd", "%#12x", 0x1234abcd); in test_number() 156 …test("0|001| 12|+123| 1234|-123|-1234", "%d|%03d|%3d|%+d|% d|%+d|% d", 0, 1, 12, 123, 1234, -123, … in test_number() 157 test("0|1|1|128|255", "%hhu|%hhu|%hhu|%hhu|%hhu", 0, 1, 257, 128, -1); in test_number() 158 test("0|1|1|-128|-1", "%hhd|%hhd|%hhd|%hhd|%hhd", 0, 1, 257, 128, -1); in test_number() 159 test("2015122420151225", "%ho%ho%#ho", 1037, 5282, -11627); in test_number() [all …]
|
| H A D | list-test.c | 17 static void list_test_list_init(struct kunit *test) in list_test_list_init() argument 36 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init() 37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2)); in list_test_list_init() 38 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3)); in list_test_list_init() 39 KUNIT_EXPECT_TRUE(test, list_empty_careful(list4)); in list_test_list_init() 40 KUNIT_EXPECT_TRUE(test, list_empty_careful(list5)); in list_test_list_init() 46 static void list_test_list_add(struct kunit *test) in list_test_list_add() argument 55 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_add() 56 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_add() 57 KUNIT_EXPECT_PTR_EQ(test, b.next, &a); in list_test_list_add() [all …]
|
| H A D | crc32test.c | 558 } const test[] __initconst = variable 678 bytes += 2*test[i].length; in crc32c_test() 680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test() 681 test[i].start, test[i].length); in crc32c_test() 689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test() 690 test[i].start, test[i].length)) in crc32c_test() 717 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test() 718 test[i].length); in crc32c_combine_test() 719 for (j = 0; j <= test[i].length; ++j) { in crc32c_combine_test() 721 u32 len1 = j, len2 = test[i].length - j; in crc32c_combine_test() [all …]
|
| H A D | test_bits.c | 10 static void genmask_test(struct kunit *test) in genmask_test() argument 12 KUNIT_EXPECT_EQ(test, 1ul, GENMASK(0, 0)); in genmask_test() 13 KUNIT_EXPECT_EQ(test, 3ul, GENMASK(1, 0)); in genmask_test() 14 KUNIT_EXPECT_EQ(test, 6ul, GENMASK(2, 1)); in genmask_test() 15 KUNIT_EXPECT_EQ(test, 0xFFFFFFFFul, GENMASK(31, 0)); in genmask_test() 27 static void genmask_ull_test(struct kunit *test) in genmask_ull_test() argument 29 KUNIT_EXPECT_EQ(test, 1ull, GENMASK_ULL(0, 0)); in genmask_ull_test() 30 KUNIT_EXPECT_EQ(test, 3ull, GENMASK_ULL(1, 0)); in genmask_ull_test() 31 KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_ULL(39, 21)); in genmask_ull_test() 32 KUNIT_EXPECT_EQ(test, 0xffffffffffffffffull, GENMASK_ULL(63, 0)); in genmask_ull_test() [all …]
|
| /OK3568_Linux_fs/kernel/lib/kunit/ |
| H A D | kunit-test.c | 19 struct kunit *test = data; in kunit_test_successful_try() local 20 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_successful_try() 27 struct kunit *test = data; in kunit_test_no_catch() local 29 KUNIT_FAIL(test, "Catch should not be called\n"); in kunit_test_no_catch() 32 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() argument 34 struct kunit_try_catch_test_context *ctx = test->priv; in kunit_test_try_catch_successful_try_no_catch() 38 test, in kunit_test_try_catch_successful_try_no_catch() 41 kunit_try_catch_run(try_catch, test); in kunit_test_try_catch_successful_try_no_catch() 43 KUNIT_EXPECT_TRUE(test, ctx->function_called); in kunit_test_try_catch_successful_try_no_catch() 48 struct kunit *test = data; in kunit_test_unsuccessful_try() local [all …]
|
| H A D | test.c | 71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local 86 kunit_log(KERN_INFO, test, KUNIT_SUBTEST_INDENT "%s %zd - %s", in kunit_print_ok_not_ok() 130 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream() argument 141 kunit_err(test, in kunit_print_string_stream() 144 kunit_err(test, "%s", fragment->fragment); in kunit_print_string_stream() 146 kunit_err(test, "\n"); in kunit_print_string_stream() 148 kunit_err(test, "%s", buf); in kunit_print_string_stream() 149 kunit_kfree(test, buf); in kunit_print_string_stream() 153 static void kunit_fail(struct kunit *test, struct kunit_assert *assert) in kunit_fail() argument 157 kunit_set_failure(test); in kunit_fail() [all …]
|
| /OK3568_Linux_fs/kernel/tools/pci/ |
| H A D | pcitest.c | 41 static int run_test(struct pci_test *test) in run_test() argument 47 fd = open(test->device, O_RDWR); in run_test() 53 if (test->barnum >= 0 && test->barnum <= 5) { in run_test() 54 ret = ioctl(fd, PCITEST_BAR, test->barnum); in run_test() 55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test() 62 if (test->set_irqtype) { in run_test() 63 ret = ioctl(fd, PCITEST_SET_IRQTYPE, test->irqtype); in run_test() 64 fprintf(stdout, "SET IRQ TYPE TO %s:\t\t", irq[test->irqtype]); in run_test() 71 if (test->get_irqtype) { in run_test() 80 if (test->clear_irq) { in run_test() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() argument 33 kunit_alloc_resource(test, __ida_init, __ida_destroy, GFP_KERNEL, ida); in kunit_ida_init() 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument 43 sw = kunit_kzalloc(test, sizeof(*sw), GFP_KERNEL); in alloc_switch() 55 sw->ports = kunit_kzalloc(test, size, GFP_KERNEL); in alloc_switch() 64 kunit_ida_init(test, &sw->ports[i].in_hopids); in alloc_switch() 65 kunit_ida_init(test, &sw->ports[i].out_hopids); in alloc_switch() 72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() argument 76 sw = alloc_switch(test, 0, 7, 13); in alloc_host() 145 static struct tb_switch *alloc_dev_default(struct kunit *test, in alloc_dev_default() argument [all …]
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | policy_unpack_test.c | 52 struct kunit *test, size_t buf_size) in build_aa_ext_struct() argument 57 buf = kunit_kzalloc(test, buf_size, GFP_USER); in build_aa_ext_struct() 58 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, buf); in build_aa_ext_struct() 60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 61 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct() 109 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() argument 114 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init() 115 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, puf); in policy_unpack_test_init() 118 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init() 120 test->priv = puf; in policy_unpack_test_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | pci_endpoint_test.c | 127 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl() argument 130 return readl(test->base + offset); in pci_endpoint_test_readl() 133 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel() argument 136 writel(value, test->base + offset); in pci_endpoint_test_writel() 139 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, in pci_endpoint_test_bar_readl() argument 142 return readl(test->bar[bar] + offset); in pci_endpoint_test_bar_readl() 145 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, in pci_endpoint_test_bar_writel() argument 148 writel(value, test->bar[bar] + offset); in pci_endpoint_test_bar_writel() 153 struct pci_endpoint_test *test = dev_id; in pci_endpoint_test_irqhandler() local 156 reg = pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_STATUS); in pci_endpoint_test_irqhandler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | mmc_test.c | 179 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() argument 181 return mmc_set_blocklen(test->card, size); in mmc_test_set_blksize() 190 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() argument 193 struct mmc_card *card = test->card; in mmc_test_prepare_sbc() 210 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() argument 226 if (!mmc_card_blockaddr(test->card)) in mmc_test_prepare_mrq() 245 mmc_test_prepare_sbc(test, mrq, blocks); in mmc_test_prepare_mrq() 247 mmc_set_data_timeout(mrq->data, test->card); in mmc_test_prepare_mrq() 259 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() argument 269 cmd.arg = test->card->rca << 16; in mmc_test_wait_busy() [all …]
|
| /OK3568_Linux_fs/kernel/mm/kfence/ |
| H A D | kfence_test.c | 169 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache() argument 172 if (test->priv != TEST_PRIV_WANT_MEMCACHE) in setup_test_cache() 175 kunit_info(test, "%s: size=%zu, ctor=%ps\n", __func__, size, ctor); in setup_test_cache() 184 KUNIT_ASSERT_TRUE_MSG(test, test_cache, "could not create cache"); in setup_test_cache() 227 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() argument 248 kunit_info(test, "%s: size=%zu, gfp=%x, policy=%s, cache=%i\n", __func__, size, gfp, in test_alloc() 277 KUNIT_EXPECT_EQ(test, obj_to_index(s, page, alloc), 0U); in test_alloc() 278 KUNIT_EXPECT_EQ(test, objs_per_slab_page(s, page), 1); in test_alloc() 296 KUNIT_ASSERT_TRUE_MSG(test, false, "failed to allocate from KFENCE"); in test_alloc() 300 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read() argument [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | sysctl-test.c | 19 static void sysctl_test_api_dointvec_null_tbl_data(struct kunit *test) in sysctl_test_api_dointvec_null_tbl_data() argument 39 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_null_tbl_data() 49 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data() 52 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_null_tbl_data() 58 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&null_data_table, in sysctl_test_api_dointvec_null_tbl_data() 61 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_null_tbl_data() 69 static void sysctl_test_api_dointvec_table_maxlen_unset(struct kunit *test) in sysctl_test_api_dointvec_table_maxlen_unset() argument 85 void __user *buffer = (void __user *)kunit_kzalloc(test, sizeof(int), in sysctl_test_api_dointvec_table_maxlen_unset() 95 KUNIT_EXPECT_EQ(test, 0, proc_dointvec(&data_maxlen_unset_table, in sysctl_test_api_dointvec_table_maxlen_unset() 98 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_table_maxlen_unset() [all …]
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | token_test.c | 6 static struct mptcp_subflow_request_sock *build_req_sock(struct kunit *test) in build_req_sock() argument 10 req = kunit_kzalloc(test, sizeof(struct mptcp_subflow_request_sock), in build_req_sock() 12 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, req); in build_req_sock() 18 static void mptcp_token_test_req_basic(struct kunit *test) in mptcp_token_test_req_basic() argument 20 struct mptcp_subflow_request_sock *req = build_req_sock(test); in mptcp_token_test_req_basic() 23 KUNIT_ASSERT_EQ(test, 0, in mptcp_token_test_req_basic() 25 KUNIT_EXPECT_NE(test, 0, (int)req->token); in mptcp_token_test_req_basic() 26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic() 32 static struct inet_connection_sock *build_icsk(struct kunit *test) in build_icsk() argument 36 icsk = kunit_kzalloc(test, sizeof(struct inet_connection_sock), in build_icsk() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/postfix/files/ |
| H A D | 0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch | 4 Subject: [PATCH] makedefs: Use native compiler to build makedefs.test 21 - ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 22 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 23 rm -f makedefs.test makedefs.test.[co] 30 - ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 31 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 32 ./makedefs.test 2>/dev/null || 34 rm -f makedefs.test makedefs.test.[co] 39 - ${CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ 40 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/scatterlist/ |
| H A D | main.c | 8 struct test { struct 29 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() argument 36 test->size, test->max_seg, test->expected_segments, st->nents, in fail() 39 printf("%u input PFNs:", test->num_pages); in fail() 40 for (i = 0; i < test->num_pages; i++) in fail() 41 printf(" %x", test->pfn[i]); in fail() 47 #define VALIDATE(cond, st, test) \ argument 49 fail((test), (st), #cond); 54 struct test *test, tests[] = { in main() local 79 for (i = 0, test = tests; test->expected_segments; test++, i++) { in main() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | qos-test.c | 9 static void freq_qos_test_min(struct kunit *test) in freq_qos_test_min() argument 20 KUNIT_EXPECT_EQ(test, ret, 1); in freq_qos_test_min() 22 KUNIT_EXPECT_EQ(test, ret, 1); in freq_qos_test_min() 24 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 2000); in freq_qos_test_min() 27 KUNIT_EXPECT_EQ(test, ret, 1); in freq_qos_test_min() 28 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 1000); in freq_qos_test_min() 31 KUNIT_EXPECT_EQ(test, ret, 1); in freq_qos_test_min() 32 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), in freq_qos_test_min() 37 static void freq_qos_test_maxdef(struct kunit *test) in freq_qos_test_maxdef() argument 46 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MAX), in freq_qos_test_maxdef() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/ifupdown/files/ |
| H A D | tweak-ptest-script.patch | 22 for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 23 @@ -12,7 +13,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 24 echo "Testcase $test: $args" 27 - ./ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… 28 + ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $arg… 29 >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$? 32 @@ -20,7 +21,7 @@ for test in 1 2 3 4 5 6 7 8 9 10 11 16 17 18; do 33 echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test 36 - ./ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test … 37 + ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… [all …]
|
| /OK3568_Linux_fs/buildroot/package/linux-pam/ |
| H A D | 0001-configure-test-a-o-is-not-POSIX.patch | 4 Subject: [PATCH] configure: test -a|o is not POSIX 6 Fixes `test: too many arguments` when building Linux-PAM using sbase. 7 This is due to a non-POSIX syntax test ... -a ... and test ... -o .... 12 See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html 25 @@ -346,7 +346,7 @@ if test x"$WITH_LIBAUDIT" != xno ; then 29 - if test -n "$LIBAUDIT" -a "$ac_cv_header_libaudit_h" != "no" ; then 30 + if test -n "$LIBAUDIT" && test "$ac_cv_header_libaudit_h" != "no" ; then 33 if test -n "$HAVE_AUDIT_TTY_STATUS" ; then 38 -if test "$LIBCRYPT" = "-lxcrypt" -a "$ac_cv_header_xcrypt_h" = "yes" ; then 39 +if test "$LIBCRYPT" = "-lxcrypt" && test "$ac_cv_header_xcrypt_h" = "yes" ; then [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/dbus/dbus-glib/ |
| H A D | test-install-makefile.patch | 1 Change Makefile.am to install regression tests for test package purpose. 3 Upstream-Status: Inappropriate [test not install is for purpose from upstream] 8 test/Makefile.am | 3 ++- 9 test/core/Makefile.am | 3 ++- 10 test/interfaces/Makefile.am | 3 ++- 13 diff --git a/test/Makefile.am b/test/Makefile.am 15 --- a/test/Makefile.am 16 +++ b/test/Makefile.am 27 diff --git a/test/core/Makefile.am b/test/core/Makefile.am 29 --- a/test/core/Makefile.am [all …]
|
| /OK3568_Linux_fs/u-boot/post/ |
| H A D | post.c | 30 struct post_test *test = post_list + i; in post_init_f() local 32 if (test->init_f && test->init_f()) in post_init_f() 236 static int post_run_single(struct post_test *test, in post_run_single() argument 252 post_log_mark_start(test->testid); in post_run_single() 254 post_log("POST %s ", test->cmd); in post_run_single() 260 if ((*test->test)(flags) == 0) { in post_run_single() 261 post_log_mark_succ(test->testid); in post_run_single() 271 if ((*test->test)(flags) != 0) { in post_run_single() 356 static int post_info_single(struct post_test *test, int full) in post_info_single() argument 358 if (test->flags & POST_MANUAL) { in post_info_single() [all …]
|