Lines Matching refs:inet_peer
80 100 * L1_CACHE_ALIGN(sizeof(struct inet_peer))); in inet_initpeers()
84 peer_cachep = KMEM_CACHE(inet_peer, SLAB_HWCACHE_ALIGN | SLAB_PANIC); in inet_initpeers()
88 static struct inet_peer *lookup(const struct inetpeer_addr *daddr, in lookup()
91 struct inet_peer *gc_stack[], in lookup()
97 struct inet_peer *p; in lookup()
108 p = rb_entry(parent, struct inet_peer, rb_node); in lookup()
133 kmem_cache_free(peer_cachep, container_of(head, struct inet_peer, rcu)); in inetpeer_free_rcu()
138 struct inet_peer *gc_stack[], in inet_peer_gc()
142 struct inet_peer *p; in inet_peer_gc()
176 struct inet_peer *inet_getpeer(struct inet_peer_base *base, in inet_getpeer()
180 struct inet_peer *p, *gc_stack[PEER_MAX_GC]; in inet_getpeer()
237 void inet_putpeer(struct inet_peer *p) in inet_putpeer()
267 bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout) in inet_peer_xrlim_allow()
295 struct inet_peer *peer = rb_entry(p, struct inet_peer, rb_node); in inetpeer_invalidate_tree()