Home
last modified time | relevance | path

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

/fs/btrfs/
Dreada.c88 int ndevs; member
299 zone->ndevs = bbio->num_stripes; in reada_find_zone()
596 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock()
838 for (j = 0; j < zone->ndevs; ++j) { in dump_devs()
867 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
905 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
Dvolumes.c4524 int ndevs; in __btrfs_alloc_chunk() local
4583 ndevs = 0; in __btrfs_alloc_chunk()
4624 if (ndevs == fs_devices->rw_devices) { in __btrfs_alloc_chunk()
4629 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk()
4630 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk()
4631 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
4632 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk()
4633 ++ndevs; in __btrfs_alloc_chunk()
4639 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()
4643 ndevs -= ndevs % devs_increment; in __btrfs_alloc_chunk()
[all …]
/fs/nfs/
Dcallback.h173 int ndevs; member
Dcallback_xdr.c299 args->ndevs = 0; in decode_devicenotify_args()
366 args->ndevs++; in decode_devicenotify_args()
374 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
Dcallback_proc.c276 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()