/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdblock.c | 114 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 in do_cached_read() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdblock.c | 114 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 in do_cached_read() local [all...] |
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | inode.c | 1054 unsigned offset, sect_size; in isofs_get_blocks() local 1070 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks() 1091 * exceed sect_size by a partial block, and access beyond the in isofs_get_blocks() 1094 while (nextblk && (b_off >= (offset + sect_size))) { in isofs_get_blocks() 1097 offset += sect_size; in isofs_get_blocks() 1104 sect_size = ISOFS_I(ninode)->i_section_size >> ISOFS_BUFFER_BITS(ninode); in isofs_get_blocks() 1112 printk(KERN_DEBUG "%s: block=%lu firstext=%u sect_size=%u " in isofs_get_blocks() 1114 b_off, firstext, (unsigned) sect_size, in isofs_get_blocks()
|
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | inode.c | 1055 unsigned offset, sect_size; in isofs_get_blocks() local 1071 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks() 1092 * exceed sect_size by a partial block, and access beyond the 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() 1113 printk(KERN_DEBUG "%s: block=%lu firstext=%u sect_size=%u " in isofs_get_blocks() 1115 b_off, firstext, (unsigned) sect_size, in isofs_get_blocks()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | libata-sff.c | 596 * Transfer qc->sect_size bytes of data from/to the ATA device. 611 if (qc->curbytes == qc->nbytes - qc->sect_size) in ata_pio_sector() 621 trace_ata_sff_pio_transfer_data(qc, offset, qc->sect_size); in ata_pio_sector() 628 if (offset + qc->sect_size > PAGE_SIZE) { in ata_pio_sector() 633 qc->sect_size - split_len); in ata_pio_sector() 635 ata_pio_xfer(qc, page, offset, qc->sect_size); in ata_pio_sector() 638 qc->curbytes += qc->sect_size; in ata_pio_sector() 639 qc->cursg_ofs += qc->sect_size; in ata_pio_sector() 667 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, in ata_pio_sectors()
|
H A D | libata-scsi.c | 3000 /* READ/WRITE LONG use a non-standard sect_size */ in ata_scsi_pass_thru() 3009 qc->sect_size = scsi_bufflen(scmd); in ata_scsi_pass_thru() 3043 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru() 3048 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
|
H A D | sata_mv.c | 2370 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { in mv_qc_issue()
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-sff.c | 658 * Transfer qc->sect_size bytes of data from/to the ATA device. 673 if (qc->curbytes == qc->nbytes - qc->sect_size) in ata_pio_sector() 690 if (offset + qc->sect_size > PAGE_SIZE) { in ata_pio_sector() 695 qc->sect_size - split_len); in ata_pio_sector() 697 ata_pio_xfer(qc, page, offset, qc->sect_size); in ata_pio_sector() 700 qc->curbytes += qc->sect_size; in ata_pio_sector() 701 qc->cursg_ofs += qc->sect_size; in ata_pio_sector() 729 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, in ata_pio_sectors()
|
H A D | libata-scsi.c | 2986 /* READ/WRITE LONG use a non-standard sect_size */ in ata_scsi_pass_thru() 2995 qc->sect_size = scsi_bufflen(scmd); in ata_scsi_pass_thru() 3029 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru() 3034 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
|
H A D | sata_mv.c | 2373 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { in mv_qc_issue()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | super.c | 121 int sect_size); 1759 int sect_size) in ocfs2_get_sector() 1761 if (!sb_set_blocksize(sb, sect_size)) { in ocfs2_get_sector() 1756 ocfs2_get_sector(struct super_block *sb, struct buffer_head **bh, int block, int sect_size) ocfs2_get_sector() argument
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | super.c | 118 int sect_size); 1753 int sect_size) in ocfs2_get_sector() 1755 if (!sb_set_blocksize(sb, sect_size)) { in ocfs2_get_sector() 1750 ocfs2_get_sector(struct super_block *sb, struct buffer_head **bh, int block, int sect_size) ocfs2_get_sector() argument
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | nls.c | 655 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | libata.h | 640 unsigned int sect_size; member 1790 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | nls.c | 655 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | libata.h | 612 unsigned int sect_size; member 1824 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
|