Lines Matching defs:sector_size
335 uint32_t sector_size;
356 sector_size = 512;
358 sector_size = ntohl(rc_data[1]);
361 sector_size, sector_size);
362 return (sector_size);
1579 int32_t num_sectors, sector_size;
1588 sector_size = get_sector_size(door_dp->dd_fd);
1589 door_dp->dd_sector_size = sector_size;
1590 } else sector_size = door_dp->dd_sector_size;
1598 (req->reqraw_read.nbytes % sector_size)) {
1604 num_sectors = (uint32_t)req->reqraw_read.nbytes/sector_size;
1623 ucmd.uscsi_buflen, ucmd.uscsi_resid, sector_size);
1640 int32_t num_sectors, sector_size;
1649 sector_size = get_sector_size(door_dp->dd_fd);
1650 door_dp->dd_sector_size = sector_size;
1651 } else sector_size = door_dp->dd_sector_size;
1659 if ((req->reqraw_write.nbytes % sector_size)) {
1665 num_sectors = (uint32_t)req->reqraw_write.nbytes/sector_size;
1684 ucmd.uscsi_buflen, ucmd.uscsi_resid, sector_size);
1828 int32_t sector_size;
1855 sector_size = (mode_data[BLOCK_LEN_OFFSET] << 16) |
1859 debug(5, "REASSIGN BLOCK: sec size = 0x%x\n", sector_size);
1860 read_buf = (char *)malloc(sector_size);
1870 (void) memset(read_buf, 0, sector_size);
1885 ucmd.uscsi_buflen = sector_size;
1903 ucmd.uscsi_buflen = sector_size;