Searched refs:ndevs (Results 1 – 5 of 5) sorted by relevance
88 int ndevs; member299 zone->ndevs = bbio->num_stripes; in reada_find_zone()572 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock()803 for (j = 0; j < zone->ndevs; ++j) { in dump_devs()832 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()869 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
3188 int ndevs; in __btrfs_alloc_chunk() local3263 ndevs = 0; in __btrfs_alloc_chunk()3304 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk()3305 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk()3306 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()3307 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk()3308 ++ndevs; in __btrfs_alloc_chunk()3314 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()3318 ndevs -= ndevs % devs_increment; in __btrfs_alloc_chunk()3320 if (ndevs < devs_increment * sub_stripes || ndevs < devs_min) { in __btrfs_alloc_chunk()[all …]
180 int ndevs; member
299 args->ndevs = 0; in decode_devicenotify_args()366 args->ndevs++; in decode_devicenotify_args()374 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
282 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()