Home
last modified time | relevance | path

Searched refs:sect_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/mtd/
Dmtdblock.c114 unsigned int sect_size = mtdblk->cache_size; in do_cached_write() local
121 if (!sect_size) in do_cached_write()
125 unsigned long sect_start = (pos/sect_size)*sect_size; in do_cached_write()
127 unsigned int size = sect_size - offset; in do_cached_write()
131 if (size == sect_size) { in do_cached_write()
154 ret = mtd_read(mtd, sect_start, sect_size, in do_cached_write()
158 if (retlen != sect_size) in do_cached_write()
162 mtdblk->cache_size = sect_size; in do_cached_write()
184 unsigned int sect_size = mtdblk->cache_size; in do_cached_read() local
191 if (!sect_size) in do_cached_read()
[all …]
/linux-6.1.9/fs/isofs/
Dinode.c1055 unsigned offset, sect_size; in isofs_get_blocks() local
1071 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks()
1095 while (nextblk && (b_off >= (offset + sect_size))) { in isofs_get_blocks()
1098 offset += sect_size; in isofs_get_blocks()
1105 sect_size = ISOFS_I(ninode)->i_section_size >> ISOFS_BUFFER_BITS(ninode); in isofs_get_blocks()
1115 b_off, firstext, (unsigned) sect_size, in isofs_get_blocks()
/linux-6.1.9/fs/exfat/
Dnls.c655 unsigned int sect_size = sb->s_blocksize; in exfat_load_upcase_table() local
680 for (i = 0; i < sect_size && index <= 0xFFFF; i += 2) { in exfat_load_upcase_table()
/linux-6.1.9/drivers/ata/
Dlibata-sff.c667 if (qc->curbytes == qc->nbytes - qc->sect_size) in ata_pio_sector()
677 trace_ata_sff_pio_transfer_data(qc, offset, qc->sect_size); in ata_pio_sector()
684 if (offset + qc->sect_size > PAGE_SIZE) { in ata_pio_sector()
689 qc->sect_size - split_len); in ata_pio_sector()
691 ata_pio_xfer(qc, page, offset, qc->sect_size); in ata_pio_sector()
694 qc->curbytes += qc->sect_size; in ata_pio_sector()
695 qc->cursg_ofs += qc->sect_size; in ata_pio_sector()
723 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, in ata_pio_sectors()
Dlibata-scsi.c2938 qc->sect_size = scsi_bufflen(scmd); in ata_scsi_pass_thru()
2972 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru()
2977 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
Dsata_mv.c2370 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { in mv_qc_issue()
/linux-6.1.9/fs/ocfs2/
Dsuper.c118 int sect_size);
1752 int sect_size) in ocfs2_get_sector() argument
1754 if (!sb_set_blocksize(sb, sect_size)) { in ocfs2_get_sector()
/linux-6.1.9/include/linux/
Dlibata.h598 unsigned int sect_size; member
1790 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()