Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_bpf_sk_storage_helpers.c31 int *sock_tgid; in fill_socket_owner() local
40 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sock->sk, 0, 0); in fill_socket_owner()
41 if (!sock_tgid) in fill_socket_owner()
44 *sock_tgid = task->tgid; in fill_socket_owner()
53 int *sock_tgid; in negate_socket_local_storage() local
58 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sk_common, 0, 0); in negate_socket_local_storage()
59 if (!sock_tgid) in negate_socket_local_storage()
62 *sock_tgid = -*sock_tgid; in negate_socket_local_storage()