Home
last modified time | relevance | path

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

/net/netfilter/
Dxt_hashlimit.c1064 __acquires(htable->lock) in dl_seq_start()
1066 struct xt_hashlimit_htable *htable = s->private; in dl_seq_start() local
1069 spin_lock_bh(&htable->lock); in dl_seq_start()
1070 if (*pos >= htable->cfg.size) in dl_seq_start()
1083 struct xt_hashlimit_htable *htable = s->private; in dl_seq_next() local
1087 if (*pos >= htable->cfg.size) { in dl_seq_next()
1095 __releases(htable->lock) in dl_seq_stop()
1097 struct xt_hashlimit_htable *htable = s->private; in dl_seq_stop() local
1102 spin_unlock_bh(&htable->lock); in dl_seq_stop()
1183 struct xt_hashlimit_htable *htable = s->private; in dl_seq_show_v2() local
[all …]
/net/netfilter/ipset/
Dip_set_hash_gen.h80 struct htable { struct
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()
281 struct htable __rcu *table; /* the hash table */
349 mtype_ahash_memsize(const struct htype *h, const struct htable *t) in mtype_ahash_memsize()
373 struct htable *t; in mtype_flush()
397 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy()
464 struct htable *t; in mtype_expire()
551 struct htable *t, *orig; in mtype_resize()
700 struct htable *t; in mtype_add()
[all …]