Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_conncount.c35 #define CONNCOUNT_SLOTS 256U macro
66 struct nf_conncount_root root[CONNCOUNT_SLOTS];
69 unsigned long pending_trees[BITS_TO_LONGS(CONNCOUNT_SLOTS)];
545 hash = jhash2(key, data->keylen, data->initval) % CONNCOUNT_SLOTS; in count_tree()
605 data->gc_tree = find_first_bit(data->pending_trees, CONNCOUNT_SLOTS); in tree_gc_worker()
607 tree = data->gc_tree % CONNCOUNT_SLOTS; in tree_gc_worker()
650 next_tree = (tree + 1) % CONNCOUNT_SLOTS; in tree_gc_worker()
651 next_tree = find_next_bit(data->pending_trees, CONNCOUNT_SLOTS, next_tree); in tree_gc_worker()
653 if (next_tree < CONNCOUNT_SLOTS) { in tree_gc_worker()