Lines Matching refs:clu
103 * *clu = (~0), if it's unable to allocate a new cluster
106 unsigned int *clu, int create)
125 *clu = EXFAT_EOF_CLUSTER;
129 *clu = last_clu = ei->start_clu;
132 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) {
136 *clu = EXFAT_EOF_CLUSTER;
138 *clu += clu_offset;
143 &fclus, clu, &last_clu, 1);
153 /* hint_bmap.clu should be valid */
154 WARN_ON(ei->hint_bmap.clu < 2);
155 *clu = ei->hint_bmap.clu;
158 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) {
159 last_clu = *clu;
160 if (exfat_get_next_cluster(sb, clu))
166 if (*clu == EXFAT_EOF_CLUSTER) {
216 *clu = new_clu.dir;
248 * Move *clu pointer along FAT chains (hole care) because the
249 * caller of this function expect *clu to be the last cluster.
251 * *clu = (the first cluster of the allocated chain) =>
255 *clu += num_to_be_allocated - 1;
258 if (exfat_get_next_cluster(sb, clu))
268 ei->hint_bmap.clu = *clu;
564 ei->hint_stat.clu = info->start_clu;