Lines Matching defs:cluster
465 int fat_alloc_clusters(struct inode *inode, int *cluster, int nr_cluster)
501 /* make the cluster chain */
512 cluster[idx_clus] = entry;
548 fat_free_clusters(inode, cluster[0]);
553 int fat_free_clusters(struct inode *inode, int cluster)
561 int first_cl = cluster, dirty_fsinfo = 0;
567 cluster = fat_ent_read(inode, &fatent, cluster);
568 if (cluster < 0) {
569 err = cluster;
571 } else if (cluster == FAT_ENT_FREE) {
584 if (cluster != fatent.entry + 1) {
592 first_cl = cluster;
616 } while (cluster != FAT_ENT_EOF);
773 * FAT data is organized as clusters, trim at the granulary of cluster.
775 * fstrim_range is in byte, convert vaules to cluster index.