• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/

Lines Matching defs:clusters

143  * ntfs_cluster_alloc - allocate clusters on an ntfs volume
144 * @vol: mounted ntfs volume on which to allocate the clusters
146 * @count: number of clusters to allocate
147 * @start_lcn: starting lcn at which to allocate the clusters (or -1 if none)
148 * @zone: zone from which to allocate the clusters
150 * Allocate @count clusters preferably starting at cluster @start_lcn or at the
152 * @vol. @zone is either DATA_ZONE for allocation of normal clusters and
153 * MFT_ZONE for allocation of clusters for the master file table, i.e. the
189 s64 clusters, br;
259 /* Loop until all clusters are allocated. */
260 clusters = count;
316 ntfs_log_error("Non-positive free clusters "
354 if (!--clusters) {
487 ntfs_log_perror("Failed to allocate clusters");
514 * ntfs_cluster_free_from_rl - free clusters from runlist
515 * @vol: mounted ntfs volume on which to free the clusters
516 * @rl: runlist from which deallocate clusters
549 ntfs_log_error("Too many free clusters (%lld > %lld)!",
556 * ntfs_cluster_free - free clusters on an ntfs volume
557 * @vol: mounted ntfs volume on which to free the clusters
558 * @na: attribute whose runlist describes the clusters to free
559 * @start_vcn: vcn in @rl at which to start freeing clusters
560 * @count: number of clusters to free or -1 for all clusters
562 * Free @count clusters starting at the cluster @start_vcn in the runlist
565 * If @count is -1, all clusters from @start_vcn to the end of the runlist
568 * On success return the number of deallocated clusters (not counting sparse
569 * clusters) and on error return -1 with errno set to the error code.
605 /* The number of clusters in this run that need freeing. */
611 /* Do the actual freeing of the clusters in this run. */
618 /* Go to the next run and adjust the number of clusters left to free. */
638 /* The number of clusters in this run that need freeing. */
670 ntfs_log_error("Too many free clusters (%lld > %lld)!",