/linux/fs/exfat/ |
H A D | fatent.c | 153 unsigned int num_clusters = 0; in __exfat_free_cluster() local 197 num_clusters++; in __exfat_free_cluster() 198 } while (num_clusters < p_chain->size); in __exfat_free_cluster() 219 num_clusters++; in __exfat_free_cluster() 224 if (num_clusters >= sbi->num_clusters - EXFAT_FIRST_CLUSTER) { in __exfat_free_cluster() 236 sbi->used_clusters -= num_clusters; in __exfat_free_cluster() 360 if (hint_clu != sbi->num_clusters) in exfat_alloc_cluster() 416 if (hint_clu >= sbi->num_clusters) { in exfat_alloc_cluster() 455 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; i++) { in exfat_count_num_clusters()
|
H A D | file.c | 22 unsigned int num_clusters, new_num_clusters, last_clu; in exfat_cont_expand() local 32 num_clusters = EXFAT_B_TO_CLU(exfat_ondisk_size(inode), sbi); in exfat_cont_expand() 35 if (new_num_clusters == num_clusters) in exfat_cont_expand() 38 if (num_clusters) { in exfat_cont_expand() 39 exfat_chain_set(&clu, ei->start_clu, num_clusters, ei->flags); in exfat_cont_expand() 53 ret = exfat_alloc_cluster(inode, new_num_clusters - num_clusters, in exfat_cont_expand() 59 if (num_clusters) { in exfat_cont_expand() 61 if (exfat_chain_cont_cluster(sb, ei->start_clu, num_clusters)) in exfat_cont_expand() 169 unsigned int num_clusters = in __exfat_truncate() local 177 clu.dir += num_clusters; in __exfat_truncate() [all …]
|
H A D | balloc.c | 202 for (i = EXFAT_FIRST_CLUSTER; i < sbi->num_clusters; in exfat_find_free_bitmap() 212 if (clu_free < sbi->num_clusters) in exfat_find_free_bitmap() 219 clu_base >= sbi->num_clusters) { in exfat_find_free_bitmap() 274 if (clu_start >= sbi->num_clusters || range->len < sbi->cluster_size) in exfat_trim_fs() 277 if (clu_end >= sbi->num_clusters) in exfat_trim_fs() 278 clu_end = sbi->num_clusters - 1; in exfat_trim_fs()
|
H A D | inode.c | 136 unsigned int num_to_be_allocated = 0, num_clusters; in exfat_map_cluster() local 138 num_clusters = EXFAT_B_TO_CLU(exfat_ondisk_size(inode), sbi); in exfat_map_cluster() 140 if (clu_offset >= num_clusters) in exfat_map_cluster() 141 num_to_be_allocated = clu_offset - num_clusters + 1; in exfat_map_cluster() 154 if (clu_offset == num_clusters) in exfat_map_cluster() 225 num_clusters); in exfat_map_cluster() 233 num_clusters += num_to_be_allocated; in exfat_map_cluster()
|
H A D | super.c | 81 buf->f_blocks = sbi->num_clusters - 2; /* clu 0 & 1 */ in exfat_statfs() 524 sbi->num_clusters = le32_to_cpu(p_boot->clu_count) + in exfat_read_boot_sector() 538 (u64)sbi->num_clusters * 4) { in exfat_read_boot_sector() 556 sb->s_maxbytes = (u64)(sbi->num_clusters - EXFAT_RESERVED_CLUSTERS) << in exfat_read_boot_sector()
|
H A D | exfat_raw.h | 27 ((sbi)->num_clusters - EXFAT_RESERVED_CLUSTERS)
|
H A D | exfat_fs.h | 252 unsigned int num_clusters; /* num of clusters in volume */ member 425 return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; in is_valid_cluster()
|
H A D | cache.c | 242 unsigned int limit = sbi->num_clusters; in exfat_get_cluster()
|
H A D | dir.c | 90 (u64)EXFAT_CLU_TO_DEN(sbi->num_clusters, sbi)); in exfat_readdir()
|
/linux/fs/ocfs2/ |
H A D | extent_map.h | 34 u32 *num_clusters, unsigned int *extent_flags); 47 u32 *p_cluster, u32 *num_clusters, 59 u32 *num_clusters);
|
H A D | refcounttree.h | 87 u32 cpos, u32 num_clusters); 92 u32 cpos, u32 p_cluster, u32 num_clusters,
|
H A D | localalloc.h | 49 unsigned int num_clusters);
|
H A D | ocfs1_fs_compat.h | 48 /*170*/ __u64 num_clusters; member
|
H A D | localalloc.c | 213 unsigned int num_clusters) in ocfs2_local_alloc_seen_free_bits() argument 215 if (num_clusters >= osb->local_alloc_default_bits) { in ocfs2_local_alloc_seen_free_bits()
|
/linux/fs/ext4/ |
H A D | balloc.c | 92 unsigned base_clusters, num_clusters; in ext4_num_overhead_clusters() local 104 num_clusters = base_clusters; in ext4_num_overhead_clusters() 121 num_clusters += itbl_cluster_end - itbl_cluster_start + 1; in ext4_num_overhead_clusters() 124 num_clusters--; in ext4_num_overhead_clusters() 142 num_clusters++; in ext4_num_overhead_clusters() 156 num_clusters++; in ext4_num_overhead_clusters() 159 return num_clusters; in ext4_num_overhead_clusters()
|
/linux/include/linux/soc/qcom/ |
H A D | socinfo.h | 65 __le32 num_clusters; member
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_device_info.h | 101 u64 num_clusters; member
|
H A D | pvr_drv.c | 277 u32 num_clusters = 1; in rogue_get_num_phantoms() local 279 PVR_FEATURE_VALUE(pvr_dev, num_clusters, &num_clusters); in rogue_get_num_phantoms() 281 return ROGUE_REQ_NUM_PHANTOMS(num_clusters); in rogue_get_num_phantoms()
|
H A D | pvr_device_info.c | 157 FEATURE_MAPPING_VALUE(NUM_CLUSTERS, num_clusters),
|
H A D | pvr_fw.c | 442 WARN_ON(PVR_FEATURE_VALUE(pvr_dev, num_clusters, in fw_runtime_cfg_init()
|