Lines Matching refs:v_cluster
317 u32 v_cluster) in ocfs2_search_for_hole_index() argument
325 if (v_cluster < le32_to_cpu(rec->e_cpos)) in ocfs2_search_for_hole_index()
346 u32 v_cluster, in ocfs2_figure_hole_clusters() argument
353 i = ocfs2_search_for_hole_index(el, v_cluster); in ocfs2_figure_hole_clusters()
375 i = ocfs2_search_for_hole_index(el, v_cluster); in ocfs2_figure_hole_clusters()
385 *num_clusters = UINT_MAX - v_cluster; in ocfs2_figure_hole_clusters()
387 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters()
398 u32 v_cluster, unsigned int *hole_len, in ocfs2_get_clusters_nocache() argument
418 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, in ocfs2_get_clusters_nocache()
438 i = ocfs2_search_extent_list(el, v_cluster); in ocfs2_get_clusters_nocache()
448 v_cluster, &len); in ocfs2_get_clusters_nocache()
461 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_get_clusters_nocache()
516 u32 v_cluster, in ocfs2_relative_extent_offsets() argument
521 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets()
530 int ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster, in ocfs2_xattr_get_clusters() argument
542 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, in ocfs2_xattr_get_clusters()
562 i = ocfs2_search_extent_list(el, v_cluster); in ocfs2_xattr_get_clusters()
569 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_xattr_get_clusters()
580 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters()
595 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, in ocfs2_get_clusters() argument
610 ret = ocfs2_extent_map_lookup(inode, v_cluster, p_cluster, in ocfs2_get_clusters()
621 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, in ocfs2_get_clusters()
639 ocfs2_relative_extent_offsets(inode->i_sb, v_cluster, &rec, in ocfs2_get_clusters()