• Home
  • Raw
  • Download

Lines Matching refs:proto

884 static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority,  in sk_prot_alloc()
916 static void sk_prot_free(struct proto *prot, struct sock *sk) in sk_prot_free()
940 struct proto *prot) in sk_alloc()
1430 struct proto *prot = sk->sk_prot; in __sk_mem_schedule()
1505 struct proto *prot = sk->sk_prot; in __sk_mem_reclaim()
1948 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
1955 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
1995 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
2001 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
2014 static void assign_proto_idx(struct proto *prot) in assign_proto_idx()
2026 static void release_proto_idx(struct proto *prot) in release_proto_idx()
2032 static inline void assign_proto_idx(struct proto *prot) in assign_proto_idx()
2036 static inline void release_proto_idx(struct proto *prot) in release_proto_idx()
2041 int proto_register(struct proto *prot, int alloc_slab) in proto_register()
2118 void proto_unregister(struct proto *prot) in proto_unregister()
2169 static void proto_seq_printf(struct seq_file *seq, struct proto *proto) in proto_seq_printf() argument
2173 proto->name, in proto_seq_printf()
2174 proto->obj_size, in proto_seq_printf()
2175 sock_prot_inuse_get(seq_file_net(seq), proto), in proto_seq_printf()
2176 proto->memory_allocated != NULL ? atomic_read(proto->memory_allocated) : -1, in proto_seq_printf()
2177 proto->memory_pressure != NULL ? *proto->memory_pressure ? "yes" : "no" : "NI", in proto_seq_printf()
2178 proto->max_header, in proto_seq_printf()
2179 proto->slab == NULL ? "no" : "yes", in proto_seq_printf()
2180 module_name(proto->owner), in proto_seq_printf()
2181 proto_method_implemented(proto->close), in proto_seq_printf()
2182 proto_method_implemented(proto->connect), in proto_seq_printf()
2183 proto_method_implemented(proto->disconnect), in proto_seq_printf()
2184 proto_method_implemented(proto->accept), in proto_seq_printf()
2185 proto_method_implemented(proto->ioctl), in proto_seq_printf()
2186 proto_method_implemented(proto->init), in proto_seq_printf()
2187 proto_method_implemented(proto->destroy), in proto_seq_printf()
2188 proto_method_implemented(proto->shutdown), in proto_seq_printf()
2189 proto_method_implemented(proto->setsockopt), in proto_seq_printf()
2190 proto_method_implemented(proto->getsockopt), in proto_seq_printf()
2191 proto_method_implemented(proto->sendmsg), in proto_seq_printf()
2192 proto_method_implemented(proto->recvmsg), in proto_seq_printf()
2193 proto_method_implemented(proto->sendpage), in proto_seq_printf()
2194 proto_method_implemented(proto->bind), in proto_seq_printf()
2195 proto_method_implemented(proto->backlog_rcv), in proto_seq_printf()
2196 proto_method_implemented(proto->hash), in proto_seq_printf()
2197 proto_method_implemented(proto->unhash), in proto_seq_printf()
2198 proto_method_implemented(proto->get_port), in proto_seq_printf()
2199 proto_method_implemented(proto->enter_memory_pressure)); in proto_seq_printf()
2216 proto_seq_printf(seq, list_entry(v, struct proto, node)); in proto_seq_show()