Lines Matching refs:b
150 struct pnfs_block_volume *b; in nfsd4_block_get_device_info_simple() local
159 b = &dev->volumes[0]; in nfsd4_block_get_device_info_simple()
161 b->type = PNFS_BLOCK_VOLUME_SIMPLE; in nfsd4_block_get_device_info_simple()
162 b->simple.sig_len = PNFS_BLOCK_UUID_LEN; in nfsd4_block_get_device_info_simple()
163 return sb->s_export_op->get_uuid(sb, b->simple.sig, &b->simple.sig_len, in nfsd4_block_get_device_info_simple()
164 &b->simple.offset); in nfsd4_block_get_device_info_simple()
215 struct pnfs_block_volume *b) in nfsd4_scsi_identify_device() argument
295 b->scsi.code_set = PS_CODE_SET_BINARY; in nfsd4_scsi_identify_device()
296 b->scsi.designator_type = type == 0x02 ? in nfsd4_scsi_identify_device()
298 b->scsi.designator_len = id_len; in nfsd4_scsi_identify_device()
299 memcpy(b->scsi.designator, d + 4, id_len); in nfsd4_scsi_identify_device()
334 struct pnfs_block_volume *b; in nfsd4_block_get_device_info_scsi() local
345 b = &dev->volumes[0]; in nfsd4_block_get_device_info_scsi()
347 b->type = PNFS_BLOCK_VOLUME_SCSI; in nfsd4_block_get_device_info_scsi()
348 b->scsi.pr_key = nfsd4_scsi_pr_key(clp); in nfsd4_block_get_device_info_scsi()
350 error = nfsd4_scsi_identify_device(sb->s_bdev, b); in nfsd4_block_get_device_info_scsi()