Lines Matching refs:CHECK
21 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_ksyms()
23 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'bpf_link_fops' not found\n")) in test_ksyms()
27 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_ksyms()
29 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'per_cpu_start' not found\n")) in test_ksyms()
32 if (CHECK(stat(btf_path, &st), "stat_btf", "err %d\n", errno)) in test_ksyms()
37 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_ksyms()
41 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_ksyms()
48 CHECK(data->out__bpf_link_fops != link_fops_addr, "bpf_link_fops", in test_ksyms()
51 CHECK(data->out__bpf_link_fops1 != 0, "bpf_link_fops1", in test_ksyms()
53 CHECK(data->out__btf_size != btf_size, "btf_size", in test_ksyms()
55 CHECK(data->out__per_cpu_start != per_cpu_start_addr, "__per_cpu_start", in test_ksyms()