Lines Matching refs:proto

127 struct proto;
197 struct proto *skc_prot;
421 struct proto *sk_prot_creator;
957 struct proto { struct
1072 int proto_register(struct proto *prot, int alloc_slab); argument
1073 void proto_unregister(struct proto *prot);
1102 static inline struct cg_proto *parent_cg_proto(struct proto *proto, in parent_cg_proto() argument
1105 return proto->proto_cgroup(parent_mem_cgroup(cg_proto->memcg)); in parent_cg_proto()
1110 static inline struct cg_proto *parent_cg_proto(struct proto *proto, in parent_cg_proto() argument
1161 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure()
1176 struct proto *prot = sk->sk_prot; in sk_enter_memory_pressure()
1213 struct proto *prot = sk->sk_prot; in sk_memory_allocated()
1224 struct proto *prot = sk->sk_prot; in sk_memory_allocated_add()
1239 struct proto *prot = sk->sk_prot; in sk_memory_allocated_sub()
1249 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_dec()
1263 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_inc()
1278 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_read_positive()
1287 proto_sockets_allocated_sum_positive(struct proto *prot) in proto_sockets_allocated_sum_positive()
1293 proto_memory_allocated(struct proto *prot) in proto_memory_allocated()
1299 proto_memory_pressure(struct proto *prot) in proto_memory_pressure()
1309 void sock_prot_inuse_add(struct net *net, struct proto *prot, int inc);
1310 int sock_prot_inuse_get(struct net *net, struct proto *proto);
1312 static inline void sock_prot_inuse_add(struct net *net, struct proto *prot, in sock_prot_inuse_add()
1512 struct proto *prot, int kern);