Home
last modified time | relevance | path

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

/linux-4.4.14/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
109 if ((((size_t)-1) - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size()
113 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size()
350 struct hbucket *n; in mtype_ahash_memsize()
357 n = rcu_dereference_bh(hbucket(t, i)); in mtype_ahash_memsize()
360 memsize += sizeof(struct hbucket) + n->size * dsize; in mtype_ahash_memsize()
371 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
386 struct hbucket *n; in mtype_flush()
[all …]