Home
last modified time | relevance | path

Searched refs:sector_sz (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dsd_dif.c369 int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_sz) in sd_dif_prepare() argument
435 unsigned int i, j, sectors, sector_sz; in sd_dif_complete() local
443 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()
Dsd.c2180 unsigned int sector_sz = sdkp->device->sector_size; in sd_read_block_limits() local
2190 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()
/linux-2.6.39/fs/
Dbio.c1547 unsigned int sector_sz; in bio_sector_offset() local
1552 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()