Home
last modified time | relevance | path

Searched refs:fz_divisor (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dfib_hash.c91 int fz_divisor; /* Hash divisor */ member
202 old_divisor = fz->fz_divisor; in fn_rehash_zone()
235 fz->fz_divisor = new_divisor; in fn_rehash_zone()
260 fz->fz_divisor = 16; in fn_new_zone()
262 fz->fz_divisor = 1; in fn_new_zone()
264 fz->fz_hashmask = (fz->fz_divisor - 1); in fn_new_zone()
265 fz->fz_hash = fz_hash_alloc(fz->fz_divisor); in fn_new_zone()
270 memset(fz->fz_hash, 0, fz->fz_divisor*sizeof(struct fib_node*)); in fn_new_zone()
494 if (fz->fz_nent > (fz->fz_divisor<<1) && in fn_hash_insert()
495 fz->fz_divisor < FZ_MAX_DIVISOR && in fn_hash_insert()
[all …]