/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | inode.h | 36 u32 ip_clusters; member 149 return (blkcnt_t)OCFS2_I(inode)->ip_clusters << c_to_s_bits; in ocfs2_inode_sector_count()
|
H A D | file.c | 518 if (!status && OCFS2_I(inode)->ip_clusters == 0) in ocfs2_truncate_file() 587 BUG_ON(le32_to_cpu(fe->i_clusters) != OCFS2_I(inode)->ip_clusters); in ocfs2_extend_allocation() 629 prev_clusters = OCFS2_I(inode)->ip_clusters; in ocfs2_extend_allocation() 650 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation() 679 OCFS2_I(inode)->ip_clusters, in ocfs2_extend_allocation() 1026 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes() 1029 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes() 1032 ret = ocfs2_extend_allocation(inode, oi->ip_clusters, in ocfs2_extend_no_holes()
|
H A D | resize.c | 150 OCFS2_I(bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_update_last_group_and_inode() 560 OCFS2_I(main_bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_group_add()
|
H A D | ocfs2_trace.h | 1355 unsigned int ip_clusters, unsigned long long i_size), 1356 TP_ARGS(ino, di_clusters, di_size, ip_clusters, i_size), 1361 __field(unsigned int, ip_clusters) 1368 __entry->ip_clusters = ip_clusters; 1372 __entry->di_size, __entry->ip_clusters, __entry->i_size)
|
H A D | inode.c | 288 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode() 1306 fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); in ocfs2_mark_inode_dirty() 1340 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_refresh_inode()
|
H A D | suballoc.c | 736 OCFS2_I(alloc_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_block_group_alloc() 1503 OCFS2_I(inode)->ip_clusters) { in ocfs2_cluster_group_search() 1504 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search() 1508 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
|
H A D | aops.c | 201 mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long long)i_size_read(inode), OCFS2_I(inode)->ip_clusters); in ocfs2_get_block() 1577 if (oi->ip_clusters != 0 || i_size_read(inode) != 0) in ocfs2_try_to_write_inline_data()
|
H A D | super.c | 1694 oi->ip_clusters = 0; in ocfs2_inode_init_once() 2298 osb->osb_clusters_at_boot = OCFS2_I(inode)->ip_clusters; in ocfs2_initialize_super()
|
H A D | journal.c | 870 OCFS2_I(inode)->ip_clusters); in ocfs2_journal_init() 1643 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_replay_journal()
|
H A D | dlmglue.c | 2181 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb() 2219 oi->ip_clusters = be32_to_cpu(lvb->lvb_iclusters); in ocfs2_refresh_inode_from_lvb() 2227 if (S_ISLNK(inode->i_mode) && !oi->ip_clusters) in ocfs2_refresh_inode_from_lvb()
|
H A D | dir.c | 2996 * date ip_clusters value. in ocfs2_expand_inline_dir() 3105 extend = (i_size_read(dir) == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)); in ocfs2_do_extend_dir() 3109 u32 offset = OCFS2_I(dir)->ip_clusters; in ocfs2_do_extend_dir() 3231 if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { in ocfs2_extend_dir()
|
H A D | alloc.c | 197 oi->ip_clusters = le32_to_cpu(di->i_clusters); in ocfs2_dinode_update_clusters() 225 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check() 230 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check() 7236 if (OCFS2_I(inode)->ip_clusters == 0) { in ocfs2_commit_truncate() 7253 OCFS2_I(inode)->ip_clusters, in ocfs2_commit_truncate()
|
H A D | refcounttree.c | 935 if (oi->ip_clusters) in ocfs2_try_remove_refcount_tree() 4079 OCFS2_I(t_inode)->ip_clusters = OCFS2_I(s_inode)->ip_clusters; in ocfs2_complete_reflink()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | inode.h | 34 u32 ip_clusters; member 147 return (blkcnt_t)OCFS2_I(inode)->ip_clusters << c_to_s_bits; in ocfs2_inode_sector_count()
|
H A D | file.c | 518 if (!status && OCFS2_I(inode)->ip_clusters == 0) in ocfs2_truncate_file() 584 BUG_ON(le32_to_cpu(fe->i_clusters) != OCFS2_I(inode)->ip_clusters); in ocfs2_extend_allocation() 626 prev_clusters = OCFS2_I(inode)->ip_clusters; in ocfs2_extend_allocation() 647 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation() 676 OCFS2_I(inode)->ip_clusters, in ocfs2_extend_allocation() 1018 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes() 1021 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes() 1024 ret = ocfs2_extend_allocation(inode, oi->ip_clusters, in ocfs2_extend_no_holes()
|
H A D | resize.c | 148 OCFS2_I(bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_update_last_group_and_inode() 558 OCFS2_I(main_bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_group_add()
|
H A D | ocfs2_trace.h | 1355 unsigned int ip_clusters, unsigned long long i_size), 1356 TP_ARGS(ino, di_clusters, di_size, ip_clusters, i_size), 1361 __field(unsigned int, ip_clusters) 1368 __entry->ip_clusters = ip_clusters; 1372 __entry->di_size, __entry->ip_clusters, __entry->i_size)
|
H A D | inode.c | 286 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode() 1304 fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); in ocfs2_mark_inode_dirty() 1338 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_refresh_inode()
|
H A D | suballoc.c | 734 OCFS2_I(alloc_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_block_group_alloc() 1501 OCFS2_I(inode)->ip_clusters) { in ocfs2_cluster_group_search() 1502 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search() 1506 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
|
H A D | journal.c | 907 OCFS2_I(inode)->ip_clusters); in ocfs2_journal_init() 1678 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_replay_journal()
|
H A D | aops.c | 199 mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long long)i_size_read(inode), OCFS2_I(inode)->ip_clusters); in ocfs2_get_block() 1573 if (oi->ip_clusters != 0 || i_size_read(inode) != 0) in ocfs2_try_to_write_inline_data()
|
H A D | super.c | 1688 oi->ip_clusters = 0; in ocfs2_inode_init_once() 2267 osb->osb_clusters_at_boot = OCFS2_I(inode)->ip_clusters; in ocfs2_initialize_super()
|
H A D | dlmglue.c | 2181 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb() 2222 oi->ip_clusters = be32_to_cpu(lvb->lvb_iclusters); in ocfs2_refresh_inode_from_lvb() 2230 if (S_ISLNK(inode->i_mode) && !oi->ip_clusters) in ocfs2_refresh_inode_from_lvb()
|
H A D | dir.c | 2985 * date ip_clusters value. in ocfs2_expand_inline_dir() 3094 extend = (i_size_read(dir) == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)); in ocfs2_do_extend_dir() 3098 u32 offset = OCFS2_I(dir)->ip_clusters; in ocfs2_do_extend_dir() 3220 if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { in ocfs2_extend_dir()
|
H A D | alloc.c | 195 oi->ip_clusters = le32_to_cpu(di->i_clusters); in ocfs2_dinode_update_clusters() 223 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check() 228 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check() 7241 if (OCFS2_I(inode)->ip_clusters == 0) { in ocfs2_commit_truncate() 7258 OCFS2_I(inode)->ip_clusters, in ocfs2_commit_truncate()
|