• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/

Lines Matching defs:clusters

37  * ntfs_cluster_free_from_rl_nolock - free clusters from runlist
38 * @vol: mounted ntfs volume on which to free the clusters
39 * @rl: runlist describing the clusters to free
41 * Free all the clusters described by the runlist @rl on the volume @vol. In
42 * the case of an error being returned, at least some of the clusters were not
79 s64 clusters;
178 /* Loop until all clusters are allocated, i.e. clusters == 0. */
179 clusters = count;
193 /* Loop until we run out of free clusters. */
340 if (!--clusters) {
623 ntfs_debug("No free clusters left, going to out.");
684 ntfs_error(vol->sb, "Failed to allocate clusters, aborting "
693 "clusters.",
695 (unsigned long long)(count - clusters));
696 /* Deallocate all allocated clusters. */
716 * __ntfs_cluster_free - free clusters on an ntfs volume
717 * @ni: ntfs inode whose runlist describes the clusters to free
718 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters
719 * @count: number of clusters to free or -1 for all clusters
723 * Free @count clusters starting at the cluster @start_vcn in the runlist
726 * If @count is -1, all clusters from @start_vcn to the end of the runlist are
727 * deallocated. Thus, to completely free all clusters in a runlist, use
753 * Return the number of deallocated clusters (not counting sparse ones) on
825 /* The number of clusters in this run that need freeing. */
831 /* Do the actual freeing of the clusters in this run. */
840 /* We have freed @to_free real clusters. */
843 /* Go to the next run and adjust the number of clusters left to free. */
848 /* Keep track of the total "freed" clusters, including sparse ones. */
882 /* The number of clusters in this run that need freeing. */
888 /* Do the actual freeing of the clusters in the run. */
897 /* We have freed @to_free real clusters. */
900 /* Adjust the number of clusters left to free. */
904 /* Update the total done clusters. */
912 /* We are done. Return the number of actually freed clusters. */
918 /* If no real clusters were freed, no need to rollback. */