Lines Matching defs:cluster
466 int fat_alloc_clusters(struct inode *inode, int *cluster, int nr_cluster)
502 /* make the cluster chain */
513 cluster[idx_clus] = entry;
549 fat_free_clusters(inode, cluster[0]);
554 int fat_free_clusters(struct inode *inode, int cluster)
562 int first_cl = cluster, dirty_fsinfo = 0;
568 cluster = fat_ent_read(inode, &fatent, cluster);
569 if (cluster < 0) {
570 err = cluster;
572 } else if (cluster == FAT_ENT_FREE) {
585 if (cluster != fatent.entry + 1) {
593 first_cl = cluster;
617 } while (cluster != FAT_ENT_EOF);
774 * FAT data is organized as clusters, trim at the granulary of cluster.
776 * fstrim_range is in byte, convert values to cluster index.