Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h50 struct hbucket { struct
91 struct hbucket __rcu *bucket[]; /* hashtable buckets */
94 #define hbucket(h, i) ((h)->bucket[i]) macro
96 (sizeof(struct hbucket) + (n) * (dsize))
144 if ((INT_MAX - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size()
148 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size()
497 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
516 struct hbucket *n; in mtype_flush()
524 n = __ipset_dereference(hbucket(t, i)); in mtype_flush()
530 rcu_assign_pointer(hbucket(t, i), NULL); in mtype_flush()
[all …]