Searched refs:ocfs2_clusters_for_bytes (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/fs/ocfs2/ |
D | extent_map.c | 785 mapping_end = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_fiemap() 853 mapping_end = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_overwrite_io() 914 cend = ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_seek_data_hole_offset()
|
D | ocfs2.h | 758 static inline unsigned int ocfs2_clusters_for_bytes(struct super_block *sb, in ocfs2_clusters_for_bytes() function 810 clusters = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_align_bytes_to_clusters()
|
D | file.c | 882 u32 last_cpos = ocfs2_clusters_for_bytes(inode->i_sb, zero_end); in ocfs2_zero_extend_get_range() 1035 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes() 1478 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() 2154 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount() 2340 ocfs2_clusters_for_bytes(inode->i_sb, pos + count) - cpos; in ocfs2_prepare_inode_for_write()
|
D | aops.c | 1655 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_expand_nonsparse_inode() 2223 if (ocfs2_clusters_for_bytes(inode->i_sb, pos + total_len) > in ocfs2_dio_wr_get_block() 2224 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)) && in ocfs2_dio_wr_get_block()
|
D | xattr.c | 614 int new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_security_init() 690 new_clusters = ocfs2_clusters_for_bytes(dir->i_sb, in ocfs2_calc_xattr_init() 700 ocfs2_clusters_for_bytes(dir->i_sb, acl_len); in ocfs2_calc_xattr_init() 871 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, len); in ocfs2_xattr_value_truncate() 1365 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len); in __ocfs2_xattr_set_value_outside() 3060 u32 new_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need() 3154 old_clusters = ocfs2_clusters_for_bytes(inode->i_sb, in ocfs2_calc_xattr_set_need() 6258 *num_recs += ocfs2_clusters_for_bytes(sb, in ocfs2_value_metas_in_xattr_header()
|
D | move_extents.c | 804 move_start = ocfs2_clusters_for_bytes(osb->sb, range->me_start); in __ocfs2_move_extents_range()
|
D | refcounttree.c | 2582 return ocfs2_clusters_for_bytes(sb, MAX_CONTIG_BYTES); in ocfs2_cow_contig_clusters() 3840 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size); in ocfs2_attach_refcount_tree() 4021 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size); in ocfs2_duplicate_extent_list() 4537 slast = ocfs2_clusters_for_bytes(s_inode->i_sb, pos_in + len); in ocfs2_reflink_remap_extent()
|
D | alloc.c | 315 ocfs2_clusters_for_bytes(sb, OCFS2_MAX_XATTR_TREE_LEAF_SIZE); in ocfs2_xattr_tree_fill_max_leaf_clusters() 7220 new_highest_cpos = ocfs2_clusters_for_bytes(osb->sb, in ocfs2_commit_truncate()
|
D | dir.c | 2818 alloc = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_expand_inline_dir()
|