Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dcgroup-defs.h748 struct sock_cgroup_data { struct
774 static inline u16 sock_cgroup_prioidx(const struct sock_cgroup_data *skcd) in sock_cgroup_prioidx()
780 static inline u32 sock_cgroup_classid(const struct sock_cgroup_data *skcd) in sock_cgroup_classid()
790 static inline void sock_cgroup_set_prioidx(struct sock_cgroup_data *skcd, in sock_cgroup_set_prioidx()
793 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_prioidx()
807 static inline void sock_cgroup_set_classid(struct sock_cgroup_data *skcd, in sock_cgroup_set_classid()
810 struct sock_cgroup_data skcd_buf = {{ .val = READ_ONCE(skcd->val) }}; in sock_cgroup_set_classid()
826 struct sock_cgroup_data { struct
Dcgroup.h799 void cgroup_sk_alloc(struct sock_cgroup_data *skcd);
800 void cgroup_sk_free(struct sock_cgroup_data *skcd);
802 static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd) in sock_cgroup_ptr()
824 static inline void cgroup_sk_alloc(struct sock_cgroup_data *skcd) {} in cgroup_sk_alloc()
825 static inline void cgroup_sk_free(struct sock_cgroup_data *skcd) {} in cgroup_sk_free()
/Linux-v4.19/include/net/
Dnetprio_cgroup.h40 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx()
55 static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd) in sock_update_netprioidx()
Dcls_cgroup.h45 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()
Dsock.h492 struct sock_cgroup_data sk_cgrp_data;
/Linux-v4.19/net/netfilter/
Dxt_cgroup.c87 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v1()
/Linux-v4.19/kernel/cgroup/
Dcgroup.c5852 void cgroup_sk_alloc(struct sock_cgroup_data *skcd) in cgroup_sk_alloc()
5884 void cgroup_sk_free(struct sock_cgroup_data *skcd) in cgroup_sk_free()