Searched refs:CONNTRACK_LOCKS (Results 1 – 4 of 4) sorted by relevance
80 #define CONNTRACK_LOCKS 1024 macro82 extern spinlock_t nf_conntrack_locks[CONNTRACK_LOCKS];
30 static spinlock_t nf_nat_locks[CONNTRACK_LOCKS];631 lock = &nf_nat_locks[srchash % CONNTRACK_LOCKS]; in nf_nat_setup_info()809 spin_lock_bh(&nf_nat_locks[h % CONNTRACK_LOCKS]); in nf_nat_cleanup_conntrack()811 spin_unlock_bh(&nf_nat_locks[h % CONNTRACK_LOCKS]); in nf_nat_cleanup_conntrack()1134 if (nf_nat_htable_size < CONNTRACK_LOCKS) in nf_nat_init()1135 nf_nat_htable_size = CONNTRACK_LOCKS; in nf_nat_init()1141 for (i = 0; i < CONNTRACK_LOCKS; i++) in nf_nat_init()
57 __cacheline_aligned_in_smp spinlock_t nf_conntrack_locks[CONNTRACK_LOCKS];131 h1 %= CONNTRACK_LOCKS; in nf_conntrack_double_unlock()132 h2 %= CONNTRACK_LOCKS; in nf_conntrack_double_unlock()142 h1 %= CONNTRACK_LOCKS; in nf_conntrack_double_lock()143 h2 %= CONNTRACK_LOCKS; in nf_conntrack_double_lock()178 for (i = 0; i < CONNTRACK_LOCKS; i++) { in nf_conntrack_all_lock()2384 lockp = &nf_conntrack_locks[*bucket % CONNTRACK_LOCKS]; in get_next_corpse()2696 for (i = 0; i < CONNTRACK_LOCKS; i++) in nf_conntrack_init_start()2791 BUILD_BUG_ON_NOT_POWER_OF_2(CONNTRACK_LOCKS); in nf_conntrack_init_net()
1201 lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; in ctnetlink_dump_table()