Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ocfs2/
Dinode.h53 u32 ip_clusters; member
169 return (blkcnt_t)OCFS2_I(inode)->ip_clusters << c_to_s_bits; in ocfs2_inode_sector_count()
Dfile.c522 if (!status && OCFS2_I(inode)->ip_clusters == 0) in ocfs2_truncate_file()
591 BUG_ON(le32_to_cpu(fe->i_clusters) != OCFS2_I(inode)->ip_clusters); in __ocfs2_extend_allocation()
633 prev_clusters = OCFS2_I(inode)->ip_clusters; in __ocfs2_extend_allocation()
654 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in __ocfs2_extend_allocation()
683 OCFS2_I(inode)->ip_clusters, in __ocfs2_extend_allocation()
1033 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1036 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1039 ret = __ocfs2_extend_allocation(inode, oi->ip_clusters, in ocfs2_extend_no_holes()
2375 old_clusters = OCFS2_I(inode)->ip_clusters; in ocfs2_file_write_iter()
Dresize.c155 OCFS2_I(bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_update_last_group_and_inode()
565 OCFS2_I(main_bm_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_group_add()
Dinode.c291 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode()
1267 fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); in ocfs2_mark_inode_dirty()
1301 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_refresh_inode()
Docfs2_trace.h1354 unsigned int ip_clusters, unsigned long long i_size),
1355 TP_ARGS(ino, di_clusters, di_size, ip_clusters, i_size),
1360 __field(unsigned int, ip_clusters)
1367 __entry->ip_clusters = ip_clusters;
1371 __entry->di_size, __entry->ip_clusters, __entry->i_size)
Daops.c202 …, "Size %llu, clusters %u\n", (unsigned long long)i_size_read(inode), OCFS2_I(inode)->ip_clusters); in ocfs2_get_block()
734 OCFS2_I(inode)->ip_clusters, in ocfs2_direct_IO_extend_no_holes()
1933 if (oi->ip_clusters != 0 || i_size_read(inode) != 0) in ocfs2_try_to_write_inline_data()
Dsuballoc.c768 OCFS2_I(alloc_inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_block_group_alloc()
1508 OCFS2_I(inode)->ip_clusters) { in ocfs2_cluster_group_search()
1509 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search()
1513 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
Djournal.c855 OCFS2_I(inode)->ip_clusters); in ocfs2_journal_init()
1602 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_replay_journal()
Ddlmglue.c2083 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb()
2121 oi->ip_clusters = be32_to_cpu(lvb->lvb_iclusters); in ocfs2_refresh_inode_from_lvb()
2129 if (S_ISLNK(inode->i_mode) && !oi->ip_clusters) in ocfs2_refresh_inode_from_lvb()
Dsuper.c1741 oi->ip_clusters = 0; in ocfs2_inode_init_once()
2327 osb->osb_clusters_at_boot = OCFS2_I(inode)->ip_clusters; in ocfs2_initialize_super()
Dalloc.c203 oi->ip_clusters = le32_to_cpu(di->i_clusters); in ocfs2_dinode_update_clusters()
231 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check()
236 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
7044 if (OCFS2_I(inode)->ip_clusters == 0) { in ocfs2_commit_truncate()
7061 OCFS2_I(inode)->ip_clusters, in ocfs2_commit_truncate()
Ddir.c3132 extend = (i_size_read(dir) == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)); in ocfs2_do_extend_dir()
3136 u32 offset = OCFS2_I(dir)->ip_clusters; in ocfs2_do_extend_dir()
3258 if (dir_i_size == ocfs2_clusters_to_bytes(sb, OCFS2_I(dir)->ip_clusters)) { in ocfs2_extend_dir()
Drefcounttree.c943 if (oi->ip_clusters) in ocfs2_try_remove_refcount_tree()
4089 OCFS2_I(t_inode)->ip_clusters = OCFS2_I(s_inode)->ip_clusters; in ocfs2_complete_reflink()
Dnamei.c1669 ocfs2_clusters_to_bytes(sb, OCFS2_I(inode)->ip_clusters)) { in ocfs2_create_symlink_data()