Searched refs:sock_cgroup_ptr (Results 1 – 10 of 10) sorted by relevance
124 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()
48 cgrp = cgroup_ancestor(sock_cgroup_ptr(&sk->sk_cgrp_data), level); in nft_sock_get_eval_cgroupv2()
80 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()
180 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in cgroup_bpf_sock_enabled()
832 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr() function
176 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()
1571 if (cgroup_id(sock_cgroup_ptr(parent_skcd)) != in mptcp_attach_cgroup()1572 cgroup_id(sock_cgroup_ptr(child_skcd))) { in mptcp_attach_cgroup()
1424 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
6963 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_clone()6976 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free()
4779 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()