/fs/ocfs2/ |
D | ocfs2.h | 717 u32 clusters) in ocfs2_clusters_to_blocks() argument 722 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks() 748 unsigned int clusters; in ocfs2_clusters_for_bytes() local 752 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes() 754 return clusters; in ocfs2_clusters_for_bytes() 761 unsigned int clusters; in ocfs2_bytes_to_clusters() local 763 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters() 764 return clusters; in ocfs2_bytes_to_clusters() 775 u32 clusters) in ocfs2_clusters_to_bytes() argument 777 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes() [all …]
|
D | resize.c | 170 static int update_backups(struct inode * inode, u32 clusters, char *data) in update_backups() argument 183 if (cluster >= clusters) in update_backups() 213 u32 clusters = 0; in ocfs2_update_super_and_backups() local 231 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups() 240 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups() 389 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group() 393 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group() 426 else if (total_clusters + input->clusters < total_clusters) in ocfs2_verify_group_and_input() 428 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input() 430 else if (input->frees > input->clusters) in ocfs2_verify_group_and_input() [all …]
|
D | ocfs2_trace.h | 505 unsigned int e_cpos, unsigned int clusters), 506 TP_ARGS(owner, cpos, len, index, e_cpos, clusters), 513 __field(unsigned int, clusters) 521 __entry->clusters = clusters; 525 __entry->e_cpos, __entry->clusters) 530 unsigned int clusters, unsigned int depth), 531 TP_ARGS(ino, new_cpos, clusters, depth), 535 __field(unsigned int, clusters) 541 __entry->clusters = clusters; 546 __entry->clusters, __entry->depth) [all …]
|
D | file.c | 1441 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local 1470 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents() 1471 clusters -= cpos; in ocfs2_allocate_unwritten_extents() 1473 while (clusters) { in ocfs2_allocate_unwritten_extents() 1485 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents() 1486 alloc_size = clusters; in ocfs2_allocate_unwritten_extents() 1505 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents() 2137 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local 2146 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount() 2148 while (clusters) { in ocfs2_check_range_for_refcount() [all …]
|
D | refcounttree.c | 2372 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument 2383 while (clusters) { in ocfs2_calc_refcount_meta_credits() 2385 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits() 2415 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits() 2420 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits() 2449 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits() 2457 clusters -= len; in ocfs2_calc_refcount_meta_credits() 2500 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits() 2522 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument 2556 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del() [all …]
|
D | alloc.c | 94 u32 clusters); 143 u32 clusters); 147 u32 clusters); 188 u32 clusters) in ocfs2_dinode_update_clusters() argument 193 le32_add_cpu(&di->i_clusters, clusters); in ocfs2_dinode_update_clusters() 208 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument 212 ocfs2_extent_map_trunc(inode, clusters); in ocfs2_dinode_extent_map_truncate() 274 u32 clusters) in ocfs2_xattr_value_update_clusters() argument 278 le32_add_cpu(&vb->vb_xv->xr_clusters, clusters); in ocfs2_xattr_value_update_clusters() 320 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument [all …]
|
D | suballoc.c | 321 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument 333 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent() 334 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 336 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 494 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local 513 &clusters); in ocfs2_block_group_grow_discontig() 521 clusters); in ocfs2_block_group_grow_discontig() 523 min_bits = clusters; in ocfs2_block_group_grow_discontig()
|
D | ocfs2_ioctl.h | 42 __u32 clusters; /* Total number of clusters in this group */ member
|
D | refcounttree.h | 42 u32 clusters,
|
D | xattr.c | 1104 u32 cpos, p_cluster, num_clusters, bpc, clusters; in ocfs2_xattr_get_value_outside() local 1112 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_get_value_outside() 1117 while (cpos < clusters) { in ocfs2_xattr_get_value_outside() 1355 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); in __ocfs2_xattr_set_value_outside() local 1361 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters)); in __ocfs2_xattr_set_value_outside() 1363 while (cpos < clusters) { in __ocfs2_xattr_set_value_outside() 3967 u32 clusters, in ocfs2_iterate_xattr_buckets() argument 3973 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets() 3984 (unsigned long long)blkno, clusters); in ocfs2_iterate_xattr_buckets() 5896 u32 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_value_attach_refcount() local [all …]
|
/fs/ntfs3/ |
D | Kconfig | 16 bool "64 bits per NTFS clusters" 19 Windows implementation of ntfs.sys uses 32 bits per clusters. 20 If activated 64 bits per clusters you will be able to use 4k cluster
|
D | super.c | 688 u64 sectors, clusters, mlcn, mlcn2; in ntfs_init_from_boot() local 821 clusters = sbi->volume.size >> sbi->cluster_bits; in ntfs_init_from_boot() 824 if (clusters >> 32) { in ntfs_init_from_boot() 835 sbi->used.bitmap.nbits = clusters; in ntfs_init_from_boot() 861 sbi->maxbytes = (clusters << sbi->cluster_bits) - 1; in ntfs_init_from_boot() 864 if (clusters >= (1ull << (64 - sbi->cluster_bits))) in ntfs_init_from_boot()
|
/fs/ntfs/ |
D | lcnalloc.c | 139 s64 clusters; in ntfs_cluster_alloc() local 239 clusters = count; in ntfs_cluster_alloc() 400 if (!--clusters) { in ntfs_cluster_alloc() 755 (unsigned long long)(count - clusters)); in ntfs_cluster_alloc()
|
/fs/ext4/ |
D | sysfs.c | 102 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() local 107 if (ret || val >= clusters) in reserved_clusters_store()
|
D | mballoc.c | 5779 ext4_grpblk_t clusters = new_entry->efd_count; in ext4_mb_free_metadata() local 5840 sbi->s_mb_free_pending += clusters; in ext4_mb_free_metadata()
|