cg_proto 220 include/net/sock.h struct cg_proto; cg_proto 425 include/net/sock.h struct cg_proto *sk_cgrp; cg_proto 1049 include/net/sock.h struct cg_proto *(*proto_cgroup)(struct mem_cgroup *memcg); cg_proto 1084 include/net/sock.h static inline bool memcg_proto_active(struct cg_proto *cg_proto) cg_proto 1086 include/net/sock.h return test_bit(MEMCG_SOCK_ACTIVE, &cg_proto->flags); cg_proto 1089 include/net/sock.h static inline bool memcg_proto_activated(struct cg_proto *cg_proto) cg_proto 1091 include/net/sock.h return test_bit(MEMCG_SOCK_ACTIVATED, &cg_proto->flags); cg_proto 1121 include/net/sock.h static inline struct cg_proto *parent_cg_proto(struct proto *proto, cg_proto 1122 include/net/sock.h struct cg_proto *cg_proto) cg_proto 1124 include/net/sock.h return proto->proto_cgroup(parent_mem_cgroup(cg_proto->memcg)); cg_proto 1129 include/net/sock.h static inline struct cg_proto *parent_cg_proto(struct proto *proto, cg_proto 1130 include/net/sock.h struct cg_proto *cg_proto) cg_proto 1179 include/net/sock.h struct cg_proto *cg_proto = sk->sk_cgrp; cg_proto 1182 include/net/sock.h for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto)) cg_proto 1183 include/net/sock.h cg_proto->memory_pressure = 0; cg_proto 1194 include/net/sock.h struct cg_proto *cg_proto = sk->sk_cgrp; cg_proto 1197 include/net/sock.h for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto)) cg_proto 1198 include/net/sock.h cg_proto->memory_pressure = 1; cg_proto 1212 include/net/sock.h static inline void memcg_memory_allocated_add(struct cg_proto *prot, cg_proto 1225 include/net/sock.h static inline void memcg_memory_allocated_sub(struct cg_proto *prot, cg_proto 1231 include/net/sock.h static inline u64 memcg_memory_allocated_read(struct cg_proto *prot) cg_proto 1279 include/net/sock.h struct cg_proto *cg_proto = sk->sk_cgrp; cg_proto 1281 include/net/sock.h for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto)) cg_proto 1282 include/net/sock.h percpu_counter_dec(&cg_proto->sockets_allocated); cg_proto 1293 include/net/sock.h struct cg_proto *cg_proto = sk->sk_cgrp; cg_proto 1295 include/net/sock.h for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto)) cg_proto 1296 include/net/sock.h percpu_counter_inc(&cg_proto->sockets_allocated); cg_proto 4 include/net/tcp_memcontrol.h struct cg_proto *tcp_proto_cgroup(struct mem_cgroup *memcg);