Home
last modified time | relevance | path

Searched refs:max_cluster (Results 1 – 5 of 5) sorted by relevance

/fs/fat/
Dfatent.c430 if (fatent->entry < sbi->max_cluster) in fat_ent_next()
489 while (count < sbi->max_cluster) { in fat_alloc_clusters()
490 if (fatent.entry >= sbi->max_cluster) in fat_alloc_clusters()
525 if (count == sbi->max_cluster) in fat_alloc_clusters()
731 fat_ra_init(sb, &fatent_ra, &fatent, sbi->max_cluster); in fat_count_free_clusters()
732 while (fatent.entry < sbi->max_cluster) { in fat_count_free_clusters()
783 if (ent_start >= sbi->max_cluster || range->len < sbi->cluster_size) in fat_trim_fs()
785 if (ent_end >= sbi->max_cluster) in fat_trim_fs()
786 ent_end = sbi->max_cluster - 1; in fat_trim_fs()
Dfat.h73 unsigned long max_cluster; /* maximum cluster number */ member
381 return FAT_START_ENT <= entry && entry < sbi->max_cluster; in fat_valid_entry()
Dinode.c837 buf->f_blocks = sbi->max_cluster - FAT_START_ENT; in fat_statfs()
1801 sbi->max_cluster = total_clusters + FAT_START_ENT; in fat_fill_super()
1806 sbi->prev_free %= sbi->max_cluster; in fat_fill_super()
/fs/ntfs/
Drunlist.c900 VCN max_cluster; in ntfs_mapping_pairs_decompress() local
902 max_cluster = ((sle64_to_cpu( in ntfs_mapping_pairs_decompress()
917 if (deltaxcn < max_cluster) { in ntfs_mapping_pairs_decompress()
923 max_cluster); in ntfs_mapping_pairs_decompress()
925 vcn += rl[rlpos].length = max_cluster - in ntfs_mapping_pairs_decompress()
929 } else if (unlikely(deltaxcn > max_cluster)) { in ntfs_mapping_pairs_decompress()
935 max_cluster); in ntfs_mapping_pairs_decompress()
/fs/btrfs/
Dioctl.c1427 unsigned long max_cluster = SZ_256K >> PAGE_SHIFT; in btrfs_defrag_file() local
1428 unsigned long cluster = max_cluster; in btrfs_defrag_file()
1462 pages = kmalloc_array(max_cluster, sizeof(struct page *), GFP_KERNEL); in btrfs_defrag_file()
1532 cluster = min(cluster, max_cluster); in btrfs_defrag_file()
1534 cluster = max_cluster; in btrfs_defrag_file()