Home
last modified time | relevance | path

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

/fs/adfs/
Dmap.c309 static void adfs_map_layout(struct adfs_discmap *dm, unsigned int nzones, in adfs_map_layout() argument
322 for (zone = 1; zone < nzones; zone++) { in adfs_map_layout()
330 size -= (nzones - 1) * zone_size - ADFS_DR_SIZE_BITS; in adfs_map_layout()
331 dm[nzones - 1].dm_endbit = 32 + size; in adfs_map_layout()
335 unsigned int map_addr, unsigned int nzones) in adfs_map_read() argument
339 for (zone = 0; zone < nzones; zone++) { in adfs_map_read()
348 static void adfs_map_relse(struct adfs_discmap *dm, unsigned int nzones) in adfs_map_relse() argument
352 for (zone = 0; zone < nzones; zone++) in adfs_map_relse()
360 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local
363 nzones = dr->nzones | dr->nzones_high << 8; in adfs_read_map()
[all …]
Dsuper.c357 if (adfs_checkdiscrecord(dr) || dr->nzones_high || dr->nzones != 1) in adfs_validate_dr0()
/fs/btrfs/
Dreada.c61 int nzones; member
317 int nzones = 0; in reada_find_extent() local
360 for (nzones = 0; nzones < real_stripes; ++nzones) { in reada_find_extent()
363 dev = bioc->stripes[nzones].dev; in reada_find_extent()
373 re->zones[re->nzones++] = zone; in reada_find_extent()
383 if (re->nzones == 0) { in reada_find_extent()
416 for (nzones = 0; nzones < re->nzones; ++nzones) { in reada_find_extent()
417 dev = re->zones[nzones]->device; in reada_find_extent()
446 while (--nzones >= 0) { in reada_find_extent()
447 dev = re->zones[nzones]->device; in reada_find_extent()
[all …]
Dzoned.c925 u64 nzones = num_bytes >> shift; in btrfs_find_allocatable_zones() local
936 end = begin + nzones; in btrfs_find_allocatable_zones()