• Home
  • Raw
  • Download

Lines Matching full:volumes

112 			dprintk("Too many volumes: %d\n", b->concat.volumes_count);  in nfs4_block_decode_volume()
120 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
130 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume()
138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
231 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask);
236 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple() argument
238 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple()
329 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi() argument
331 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_scsi()
384 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice() argument
386 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_slice()
389 ret = bl_parse_deviceid(server, d, volumes, v->slice.volume, gfp_mask); in bl_parse_slice()
400 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat() argument
402 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_concat()
413 volumes, v->concat.volumes[i], gfp_mask); in bl_parse_concat()
429 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe() argument
431 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_stripe()
442 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe()
458 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid() argument
460 switch (volumes[idx].type) { in bl_parse_deviceid()
462 return bl_parse_simple(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
464 return bl_parse_slice(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
466 return bl_parse_concat(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
468 return bl_parse_stripe(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
470 return bl_parse_scsi(server, d, volumes, idx, gfp_mask); in bl_parse_deviceid()
472 dprintk("unsupported volume type: %d\n", volumes[idx].type); in bl_parse_deviceid()
482 struct pnfs_block_volume *volumes; in bl_alloc_deviceid_node() local
502 volumes = kcalloc(nr_volumes, sizeof(struct pnfs_block_volume), in bl_alloc_deviceid_node()
504 if (!volumes) in bl_alloc_deviceid_node()
508 ret = nfs4_block_decode_volume(&xdr, &volumes[i]); in bl_alloc_deviceid_node()
517 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
525 kfree(volumes); in bl_alloc_deviceid_node()