Lines Matching refs:clu_offset
105 static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset, in exfat_map_cluster() argument
114 unsigned int local_clu_offset = clu_offset; in exfat_map_cluster()
121 if (clu_offset >= num_clusters) in exfat_map_cluster()
122 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster()
132 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
133 last_clu += clu_offset - 1; in exfat_map_cluster()
135 if (clu_offset == num_clusters) in exfat_map_cluster()
138 *clu += clu_offset; in exfat_map_cluster()
142 int err = exfat_get_cluster(inode, clu_offset, in exfat_map_cluster()
147 clu_offset -= fclus; in exfat_map_cluster()
150 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_map_cluster()
151 ei->hint_bmap.off > 0 && clu_offset >= ei->hint_bmap.off) { in exfat_map_cluster()
152 clu_offset -= ei->hint_bmap.off; in exfat_map_cluster()
158 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
162 clu_offset--; in exfat_map_cluster()