Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dcgroup-defs.h797 struct sock_cgroup_data { struct
827 static inline u16 sock_cgroup_prioidx(const struct sock_cgroup_data *skcd) in sock_cgroup_prioidx()
833 static inline u32 sock_cgroup_classid(const struct sock_cgroup_data *skcd) in sock_cgroup_classid()
843 static inline void sock_cgroup_set_prioidx(struct sock_cgroup_data *skcd, in sock_cgroup_set_prioidx()
846 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_prioidx()
860 static inline void sock_cgroup_set_classid(struct sock_cgroup_data *skcd, in sock_cgroup_set_classid()
863 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_classid()
879 struct sock_cgroup_data { struct
H A Dcgroup.h836 void cgroup_sk_alloc(struct sock_cgroup_data *skcd);
837 void cgroup_sk_clone(struct sock_cgroup_data *skcd);
838 void cgroup_sk_free(struct sock_cgroup_data *skcd);
840 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr()
862 static inline void cgroup_sk_alloc(struct sock_cgroup_data *skcd) {} in cgroup_sk_alloc()
863 static inline void cgroup_sk_clone(struct sock_cgroup_data *skcd) {} in cgroup_sk_clone()
864 static inline void cgroup_sk_free(struct sock_cgroup_data *skcd) {} in cgroup_sk_free()
/OK3568_Linux_fs/kernel/include/net/
H A Dnetprio_cgroup.h34 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx()
49 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx()
H A Dcls_cgroup.h40 static inline void sock_update_classid(struct sock_cgroup_data *skcd) in sock_update_classid()
79 static inline void sock_update_classid(struct sock_cgroup_data *skcd) in sock_update_classid()
H A Dsock.h509 struct sock_cgroup_data sk_cgrp_data;
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_cgroup.c116 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()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup.c6630 void cgroup_sk_alloc(struct sock_cgroup_data *skcd) in cgroup_sk_alloc()
6658 void cgroup_sk_clone(struct sock_cgroup_data *skcd) in cgroup_sk_clone()
6673 void cgroup_sk_free(struct sock_cgroup_data *skcd) in cgroup_sk_free()