Searched refs:ocfs2_clusters_for_bytes (Results 1 – 6 of 6) sorted by relevance
/linux/fs/ocfs2/ |
H A D | ocfs2.h | 785 static inline unsigned int ocfs2_clusters_for_bytes(struct super_block *sb, in ocfs2_clusters_for_bytes() function 837 clusters = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_align_bytes_to_clusters()
|
H A D | file.c | 867 u32 last_cpos = ocfs2_clusters_for_bytes(inode->i_sb, zero_end); in ocfs2_zero_extend_get_range() 1020 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes() 1470 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents() 1835 trunc_start = ocfs2_clusters_for_bytes(osb->sb, byte_start); in ocfs2_remove_inode_range() 2156 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount() 2339 ocfs2_clusters_for_bytes(inode->i_sb, pos + count) - cpos; in ocfs2_prepare_inode_for_write()
|
H A D | aops.c | 1607 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_expand_nonsparse_inode() 2178 if (ocfs2_clusters_for_bytes(inode->i_sb, pos + total_len) > in ocfs2_dio_wr_get_block() 2179 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)) && in ocfs2_dio_wr_get_block()
|
H A D | move_extents.c | 793 move_start = ocfs2_clusters_for_bytes(osb->sb, range->me_start); in __ocfs2_move_extents_range()
|
H A D | alloc.c | 299 ocfs2_clusters_for_bytes(sb, OCFS2_MAX_XATTR_TREE_LEAF_SIZE); in ocfs2_xattr_tree_fill_max_leaf_clusters() 7251 new_highest_cpos = ocfs2_clusters_for_bytes(osb->sb, in ocfs2_commit_truncate()
|
H A D | dir.c | 2823 alloc = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_expand_inline_dir()
|