Searched refs:sector_sz (Results 1 – 3 of 3) sorted by relevance
369 int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_sz) in sd_dif_prepare() argument435 unsigned int i, j, sectors, sector_sz; in sd_dif_complete() local443 sector_sz = scmd->device->sector_size; in sd_dif_complete()444 sectors = good_bytes / sector_sz; in sd_dif_complete()447 if (sector_sz == 4096) in sd_dif_complete()
2180 unsigned int sector_sz = sdkp->device->sector_size; in sd_read_block_limits() local2190 get_unaligned_be16(&buffer[6]) * sector_sz); in sd_read_block_limits()2192 get_unaligned_be32(&buffer[12]) * sector_sz); in sd_read_block_limits()
1547 unsigned int sector_sz; in bio_sector_offset() local1552 sector_sz = queue_logical_block_size(bio->bi_bdev->bd_disk->queue); in bio_sector_offset()1561 sectors += (offset - bv->bv_offset) / sector_sz; in bio_sector_offset()1565 sectors += bv->bv_len / sector_sz; in bio_sector_offset()