Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_attach_cgroup.c42 tcp_sk->inet_conn.icsk_inet.sk.sk_cgrp_data.cgroup, 0, in set_cookie()
71 tcp_sk->inet_conn.icsk_inet.sk.sk_cgrp_data.cgroup, 0, 0); in update_cookie_sockops()
91 p = bpf_cgrp_storage_get(&socket_cookies, sock->sk->sk_cgrp_data.cgroup, 0, 0); in BPF_PROG()
/linux/net/netfilter/
H A Dxt_cgroup.c109 return (info->id == sock_cgroup_classid(&skb->sk->sk_cgrp_data)) ^ in cgroup_mt_v0()
116 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v1()
134 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v2()
H A Dnft_socket.c49 cgrp = cgroup_ancestor(sock_cgroup_ptr(&sk->sk_cgrp_data), level); in nft_sock_get_eval_cgroupv2()
H A Dnft_meta.c173 *dest = sock_cgroup_classid(&sk->sk_cgrp_data); in nft_meta_get_eval_cgroup()
H A Dnfnetlink_queue.c464 u32 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in nfqnl_put_sk_classid()
/linux/include/net/
H A Dcls_cgroup.h73 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in task_get_classid()
H A Dsock.h533 struct sock_cgroup_data sk_cgrp_data; member
1389 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
/linux/net/core/
H A Dnetclassid_cgroup.c75 sock_cgroup_set_classid(&sock->sk->sk_cgrp_data, ctx->classid); in update_classid_sock()
H A Dnetprio_cgroup.c224 sock_cgroup_set_prioidx(&sock->sk->sk_cgrp_data, in update_netprio()
H A Dsock.c2198 cgroup_sk_free(&sk->sk_cgrp_data); in sk_prot_free()
2244 cgroup_sk_alloc(&sk->sk_cgrp_data); in sk_alloc()
2245 sock_update_classid(&sk->sk_cgrp_data); in sk_alloc()
2246 sock_update_netprioidx(&sk->sk_cgrp_data); in sk_alloc()
2427 cgroup_sk_clone(&newsk->sk_cgrp_data); in sk_clone_lock()
3415 sock_update_netprioidx(&sock->sk->sk_cgrp_data); in __receive_sock()
3416 sock_update_classid(&sock->sk->sk_cgrp_data); in __receive_sock()
H A Dfilter.c3094 return sock_cgroup_classid(&sk->sk_cgrp_data); in BPF_CALL_1()
4959 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_cgroup_id()
4985 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_ancestor_cgroup_id()
H A Ddev.c3957 prioidx = sock_cgroup_prioidx(&sk->sk_cgrp_data); in skb_update_prio()
/linux/kernel/bpf/
H A Dcgroup.c97 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock()
119 cgrp = sock_cgroup_ptr(&sock->sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_socket()
1387 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_skb()
1455 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sk()
1511 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_addr()
1542 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_ops()
1820 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_setsockopt()
1912 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt()
1996 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt_kern()
/linux/net/ipv4/
H A Dinet_diag.c164 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in inet_diag_msg_attrs_fill()
179 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill()
823 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
/linux/net/mptcp/
H A Dsubflow.c1703 struct sock_cgroup_data *parent_skcd = &parent->sk_cgrp_data, in mptcp_attach_cgroup()
1704 *child_skcd = &child->sk_cgrp_data; in mptcp_attach_cgroup()