Home
last modified time | relevance | path

Searched refs:sk_stg (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsk_storage_tracing.c15 struct sk_stg { struct
27 struct sk_stg sk_stg; in check_sk_stg() argument
31 &sk_stg); in check_sk_stg()
35 if (!ASSERT_EQ(sk_stg.last_notclose_state, expected_state, in check_sk_stg()
39 if (!ASSERT_EQ(sk_stg.pid, my_pid, "pid")) in check_sk_stg()
42 if (!ASSERT_STREQ(sk_stg.comm, skel->bss->task_comm, "task_comm")) in check_sk_stg()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_skmsg_load_helpers.c33 __u64 *sk_stg; in prog_msg_verdict() local
36 sk_stg = bpf_sk_storage_get(&socket_storage, msg->sk, 0, BPF_SK_STORAGE_GET_F_CREATE); in prog_msg_verdict()
37 if (!sk_stg) in prog_msg_verdict()
39 *sk_stg = pid; in prog_msg_verdict()
Dtest_sk_storage_tracing.c9 struct sk_stg { struct
19 __type(value, struct sk_stg); argument
36 struct sk_stg *stg; in BPF_PROG()
56 struct sk_stg *stg; in set_task_info()