Lines Matching full:volumes

170 			dprintk("Too many volumes: %d\n", b->concat.volumes_count);  in nfs4_block_decode_volume()
178 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
188 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume()
196 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
289 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask);
294 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple() argument
296 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple()
385 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi() argument
387 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_scsi()
439 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice() argument
441 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_slice()
444 ret = bl_parse_deviceid(server, d, volumes, v->slice.volume, gfp_mask); in bl_parse_slice()
455 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat() argument
457 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_concat()
468 volumes, v->concat.volumes[i], gfp_mask); in bl_parse_concat()
484 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe() argument
486 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_stripe()
497 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe()
513 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid() argument
515 d->type = volumes[idx].type; in bl_parse_deviceid()
519 return bl_parse_simple(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
521 return bl_parse_slice(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
523 return bl_parse_concat(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
525 return bl_parse_stripe(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
527 return bl_parse_scsi(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
539 struct pnfs_block_volume *volumes; in bl_alloc_deviceid_node() local
559 volumes = kcalloc(nr_volumes, sizeof(struct pnfs_block_volume), in bl_alloc_deviceid_node()
561 if (!volumes) in bl_alloc_deviceid_node()
565 ret = nfs4_block_decode_volume(&xdr, &volumes[i]); in bl_alloc_deviceid_node()
574 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
582 kfree(volumes); in bl_alloc_deviceid_node()