Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dcgroup-defs.h796 struct sock_cgroup_data { struct
822 static inline u16 sock_cgroup_prioidx(const struct sock_cgroup_data *skcd) in sock_cgroup_prioidx()
828 static inline u32 sock_cgroup_classid(const struct sock_cgroup_data *skcd) in sock_cgroup_classid()
838 static inline void sock_cgroup_set_prioidx(struct sock_cgroup_data *skcd, in sock_cgroup_set_prioidx()
841 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_prioidx()
855 static inline void sock_cgroup_set_classid(struct sock_cgroup_data *skcd, in sock_cgroup_set_classid()
858 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_classid()
874 struct sock_cgroup_data { struct
Dcgroup.h823 void cgroup_sk_alloc(struct sock_cgroup_data *skcd);
824 void cgroup_sk_free(struct sock_cgroup_data *skcd);
826 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr()
848 static inline void cgroup_sk_alloc(struct sock_cgroup_data *skcd) {} in cgroup_sk_alloc()
849 static inline void cgroup_sk_free(struct sock_cgroup_data *skcd) {} in cgroup_sk_free()
/Linux-v5.4/include/net/
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()
Dcls_cgroup.h40 static inline void sock_update_classid(struct sock_cgroup_data *skcd) in sock_update_classid()
74 static inline void sock_update_classid(struct sock_cgroup_data *skcd) in sock_update_classid()
Dsock.h495 struct sock_cgroup_data sk_cgrp_data;
/Linux-v5.4/net/netfilter/
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()
/Linux-v5.4/kernel/cgroup/
Dcgroup.c6366 void cgroup_sk_alloc(struct sock_cgroup_data *skcd) in cgroup_sk_alloc()
6400 void cgroup_sk_free(struct sock_cgroup_data *skcd) in cgroup_sk_free()