Searched refs:CONNCOUNT_LOCK_SLOTS (Results 1 – 1 of 1) sorted by relevance
37 #define CONNCOUNT_LOCK_SLOTS 8U macro39 #define CONNCOUNT_LOCK_SLOTS 256U macro62 static spinlock_t nf_conncount_locks[CONNCOUNT_LOCK_SLOTS] __cacheline_aligned_in_smp;345 spin_lock_bh(&nf_conncount_locks[hash % CONNCOUNT_LOCK_SLOTS]); in insert_tree()421 spin_unlock_bh(&nf_conncount_locks[hash % CONNCOUNT_LOCK_SLOTS]); in insert_tree()490 tree = data->gc_tree % CONNCOUNT_LOCK_SLOTS; in tree_gc_worker()612 BUILD_BUG_ON(CONNCOUNT_LOCK_SLOTS > CONNCOUNT_SLOTS); in nf_conncount_modinit()613 BUILD_BUG_ON((CONNCOUNT_SLOTS % CONNCOUNT_LOCK_SLOTS) != 0); in nf_conncount_modinit()615 for (i = 0; i < CONNCOUNT_LOCK_SLOTS; ++i) in nf_conncount_modinit()