Lines Matching refs:data

21 	struct test_ksyms_btf__data *data;  in test_basic()  local
47 data = skel->data; in test_basic()
48 CHECK(data->out__runqueues_addr != runqueues_addr, "runqueues_addr", in test_basic()
50 (unsigned long long)data->out__runqueues_addr, in test_basic()
52 CHECK(data->out__bpf_prog_active_addr != bpf_prog_active_addr, "bpf_prog_active_addr", in test_basic()
54 (unsigned long long)data->out__bpf_prog_active_addr, in test_basic()
57 CHECK(data->out__rq_cpu == -1, "rq_cpu", in test_basic()
58 "got %u, exp != -1\n", data->out__rq_cpu); in test_basic()
59 CHECK(data->out__bpf_prog_active < 0, "bpf_prog_active", in test_basic()
60 "got %d, exp >= 0\n", data->out__bpf_prog_active); in test_basic()
61 CHECK(data->out__cpu_0_rq_cpu != 0, "cpu_rq(0)->cpu", in test_basic()
62 "got %u, exp 0\n", data->out__cpu_0_rq_cpu); in test_basic()
64 this_rq_cpu = data->out__this_rq_cpu; in test_basic()
65 CHECK(this_rq_cpu != data->out__rq_cpu, "this_rq_cpu", in test_basic()
66 "got %u, exp %u\n", this_rq_cpu, data->out__rq_cpu); in test_basic()
68 this_bpf_prog_active = data->out__this_bpf_prog_active; in test_basic()
69 CHECK(this_bpf_prog_active != data->out__bpf_prog_active, "this_bpf_prog_active", in test_basic()
71 data->out__bpf_prog_active); in test_basic()
90 struct test_ksyms_weak__data *data; in test_weak_syms() local
104 data = skel->data; in test_weak_syms()
105 ASSERT_EQ(data->out__existing_typed, 0, "existing typed ksym"); in test_weak_syms()
106 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms()
107 ASSERT_EQ(data->out__non_existent_typeless, 0, "nonexistent typeless ksym"); in test_weak_syms()
108 ASSERT_EQ(data->out__non_existent_typed, 0, "nonexistent typed ksym"); in test_weak_syms()
117 struct test_ksyms_weak_lskel__data *data; in test_weak_syms_lskel() local
131 data = skel->data; in test_weak_syms_lskel()
132 ASSERT_EQ(data->out__existing_typed, 0, "existing typed ksym"); in test_weak_syms_lskel()
133 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms_lskel()
134 ASSERT_EQ(data->out__non_existent_typeless, 0, "nonexistent typeless ksym"); in test_weak_syms_lskel()
135 ASSERT_EQ(data->out__non_existent_typed, 0, "nonexistent typed ksym"); in test_weak_syms_lskel()