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

/linux-master/net/netfilter/
H A Dnf_conncount.c35 #define CONNCOUNT_SLOTS 256U macro
56 static spinlock_t nf_conncount_locks[CONNCOUNT_SLOTS] __cacheline_aligned_in_smp;
60 struct rb_root root[CONNCOUNT_SLOTS];
63 unsigned long pending_trees[BITS_TO_LONGS(CONNCOUNT_SLOTS)];
408 hash = jhash2(key, data->keylen, conncount_rnd) % CONNCOUNT_SLOTS;
463 tree = data->gc_tree % CONNCOUNT_SLOTS;
502 next_tree = (tree + 1) % CONNCOUNT_SLOTS;
503 next_tree = find_next_bit(data->pending_trees, CONNCOUNT_SLOTS, next_tree);
505 if (next_tree < CONNCOUNT_SLOTS) {
605 for (i = 0; i < CONNCOUNT_SLOTS;
[all...]

Completed in 98 milliseconds