Searched refs:skcd (Results 1 – 5 of 5) sorted by relevance
136 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v2() 144 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2() 148 return (info->classid == sock_cgroup_classid(skcd)) ^157 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_destroy_v2() 165 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^169 return (info->classid == sock_cgroup_classid(skcd)) ^116 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; cgroup_mt_v1() local 134 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; cgroup_mt_v2() local
928 static inline u16 sock_cgroup_prioidx(const struct sock_cgroup_data *skcd) in sock_cgroup_prioidx() argument931 return READ_ONCE(skcd->prioidx); in sock_cgroup_prioidx()938 static inline u32 sock_cgroup_classid(const struct sock_cgroup_data *skcd) in sock_cgroup_classid() argument940 return READ_ONCE(skcd->classid); in sock_cgroup_classid()944 static inline void sock_cgroup_set_prioidx(struct sock_cgroup_data *skcd, in sock_cgroup_set_prioidx() argument948 WRITE_ONCE(skcd->prioidx, prioidx); in sock_cgroup_set_prioidx()953 static inline void sock_cgroup_set_classid(struct sock_cgroup_data *skcd, in sock_cgroup_set_classid() argument956 WRITE_ONCE(skcd->classid, classid); in sock_cgroup_set_classid()
778 void cgroup_sk_alloc(struct sock_cgroup_data *skcd);779 void cgroup_sk_clone(struct sock_cgroup_data *skcd);780 void cgroup_sk_free(struct sock_cgroup_data *skcd);782 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr() argument784 return skcd->cgroup; in sock_cgroup_ptr()789 static inline void cgroup_sk_alloc(struct sock_cgroup_data *skcd) {} in cgroup_sk_alloc() argument790 static inline void cgroup_sk_clone(struct sock_cgroup_data *skcd) {} in cgroup_sk_clone() argument791 static inline void cgroup_sk_free(struct sock_cgroup_data *skcd) {} in cgroup_sk_free() argument
34 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx() argument39 sock_cgroup_set_prioidx(skcd, task_netprioidx(current)); in sock_update_netprioidx()49 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx() argument
7322 void cgroup_sk_alloc(struct sock_cgroup_data *skcd) in cgroup_sk_alloc() argument7345 skcd->cgroup = cgroup; in cgroup_sk_alloc()7350 void cgroup_sk_clone(struct sock_cgroup_data *skcd) in cgroup_sk_clone() argument7352 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_clone()7363 void cgroup_sk_free(struct sock_cgroup_data *skcd) in cgroup_sk_free() argument7365 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free()