Searched refs:new_divisor (Results 1 – 2 of 2) sorted by relevance
199 int old_divisor, new_divisor; in fn_rehash_zone() local206 new_divisor = 256; in fn_rehash_zone()209 new_divisor = 1024; in fn_rehash_zone()216 new_divisor = (old_divisor << 1); in fn_rehash_zone()220 new_hashmask = (new_divisor - 1); in fn_rehash_zone()226 ht = fz_hash_alloc(new_divisor); in fn_rehash_zone()229 memset(ht, 0, new_divisor*sizeof(struct fib_node*)); in fn_rehash_zone()235 fz->fz_divisor = new_divisor; in fn_rehash_zone()
143 int old_divisor, new_divisor; in dn_rehash_zone() local150 new_divisor = 256; in dn_rehash_zone()156 new_divisor = 1024; in dn_rehash_zone()161 ht = kmalloc(new_divisor*sizeof(struct dn_fib_node*), GFP_KERNEL); in dn_rehash_zone()166 memset(ht, 0, new_divisor*sizeof(struct dn_fib_node *)); in dn_rehash_zone()171 dz->dz_divisor = new_divisor; in dn_rehash_zone()