Lines Matching refs:proto

127 struct proto;
192 struct proto *skc_prot;
404 struct proto *sk_prot_creator;
940 struct proto { struct
1083 int proto_register(struct proto *prot, int alloc_slab);
1084 void proto_unregister(struct proto *prot);
1118 static inline struct cg_proto *parent_cg_proto(struct proto *proto, in parent_cg_proto() argument
1121 return proto->proto_cgroup(parent_mem_cgroup(cg_proto->memcg)); in parent_cg_proto()
1126 static inline struct cg_proto *parent_cg_proto(struct proto *proto, in parent_cg_proto() argument
1177 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure()
1192 struct proto *prot = sk->sk_prot; in sk_enter_memory_pressure()
1229 struct proto *prot = sk->sk_prot; in sk_memory_allocated()
1240 struct proto *prot = sk->sk_prot; in sk_memory_allocated_add()
1255 struct proto *prot = sk->sk_prot; in sk_memory_allocated_sub()
1265 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_dec()
1279 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_inc()
1294 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_read_positive()
1303 proto_sockets_allocated_sum_positive(struct proto *prot) in proto_sockets_allocated_sum_positive()
1309 proto_memory_allocated(struct proto *prot) in proto_memory_allocated()
1315 proto_memory_pressure(struct proto *prot) in proto_memory_pressure()
1325 void sock_prot_inuse_add(struct net *net, struct proto *prot, int inc);
1326 int sock_prot_inuse_get(struct net *net, struct proto *proto);
1328 static inline void sock_prot_inuse_add(struct net *net, struct proto *prot, in sock_prot_inuse_add()
1528 struct proto *prot);