Lines Matching refs:current
175 cluster_t current, cluster_t next) in set_next_cluster() argument
183 + current * sizeof(cluster_t); in set_next_cluster()
188 current); in set_next_cluster()
237 uint32_t current, uint32_t difference);
240 uint32_t current, uint32_t difference) in grow_file() argument
252 previous = exfat_advance_cluster(ef, node, current - 1); in grow_file()
280 shrink_file(ef, node, current + allocated, allocated); in grow_file()
305 uint32_t current, uint32_t difference) in shrink_file() argument
313 exfat_bug("unable to shrink empty file (%u clusters)", current); in shrink_file()
314 if (current < difference) in shrink_file()
315 exfat_bug("file underflow (%u < %u)", current, difference); in shrink_file()
318 if (current > difference) in shrink_file()
321 current - difference - 1); in shrink_file()