Lines Matching refs:srp
414 struct scsi_read_capacity_data *srp;
419 srp = (struct scsi_read_capacity_data *)ctio->data_ptr;
431 bzero(srp, sizeof(*srp));
432 scsi_ulto4b(vsize, srp->addr);
433 scsi_ulto4b(sector_size, srp->length);
435 ctio->dxfer_len = sizeof(*srp);
446 struct scsi_read_capacity_data_long *srp;
451 srp = (struct scsi_read_capacity_data_long *)ctio->data_ptr;
463 bzero(srp, sizeof(*srp));
464 scsi_u64to8b(volume_size - 1, srp->addr);
465 scsi_ulto4b(sector_size, srp->length);
467 ctio->dxfer_len = sizeof(*srp);