Lines Matching refs:read_size
24 for (i = 0; i < iter->read_size / iter->write_size; i++) { in write_block()
163 if (block > iter->parent->size / iter->read_size) in read_block()
167 if (prev_desc->offset + 2 * iter->read_size <= in read_block()
170 desc->offset = prev_desc->offset + iter->read_size; in read_block()
184 iter->read_size, device_offset); in read_block()
192 if (desc->buffer[iter->read_size - 32] != EXFAT_LAST) in read_block()
194 (block * iter->read_size) / exfat->clus_size, in read_block()
195 (block * iter->read_size) % exfat->clus_size, in read_block()
208 iter->read_size = exfat->clus_size <= 4*KB ? exfat->clus_size : 4*KB; in exfat_de_iter_init()
222 if (read_block(iter, 0) != (ssize_t)iter->read_size) { in exfat_de_iter_init()
228 iter->next_read_offset = iter->read_size; in exfat_de_iter_init()
242 block = (unsigned int)(next_de_file_offset / iter->read_size); in exfat_de_iter_get()
248 if (block > iter->de_file_offset / iter->read_size + 1) in exfat_de_iter_get()
254 if (ret != (ssize_t)iter->read_size) in exfat_de_iter_get()
256 iter->next_read_offset += iter->read_size; in exfat_de_iter_get()
264 next_de_file_offset % iter->read_size); in exfat_de_iter_get()
279 block = (unsigned int)(next_file_offset / iter->read_size); in exfat_de_iter_get_dirty()
280 sect_idx = (int)((next_file_offset % iter->read_size) / in exfat_de_iter_get_dirty()