Home
last modified time | relevance | path

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

/fs/btrfs/
Dreada.c75 int nzones; member
332 int nzones = 0; in reada_find_extent() local
373 for (nzones = 0; nzones < bbio->num_stripes; ++nzones) { in reada_find_extent()
376 dev = bbio->stripes[nzones].dev; in reada_find_extent()
381 re->zones[nzones] = zone; in reada_find_extent()
391 re->nzones = nzones; in reada_find_extent()
392 if (nzones == 0) { in reada_find_extent()
417 for (i = 0; i < nzones; ++i) { in reada_find_extent()
464 while (nzones) { in reada_find_extent()
467 --nzones; in reada_find_extent()
[all …]
/fs/adfs/
Dsuper.c305 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local
309 nzones = asb->s_map_size; in adfs_read_map()
311 map_addr = (nzones >> 1) * zone_size - in adfs_read_map()
312 ((nzones > 1) ? ADFS_DR_SIZE_BITS : 0); in adfs_read_map()
317 dm = kmalloc(nzones * sizeof(*dm), GFP_KERNEL); in adfs_read_map()
323 for (zone = 0; zone < nzones; zone++, map_addr++) { in adfs_read_map()
446 asb->s_map_size = dr->nzones | (dr->nzones_high << 8); in adfs_fill_super()