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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Dlinear.c132 int i, nb_zone, cnt; local
215 nb_zone = sz + (round ? 1 : 0);
217 BUG_ON(nb_zone > PAGE_SIZE / sizeof(struct dev_info *));
219 conf->hash_table = kmalloc (sizeof (struct dev_info *) * nb_zone,
256 BUG_ON(table - conf->hash_table > nb_zone);
H A Draid0.c289 unsigned cur=0, i=0, nb_zone; local
340 nb_zone = s + round;
342 printk("raid0 : nb_zone is %d.\n", nb_zone);
345 nb_zone*sizeof(struct strip_zone*));
346 conf->hash_table = kmalloc (sizeof (struct strip_zone *)*nb_zone, GFP_KERNEL);
352 for (i=1; i< nb_zone; i++) {

Completed in 79 milliseconds