Home
last modified time | relevance | path

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

/Linux-v6.1/net/netfilter/ipset/
Dip_set_hash_gen.h48 struct hbucket { struct
87 struct hbucket __rcu *bucket[]; /* hashtable buckets */
90 #define hbucket(h, i) ((h)->bucket[i]) macro
92 (sizeof(struct hbucket) + (n) * (dsize))
114 if ((INT_MAX - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size()
118 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size()
371 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
386 struct hbucket *n; in mtype_flush()
394 n = __ipset_dereference(hbucket(t, i)); in mtype_flush()
400 rcu_assign_pointer(hbucket(t, i), NULL); in mtype_flush()
[all …]