Lines Matching refs:dn_rt_hash_mask
124 static unsigned int dn_rt_hash_mask; variable
176 return dn_rt_hash_mask & (unsigned int)tmp; in dn_hash()
187 for (i = 0; i <= dn_rt_hash_mask; i++) { in dn_dst_check_expire()
220 for (i = 0; i <= dn_rt_hash_mask; i++) { in dn_dst_gc()
359 for (i = 0; i < dn_rt_hash_mask; i++) { in dn_run_flush()
1742 for(h = 0; h <= dn_rt_hash_mask; h++) { in dn_cache_dump()
1782 for(s->bucket = dn_rt_hash_mask; s->bucket >= 0; --s->bucket) { in dn_rt_cache_get_first()
1879 dn_rt_hash_mask = (1UL << order) * PAGE_SIZE / in dn_route_init()
1881 while(dn_rt_hash_mask & (dn_rt_hash_mask - 1)) in dn_route_init()
1882 dn_rt_hash_mask--; in dn_route_init()
1892 dn_rt_hash_mask, in dn_route_init()
1893 (long)(dn_rt_hash_mask*sizeof(struct dn_rt_hash_bucket))/1024); in dn_route_init()
1895 dn_rt_hash_mask--; in dn_route_init()
1896 for(i = 0; i <= dn_rt_hash_mask; i++) { in dn_route_init()
1901 dn_dst_ops.gc_thresh = (dn_rt_hash_mask + 1); in dn_route_init()