Home
last modified time | relevance | path

Searched refs:ip_vs_rht (Results 1 – 4 of 4) sorted by relevance

/linux/net/netfilter/ipvs/
H A Dip_vs_conn.c78 conn_tab_lock(struct ip_vs_rht *t, struct ip_vs_conn *cp, u32 hash_key, in conn_tab_lock()
84 struct ip_vs_rht *t2 = t; in conn_tab_lock()
166 static u32 ip_vs_conn_hashkey(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_conn_hashkey()
190 struct ip_vs_rht *t, bool inverse) in ip_vs_conn_hashkey_param()
216 static unsigned int ip_vs_conn_hashkey_conn(struct ip_vs_rht *t, in ip_vs_conn_hashkey_conn()
248 struct ip_vs_rht *t; in ip_vs_conn_hash()
301 struct ip_vs_rht *t; in ip_vs_conn_unlink()
350 struct ip_vs_rht *t, *pt; in __ip_vs_conn_in_get()
458 struct ip_vs_rht *t, *pt; in ip_vs_ct_in_get()
527 struct ip_vs_rht *t, *pt; in ip_vs_conn_out_get()
[all …]
H A Dip_vs_ctl.c302 const struct ip_vs_rht *t; in get_conn_tab_size()
358 ip_vs_svc_hashval(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_svc_hashval()
367 static inline u32 ip_vs_svc_fwm_hashval(struct ip_vs_rht *t, int af, in ip_vs_svc_fwm_hashval()
378 struct ip_vs_rht *t; in ip_vs_svc_hash()
425 struct ip_vs_rht *t; in ip_vs_svc_unhash()
476 struct ip_vs_rht *t, *p; in __ip_vs_service_find()
512 struct ip_vs_rht *t, *p; in __ip_vs_svc_fwm_find()
614 static int ip_vs_svc_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, in ip_vs_svc_desired_size()
623 static struct ip_vs_rht *ip_vs_svc_table_alloc(struct netns_ipvs *ipvs, in ip_vs_svc_table_alloc()
626 struct ip_vs_rht *t; in ip_vs_svc_table_alloc()
[all …]
H A Dip_vs_core.c161 void ip_vs_rht_free(struct ip_vs_rht *t) in ip_vs_rht_free()
171 struct ip_vs_rht *t; in ip_vs_rht_rcu_free()
173 t = container_of(head, struct ip_vs_rht, rcu_head); in ip_vs_rht_rcu_free()
177 struct ip_vs_rht *ip_vs_rht_alloc(int buckets, int scounts, int locks) in ip_vs_rht_alloc()
179 struct ip_vs_rht *t = kzalloc(sizeof(*t), GFP_KERNEL); in ip_vs_rht_alloc()
235 int ip_vs_rht_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, int n, in ip_vs_rht_desired_size()
264 void ip_vs_rht_set_thresholds(struct ip_vs_rht *t, int size, int lfactor, in ip_vs_rht_set_thresholds()
284 u32 ip_vs_rht_hash_linfo(struct ip_vs_rht *t, int af, in ip_vs_rht_hash_linfo()
/linux/include/net/
H A Dip_vs.h506 struct ip_vs_rht { struct
508 struct ip_vs_rht __rcu *new_tbl; /* New/Same table */ argument
579 struct ip_vs_rht *_t, *_p; \
636 struct ip_vs_rht *_t, *_p; \
656 struct ip_vs_rht *_t, *_p; \
676 static inline bool ip_vs_rht_same_table(struct ip_vs_rht *t, u32 hash_key) in ip_vs_rht_same_table()
682 static inline u32 ip_vs_rht_build_hash_key(struct ip_vs_rht *t, u32 hash) in ip_vs_rht_build_hash_key()
687 void ip_vs_rht_free(struct ip_vs_rht *t);
689 struct ip_vs_rht *ip_vs_rht_alloc(int buckets, int scounts, int locks);
690 int ip_vs_rht_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, int n,
[all …]