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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Droute.c216 # define RT_HASH_LOCK_SZ 256 macro
219 # define RT_HASH_LOCK_SZ 4096 macro
221 # define RT_HASH_LOCK_SZ 2048 macro
223 # define RT_HASH_LOCK_SZ 1024 macro
225 # define RT_HASH_LOCK_SZ 512 macro
227 # define RT_HASH_LOCK_SZ 256 macro
232 # define rt_hash_lock_addr(slot) &rt_hash_locks[(slot) & (RT_HASH_LOCK_SZ - 1)]
235 rt_hash_locks = kmalloc(sizeof(spinlock_t) * RT_HASH_LOCK_SZ, GFP_KERNEL); \
237 for (i = 0; i < RT_HASH_LOCK_SZ; i++) \

Completed in 157 milliseconds