Searched refs:sect_size (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/mtd/ ! |
D | mtdblock.c | 147 unsigned int sect_size = mtdblk->cache_size; in do_cached_write() local 154 if (!sect_size) in do_cached_write() 158 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_write() 160 unsigned int size = sect_size - offset; in do_cached_write() 164 if (size == sect_size) { in do_cached_write() 187 ret = mtd->read(mtd, sect_start, sect_size, in do_cached_write() 191 if (retlen != sect_size) in do_cached_write() 195 mtdblk->cache_size = sect_size; in do_cached_write() 217 unsigned int sect_size = mtdblk->cache_size; in do_cached_read() local 224 if (!sect_size) in do_cached_read() [all …]
|
/linux-2.6.39/fs/isofs/ ! |
D | inode.c | 1027 unsigned offset, sect_size; in isofs_get_blocks() local 1043 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks() 1067 while (nextblk && (b_off >= (offset + sect_size))) { in isofs_get_blocks() 1070 offset += sect_size; in isofs_get_blocks() 1077 sect_size = ISOFS_I(ninode)->i_section_size >> ISOFS_BUFFER_BITS(ninode); in isofs_get_blocks() 1087 b_off, firstext, (unsigned) sect_size, in isofs_get_blocks()
|
/linux-2.6.39/drivers/ata/ ! |
D | libata-sff.c | 705 if (qc->curbytes == qc->nbytes - qc->sect_size) in ata_pio_sector() 725 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size, in ata_pio_sector() 732 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size, in ata_pio_sector() 739 qc->curbytes += qc->sect_size; in ata_pio_sector() 740 qc->cursg_ofs += qc->sect_size; in ata_pio_sector() 766 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, in ata_pio_sectors()
|
D | libata-scsi.c | 2895 qc->sect_size = scsi_bufflen(scmd); in ata_scsi_pass_thru() 2929 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru() 2934 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
|
D | sata_mv.c | 2343 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { in mv_qc_issue()
|
/linux-2.6.39/include/linux/ ! |
D | libata.h | 561 unsigned int sect_size; member 1479 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
|
/linux-2.6.39/fs/ocfs2/ ! |
D | super.c | 137 int sect_size); 1833 int sect_size) in ocfs2_get_sector() argument 1835 if (!sb_set_blocksize(sb, sect_size)) { in ocfs2_get_sector()
|