Lines Matching refs:clu_offset
126 static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset, in exfat_map_cluster() argument
135 unsigned int local_clu_offset = clu_offset; in exfat_map_cluster()
140 if (clu_offset >= num_clusters) in exfat_map_cluster()
141 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster()
151 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
152 last_clu += clu_offset - 1; in exfat_map_cluster()
154 if (clu_offset == num_clusters) in exfat_map_cluster()
157 *clu += clu_offset; in exfat_map_cluster()
161 int err = exfat_get_cluster(inode, clu_offset, in exfat_map_cluster()
166 clu_offset -= fclus; in exfat_map_cluster()
169 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_map_cluster()
170 ei->hint_bmap.off > 0 && clu_offset >= ei->hint_bmap.off) { in exfat_map_cluster()
171 clu_offset -= ei->hint_bmap.off; in exfat_map_cluster()
177 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
181 clu_offset--; in exfat_map_cluster()