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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dsd_dif.c369 int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_sz) argument
434 unsigned int i, j, sectors, sector_sz; local
442 sector_sz = scmd->device->sector_size;
443 sectors = good_bytes / sector_sz;
446 if (sector_sz == 4096)
H A Dsd.c2024 unsigned int sector_sz = sdkp->device->sector_size; local
2034 get_unaligned_be16(&buffer[6]) * sector_sz);
2036 get_unaligned_be32(&buffer[12]) * sector_sz);
2047 lba_count * sector_sz >> 9;
2056 q->limits.discard_granularity = granularity * sector_sz;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dbio.c1547 unsigned int sector_sz; local
1552 sector_sz = queue_logical_block_size(bio->bi_bdev->bd_disk->queue);
1561 sectors += (offset - bv->bv_offset) / sector_sz;
1565 sectors += bv->bv_len / sector_sz;

Completed in 44 milliseconds