Home
last modified time | relevance | path

Searched refs:clusters (Results 1 – 14 of 14) sorted by relevance

/fs/ocfs2/
A Docfs2.h758 u32 clusters) in ocfs2_clusters_to_blocks() argument
789 unsigned int clusters; in ocfs2_clusters_for_bytes() local
795 return clusters; in ocfs2_clusters_for_bytes()
802 unsigned int clusters; in ocfs2_bytes_to_clusters() local
805 return clusters; in ocfs2_bytes_to_clusters()
816 u32 clusters) in ocfs2_clusters_to_bytes() argument
825 unsigned int clusters; in ocfs2_block_to_cluster_start() local
835 unsigned int clusters; in ocfs2_align_bytes_to_clusters() local
858 u32 clusters = pg_index; in ocfs2_page_index_to_clusters() local
866 return clusters; in ocfs2_page_index_to_clusters()
[all …]
A Dresize.c191 if (cluster >= clusters) in update_backups()
221 u32 clusters = 0; in ocfs2_update_super_and_backups() local
239 clusters = le32_to_cpu(super_di->i_clusters); in ocfs2_update_super_and_backups()
248 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
401 le16_to_cpu(gd->bg_bits), input->clusters); in ocfs2_check_new_group()
436 else if (input->clusters > cl_cpg) in ocfs2_verify_group_and_input()
438 else if (input->frees > input->clusters) in ocfs2_verify_group_and_input()
516 input->chain, input->clusters, input->frees); in ocfs2_group_add()
555 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); in ocfs2_group_add()
560 (input->clusters - input->frees) * cl_bpc); in ocfs2_group_add()
[all …]
A Docfs2_trace.h513 __field(unsigned int, clusters)
521 __entry->clusters = clusters;
535 __field(unsigned int, clusters)
541 __entry->clusters = clusters;
918 __entry->clusters = clusters;
951 __entry->clusters = clusters;
1021 __entry->clusters = clusters;
1209 __entry->clusters = clusters;
1340 __entry->clusters = clusters;
1745 __field(int, clusters)
[all …]
A Dfile.c1471 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()
2158 while (clusters) { in ocfs2_check_range_for_refcount()
2171 if (extent_len > clusters) in ocfs2_check_range_for_refcount()
2172 extent_len = clusters; in ocfs2_check_range_for_refcount()
2174 clusters -= extent_len; in ocfs2_check_range_for_refcount()
2259 u32 clusters; in ocfs2_prepare_inode_for_write() local
[all …]
A Drefcounttree.c2366 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2377 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2379 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2451 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2494 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2516 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2550 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
3512 while (cpos < clusters) { in ocfs2_refcounted_xattr_delete_need()
3767 u32 cpos, num_clusters, clusters, p_cluster; in ocfs2_attach_refcount_tree() local
3799 while (cpos < clusters) { in ocfs2_attach_refcount_tree()
[all …]
A Dalloc.c94 u32 clusters);
143 u32 clusters);
147 u32 clusters);
188 u32 clusters) in ocfs2_dinode_update_clusters() argument
208 u32 clusters) in ocfs2_dinode_extent_map_truncate() argument
274 u32 clusters) in ocfs2_xattr_value_update_clusters() argument
320 u32 clusters) in ocfs2_xattr_tree_update_clusters() argument
351 u32 clusters) in ocfs2_dx_root_update_clusters() argument
405 u32 clusters) in ocfs2_refcount_tree_update_clusters() argument
503 u32 clusters) in ocfs2_et_update_clusters() argument
[all …]
A Docfs2_ioctl.h42 __u32 clusters; /* Total number of clusters in this group */ member
A Drefcounttree.h42 u32 clusters,
A Dsuballoc.c325 u64 p_blkno, unsigned int clusters) in ocfs2_bg_discontig_add_extent() argument
337 rec->e_leaf_clusters = cpu_to_le16(clusters); in ocfs2_bg_discontig_add_extent()
338 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
340 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
498 u32 p_cpos, clusters; in ocfs2_block_group_grow_discontig() local
517 &clusters); in ocfs2_block_group_grow_discontig()
525 clusters); in ocfs2_block_group_grow_discontig()
527 min_bits = clusters; in ocfs2_block_group_grow_discontig()
A Dxattr.c1117 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_get_value_outside()
1122 while (cpos < clusters) { in ocfs2_xattr_get_value_outside()
1368 while (cpos < clusters) { in __ocfs2_xattr_set_value_outside()
3971 u32 clusters, in ocfs2_iterate_xattr_buckets() argument
3977 u32 num_buckets = clusters * bpc; in ocfs2_iterate_xattr_buckets()
3988 (unsigned long long)blkno, clusters); in ocfs2_iterate_xattr_buckets()
5891 u32 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_xattr_value_attach_refcount() local
5897 while (cpos < clusters) { in ocfs2_xattr_value_attach_refcount()
6410 clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_reflink_xattr_header()
6412 while (cpos < clusters) { in ocfs2_reflink_xattr_header()
[all …]
/fs/ntfs3/
A DKconfig18 bool "64 bits per NTFS clusters"
21 Windows implementation of ntfs.sys uses 32 bits per clusters.
22 If activated 64 bits per clusters you will be able to use 4k cluster
A Dsuper.c921 u64 sectors, clusters, mlcn, mlcn2, dev_size0; in ntfs_init_from_boot() local
1099 clusters = sbi->volume.size >> cluster_bits; in ntfs_init_from_boot()
1102 if (clusters >> 32) { in ntfs_init_from_boot()
1113 sbi->used.bitmap.nbits = clusters; in ntfs_init_from_boot()
1139 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot()
1142 if (clusters >= (1ull << (64 - cluster_bits))) in ntfs_init_from_boot()
1157 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot()
/fs/ext4/
A Dsysfs.c105 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() local
110 if (ret || val >= clusters || (s64)val < 0) in reserved_clusters_store()
A Dmballoc.c6416 ext4_grpblk_t clusters = new_entry->efd_count; in ext4_mb_free_metadata() local
6458 atomic_add(clusters, &sbi->s_mb_free_pending); in ext4_mb_free_metadata()

Completed in 83 milliseconds