Lines Matching defs:cluster
64 unsigned short sec_per_clus; /* sectors/cluster */
66 unsigned int cluster_size; /* cluster size */
73 unsigned long max_cluster; /* maximum cluster number */
74 unsigned long root_cluster; /* first cluster of the root directory */
79 unsigned int prev_free; /* previously allocated cluster number */
122 int i_start; /* first cluster or 0 */
123 int i_logstart; /* logical first cluster */
288 int cluster = le16_to_cpu(de->start);
290 cluster |= (le16_to_cpu(de->starthi) << 16);
291 return cluster;
294 static inline void fat_set_start(struct msdos_dir_entry *de, int cluster)
296 de->start = cpu_to_le16(cluster);
297 de->starthi = cpu_to_le16(cluster >> 16);
316 extern int fat_get_cluster(struct inode *inode, int cluster,
390 extern int fat_alloc_clusters(struct inode *inode, int *cluster,
392 extern int fat_free_clusters(struct inode *inode, int cluster);