Searched refs:ip_vs_rht (Results 1 – 5 of 5) sorted by relevance
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_conn.c | 97 conn_tab_lock(struct ip_vs_rht *t, struct ip_vs_rht *t2, struct ip_vs_conn *cp, in conn_tab_lock() 184 static u32 ip_vs_conn_hashkey(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_conn_hashkey() 208 struct ip_vs_rht *t, bool inverse) in ip_vs_conn_hashkey_param() 234 static unsigned int ip_vs_conn_hashkey_conn(struct ip_vs_rht *t, in ip_vs_conn_hashkey_conn() 266 struct ip_vs_rht *t; in ip_vs_conn_hash() 321 struct ip_vs_rht *t; in ip_vs_conn_unlink() 373 struct ip_vs_rht *t, *pt; in __ip_vs_conn_in_get() 481 struct ip_vs_rht *t, *pt; in ip_vs_ct_in_get() 550 struct ip_vs_rht *t, *pt; in ip_vs_conn_out_get() 650 struct ip_vs_rht *t, *tp, *t2; in ip_vs_conn_fill_cport() [all …]
|
| H A D | ip_vs_ctl.c | 302 const struct ip_vs_rht *t; in get_conn_tab_size() 366 ip_vs_svc_hashval(struct ip_vs_rht *t, int af, unsigned int proto, in ip_vs_svc_hashval() 375 static inline u32 ip_vs_svc_fwm_hashval(struct ip_vs_rht *t, int af, in ip_vs_svc_fwm_hashval() 386 struct ip_vs_rht *t; in ip_vs_svc_hash() 442 struct ip_vs_rht *t; in ip_vs_svc_unhash() 501 struct ip_vs_rht *t, *p; in __ip_vs_service_find() 537 struct ip_vs_rht *t, *p; in __ip_vs_svc_fwm_find() 639 static int ip_vs_svc_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, in ip_vs_svc_desired_size() 648 static struct ip_vs_rht *ip_vs_svc_table_alloc(struct netns_ipvs *ipvs, in ip_vs_svc_table_alloc() 651 struct ip_vs_rht *t; in ip_vs_svc_table_alloc() [all …]
|
| H A D | ip_vs_core.c | 161 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_obj(*t); in ip_vs_rht_alloc() 234 int ip_vs_rht_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, int n, in ip_vs_rht_desired_size() 263 void ip_vs_rht_set_thresholds(struct ip_vs_rht *t, int size, int lfactor, in ip_vs_rht_set_thresholds() 283 u32 ip_vs_rht_hash_linfo(struct ip_vs_rht *t, int af, in ip_vs_rht_hash_linfo()
|
| H A D | ip_vs_sync.c | 1764 struct ip_vs_rht *tc_new; in start_sync_thread()
|
| /linux/include/net/ |
| H A D | ip_vs.h | 520 struct ip_vs_rht { struct 522 struct ip_vs_rht __rcu *new_tbl; /* New/Same table */ argument 593 struct ip_vs_rht *_t, *_p; \ 650 struct ip_vs_rht *_t, *_p; \ 670 struct ip_vs_rht *_t, *_p; \ 690 static inline bool ip_vs_rht_same_table(struct ip_vs_rht *t, u32 hash_key) in ip_vs_rht_same_table() 696 static inline u32 ip_vs_rht_build_hash_key(struct ip_vs_rht *t, u32 hash) in ip_vs_rht_build_hash_key() 701 void ip_vs_rht_free(struct ip_vs_rht *t); 703 struct ip_vs_rht *ip_vs_rht_alloc(int buckets, int scounts, int locks); 704 int ip_vs_rht_desired_size(struct netns_ipvs *ipvs, struct ip_vs_rht *t, int n, [all …]
|