Home
last modified time | relevance | path

Searched refs:ndevs (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dreada.c89 int ndevs; member
300 zone->ndevs = bbio->num_stripes; in reada_find_zone()
590 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock()
826 for (j = 0; j < zone->ndevs; ++j) { in dump_devs()
855 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
892 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
Dvolumes.c3712 int ndevs; in __btrfs_alloc_chunk() local
3765 ndevs = 0; in __btrfs_alloc_chunk()
3806 if (ndevs == fs_devices->rw_devices) { in __btrfs_alloc_chunk()
3811 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk()
3812 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk()
3813 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
3814 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk()
3815 ++ndevs; in __btrfs_alloc_chunk()
3821 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()
3825 ndevs -= ndevs % devs_increment; in __btrfs_alloc_chunk()
[all …]
/fs/nfs/
Dcallback.h178 int ndevs; member
Dcallback_xdr.c300 args->ndevs = 0; in decode_devicenotify_args()
367 args->ndevs++; in decode_devicenotify_args()
375 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
Dcallback_proc.c254 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()