Lines Matching refs:sect_size
263 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster()
267 while (size >= mydata->sect_size) { in get_cluster()
274 memcpy(buffer, tmpbuf, mydata->sect_size); in get_cluster()
275 buffer += mydata->sect_size; in get_cluster()
276 size -= mydata->sect_size; in get_cluster()
281 idx = size / mydata->sect_size; in get_cluster()
291 idx *= mydata->sect_size; in get_cluster()
296 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster()
329 unsigned int bytesperclust = mydata->clust_size * mydata->sect_size; in get_contents()
589 mydata->sect_size = (bs.sector_size[1] << 8) + bs.sector_size[0]; in get_fs_info()
591 if (mydata->sect_size != cur_part_info.blksz) { in get_fs_info()
593 mydata->sect_size, cur_part_info.blksz); in get_fs_info()
600 if ((unsigned int)mydata->clust_size * mydata->sect_size > in get_fs_info()
603 (unsigned int)mydata->clust_size * mydata->sect_size, in get_fs_info()
616 mydata->sect_size; in get_fs_info()
643 mydata->rootdir_sect * mydata->sect_size, mydata->data_begin); in get_fs_info()
644 debug("Sector size: %d, cluster size: %d\n", mydata->sect_size, in get_fs_info()
858 *nbytes = read_size * itr->fsdata->sect_size; in fat_next_cluster()