Lines Matching refs:sect_size
581 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors()
585 while (size >= mydata->sect_size) { in set_sectors()
586 memcpy(tmpbuf, buffer, mydata->sect_size); in set_sectors()
593 buffer += mydata->sect_size; in set_sectors()
594 size -= mydata->sect_size; in set_sectors()
596 } else if (size >= mydata->sect_size) { in set_sectors()
599 nsects = size / mydata->sect_size; in set_sectors()
607 buffer += nsects * mydata->sect_size; in set_sectors()
608 size -= nsects * mydata->sect_size; in set_sectors()
612 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors()
614 memset(tmpbuf, 0, mydata->sect_size); in set_sectors()
658 mydata->clust_size * mydata->sect_size); in flush_dir()
669 nsects * mydata->sect_size); in flush_dir()
686 unsigned int bytesperclust = mydata->clust_size * mydata->sect_size; in get_set_cluster()
825 unsigned int bytesperclust = mydata->clust_size * mydata->sect_size; in new_dir_table()
907 sect_num = div_u64_rem(size, mydata->sect_size, &offset); in check_overflow()
927 unsigned int bytesperclust = mydata->clust_size * mydata->sect_size; in set_contents()
1722 bytesperclust = mydata->clust_size * mydata->sect_size; in fat_mkdir()