Lines Matching defs:count
62 * @count: number of clusters to allocate
67 * Allocate @count clusters preferably starting at cluster @start_lcn or at the
133 const s64 count, const LCN start_lcn,
149 ntfs_debug("Entering for start_vcn 0x%llx, count 0x%llx, start_lcn "
151 (unsigned long long)count,
158 BUG_ON(count < 0);
163 /* Return NULL if @count is zero. */
164 if (!count)
239 clusters = count;
755 (unsigned long long)(count - clusters));
779 * @count: number of clusters to free or -1 for all clusters
783 * Free @count clusters starting at the cluster @start_vcn in the runlist
786 * If @count is -1, all clusters from @start_vcn to the end of the runlist are
788 * @start_vcn = 0 and @count = -1.
835 s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
845 ntfs_debug("Entering for i_ino 0x%lx, start_vcn 0x%llx, count "
847 (unsigned long long)count,
853 BUG_ON(count < -1);
887 if (count >= 0 && to_free > count)
888 to_free = count;
905 if (count >= 0)
906 count -= to_free;
911 * Loop over the remaining runs, using @count as a capping value, and
914 for (; rl->length && count != 0; ++rl) {
944 if (count >= 0 && to_free > count)
945 to_free = count;
961 if (count >= 0)
962 count -= to_free;
970 BUG_ON(count > 0);