Lines Matching refs:dn_rt_hash_table

109 static struct dn_rt_hash_bucket *dn_rt_hash_table;  variable
146 rtp = &dn_rt_hash_table[i].chain; in SMP_TIMER_NAME()
148 write_lock(&dn_rt_hash_table[i].lock); in SMP_TIMER_NAME()
159 write_unlock(&dn_rt_hash_table[i].lock); in SMP_TIMER_NAME()
179 write_lock_bh(&dn_rt_hash_table[i].lock); in dn_dst_gc()
180 rtp = &dn_rt_hash_table[i].chain; in dn_dst_gc()
193 write_unlock_bh(&dn_rt_hash_table[i].lock); in dn_dst_gc()
230 write_lock_bh(&dn_rt_hash_table[hash].lock); in dn_insert_route()
231 rt->u.rt_next = dn_rt_hash_table[hash].chain; in dn_insert_route()
232 dn_rt_hash_table[hash].chain = rt; in dn_insert_route()
238 write_unlock_bh(&dn_rt_hash_table[hash].lock); in dn_insert_route()
247 write_lock_bh(&dn_rt_hash_table[i].lock); in SMP_TIMER_NAME()
249 if ((rt = xchg(&dn_rt_hash_table[i].chain, NULL)) == NULL) in SMP_TIMER_NAME()
259 write_unlock_bh(&dn_rt_hash_table[i].lock); in SMP_TIMER_NAME()
828 read_lock_bh(&dn_rt_hash_table[hash].lock); in dn_route_output()
829 for(rt = dn_rt_hash_table[hash].chain; rt; rt = rt->u.rt_next) { in dn_route_output()
837 read_unlock_bh(&dn_rt_hash_table[hash].lock); in dn_route_output()
842 read_unlock_bh(&dn_rt_hash_table[hash].lock); in dn_route_output()
1007 read_lock(&dn_rt_hash_table[hash].lock); in dn_route_input()
1008 for(rt = dn_rt_hash_table[hash].chain; rt != NULL; rt = rt->u.rt_next) { in dn_route_input()
1019 read_unlock(&dn_rt_hash_table[hash].lock); in dn_route_input()
1024 read_unlock(&dn_rt_hash_table[hash].lock); in dn_route_input()
1168 read_lock_bh(&dn_rt_hash_table[h].lock); in dn_cache_dump()
1169 for(rt = dn_rt_hash_table[h].chain, idx = 0; rt; rt = rt->u.rt_next, idx++) { in dn_cache_dump()
1176 read_unlock_bh(&dn_rt_hash_table[h].lock); in dn_cache_dump()
1181 read_unlock_bh(&dn_rt_hash_table[h].lock); in dn_cache_dump()
1202 read_lock_bh(&dn_rt_hash_table[i].lock); in decnet_cache_get_info()
1203 rt = dn_rt_hash_table[i].chain; in decnet_cache_get_info()
1225 read_unlock_bh(&dn_rt_hash_table[i].lock); in decnet_cache_get_info()
1274 dn_rt_hash_table = (struct dn_rt_hash_bucket *) in dn_route_init()
1276 } while (dn_rt_hash_table == NULL && --order > 0); in dn_route_init()
1278 if (!dn_rt_hash_table) in dn_route_init()
1288 dn_rt_hash_table[i].lock = RW_LOCK_UNLOCKED; in dn_route_init()
1289 dn_rt_hash_table[i].chain = NULL; in dn_route_init()