Home
last modified time | relevance | path

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

/Linux-v5.10/net/netfilter/ipset/
Dip_set_hash_gen.h73 struct hbucket { struct
112 struct hbucket __rcu *bucket[]; /* hashtable buckets */
115 #define hbucket(h, i) ((h)->bucket[i]) macro
117 (sizeof(struct hbucket) + (n) * (dsize))
139 if ((((size_t)-1) - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size()
143 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size()
412 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
427 struct hbucket *n; in mtype_flush()
435 n = __ipset_dereference(hbucket(t, i)); in mtype_flush()
441 rcu_assign_pointer(hbucket(t, i), NULL); in mtype_flush()
[all …]