Searched refs:nzones (Results 1 – 4 of 4) sorted by relevance
309 static void adfs_map_layout(struct adfs_discmap *dm, unsigned int nzones, in adfs_map_layout() argument322 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() argument339 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() argument352 for (zone = 0; zone < nzones; zone++) in adfs_map_relse()360 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local363 nzones = dr->nzones | dr->nzones_high << 8; in adfs_read_map()[all …]
357 if (adfs_checkdiscrecord(dr) || dr->nzones_high || dr->nzones != 1) in adfs_validate_dr0()
61 int nzones; member317 int nzones = 0; in reada_find_extent() local360 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 …]
925 u64 nzones = num_bytes >> shift; in btrfs_find_allocatable_zones() local936 end = begin + nzones; in btrfs_find_allocatable_zones()