Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_gen.h69 struct hbucket { struct
84 struct hbucket __rcu *bucket[0]; /* hashtable buckets */ argument
87 #define hbucket(h, i) ((h)->bucket[i]) macro
89 (sizeof(struct hbucket) + (n) * (dsize))
111 if ((((size_t)-1) - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size()
115 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size()
360 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
375 struct hbucket *n; in mtype_flush()
380 n = __ipset_dereference_protected(hbucket(t, i), 1); in mtype_flush()
386 rcu_assign_pointer(hbucket(t, i), NULL); in mtype_flush()
[all …]