Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dxt_cgroup.c124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1()
142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
Dnft_socket.c48 cgrp = cgroup_ancestor(sock_cgroup_ptr(&sk->sk_cgrp_data), level); in nft_sock_get_eval_cgroupv2()
/linux-6.1.9/kernel/bpf/
Dcgroup.c80 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock()
102 cgrp = sock_cgroup_ptr(&sock->sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_socket()
1372 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_skb()
1440 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sk()
1487 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_addr()
1513 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_ops()
1791 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_setsockopt()
1876 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt()
1946 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt_kern()
/linux-6.1.9/include/linux/
Dbpf-cgroup.h180 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in cgroup_bpf_sock_enabled()
Dcgroup.h832 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr() function
/linux-6.1.9/net/ipv4/
Dinet_diag.c176 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill()
811 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
/linux-6.1.9/net/mptcp/
Dsubflow.c1571 if (cgroup_id(sock_cgroup_ptr(parent_skcd)) != in mptcp_attach_cgroup()
1572 cgroup_id(sock_cgroup_ptr(child_skcd))) { in mptcp_attach_cgroup()
/linux-6.1.9/include/net/
Dsock.h1424 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
/linux-6.1.9/kernel/cgroup/
Dcgroup.c6963 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_clone()
6976 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free()
/linux-6.1.9/net/core/
Dfilter.c4779 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_cgroup_id()
4805 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_ancestor_cgroup_id()