Lines Matching full:volumes
172 dprintk("Too many volumes: %d\n", b->concat.volumes_count); in nfs4_block_decode_volume()
180 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
190 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume()
198 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
291 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask);
296 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple() argument
298 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple()
387 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi() argument
389 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_scsi()
441 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice() argument
443 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_slice()
446 ret = bl_parse_deviceid(server, d, volumes, v->slice.volume, gfp_mask); in bl_parse_slice()
457 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat() argument
459 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_concat()
470 volumes, v->concat.volumes[i], gfp_mask); in bl_parse_concat()
486 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe() argument
488 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_stripe()
499 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe()
515 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid() argument
517 d->type = volumes[idx].type; in bl_parse_deviceid()
521 return bl_parse_simple(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
523 return bl_parse_slice(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
525 return bl_parse_concat(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
527 return bl_parse_stripe(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
529 return bl_parse_scsi(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
541 struct pnfs_block_volume *volumes; in bl_alloc_deviceid_node() local
561 volumes = kcalloc(nr_volumes, sizeof(struct pnfs_block_volume), in bl_alloc_deviceid_node()
563 if (!volumes) in bl_alloc_deviceid_node()
567 ret = nfs4_block_decode_volume(&xdr, &volumes[i]); in bl_alloc_deviceid_node()
576 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
584 kfree(volumes); in bl_alloc_deviceid_node()