Searched refs:sect_size (Results 1 – 9 of 9) sorted by relevance
| /linux/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 = mtdblk->cache_size; in do_cached_read() local 191 if (!sect_size) { in do_cached_read() [all …]
|
| /linux/scripts/ |
| H A D | generate_builtin_ranges.awk | 231 sect_size[sect] = strtonum($3); 371 v = sect_size[sect_in[mod_sect]]; 469 v = sect_size[sect_in[mod_sect]];
|
| /linux/fs/exfat/ |
| H A D | nls.c | 652 unsigned int sect_size = sb->s_blocksize; in exfat_load_upcase_table() local 675 for (i = 0; i < sect_size && index <= 0xFFFF; i += 2) { in exfat_load_upcase_table()
|
| /linux/fs/isofs/ |
| H A D | inode.c | 1025 unsigned offset, sect_size; in isofs_get_blocks() local 1041 sect_size = ei->i_section_size >> ISOFS_BUFFER_BITS(inode); in isofs_get_blocks() 1065 while (nextblk && (b_off >= (offset + sect_size))) { in isofs_get_blocks() 1068 offset += sect_size; in isofs_get_blocks() 1075 sect_size = ISOFS_I(ninode)->i_section_size >> ISOFS_BUFFER_BITS(ninode); in isofs_get_blocks() 1085 b_off, firstext, (unsigned) sect_size, in isofs_get_blocks()
|
| /linux/drivers/ata/ |
| H A D | libata-sff.c | 610 if (qc->curbytes == qc->nbytes - qc->sect_size) in ata_pio_sector() 621 count = min(qc->cursg->length - qc->cursg_ofs, qc->sect_size); in ata_pio_sector() 668 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, in ata_pio_sectors()
|
| H A D | libata-scsi.c | 3166 qc->sect_size = scsi_bufflen(scmd); in ata_scsi_pass_thru() 3200 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru() 3205 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
|
| H A D | sata_mv.c | 2339 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) { in mv_qc_issue()
|
| /linux/fs/ocfs2/ |
| H A D | super.c | 116 int sect_size); 1697 int sect_size) in ocfs2_get_sector() argument 1699 if (!sb_set_blocksize(sb, sect_size)) { in ocfs2_get_sector()
|
| /linux/include/linux/ |
| H A D | libata.h | 658 unsigned int sect_size; member 1906 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
|