[go: nahoru, domu]

Searched refs:sect_size (Results 1 - 4 of 4) sorted by relevance

/drivers/mtd/
H A Dmtdblock.c148 unsigned int sect_size = mtdblk->cache_size; local
155 if (!sect_size)
159 unsigned long sect_start = (pos/sect_size)*sect_size;
161 unsigned int size = sect_size - offset;
165 if (size == sect_size) {
188 ret = mtd_read(mtd, sect_start, sect_size,
192 if (retlen != sect_size)
196 mtdblk->cache_size = sect_size;
218 unsigned int sect_size local
[all...]
/drivers/ata/
H A Dlibata-sff.c693 * Transfer qc->sect_size bytes of data from/to the ATA device.
706 if (qc->curbytes == qc->nbytes - qc->sect_size)
726 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size,
733 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size,
740 qc->curbytes += qc->sect_size;
741 qc->cursg_ofs += qc->sect_size;
767 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size,
H A Dlibata-scsi.c2961 /* READ/WRITE LONG use a non-standard sect_size */
2968 qc->sect_size = scsi_bufflen(scmd);
3002 qc->sect_size = scmd->device->sector_size;
3007 qc->sect_size = ATA_SECT_SIZE;
H A Dsata_mv.c2374 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) {

Completed in 125 milliseconds