H A D | extent_map.c | 328 * larger than v_cluster. 331 u32 v_cluster) ocfs2_search_for_hole_index() 339 if (v_cluster < le32_to_cpu(rec->e_cpos)) ocfs2_search_for_hole_index() 347 * Figure out the size of a hole which starts at v_cluster within the given 350 * If there is no more allocation past v_cluster, we return the maximum 351 * cluster size minus v_cluster. 360 u32 v_cluster, ocfs2_figure_hole_clusters() 367 i = ocfs2_search_for_hole_index(el, v_cluster); ocfs2_figure_hole_clusters() 389 i = ocfs2_search_for_hole_index(el, v_cluster); ocfs2_figure_hole_clusters() 399 *num_clusters = UINT_MAX - v_cluster; ocfs2_figure_hole_clusters() 401 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; ocfs2_figure_hole_clusters() 412 u32 v_cluster, unsigned int *hole_len, ocfs2_get_clusters_nocache() 432 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, ocfs2_get_clusters_nocache() 452 i = ocfs2_search_extent_list(el, v_cluster); ocfs2_get_clusters_nocache() 462 v_cluster, &len); ocfs2_get_clusters_nocache() 475 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); ocfs2_get_clusters_nocache() 529 u32 v_cluster, ocfs2_relative_extent_offsets() 534 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); ocfs2_relative_extent_offsets() 543 int ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster, ocfs2_xattr_get_clusters() argument 555 ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, ocfs2_xattr_get_clusters() 575 i = ocfs2_search_extent_list(el, v_cluster); ocfs2_xattr_get_clusters() 582 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); ocfs2_xattr_get_clusters() 592 coff = v_cluster - le32_to_cpu(rec->e_cpos); ocfs2_xattr_get_clusters() 608 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, ocfs2_get_clusters() argument 623 ret = ocfs2_extent_map_lookup(inode, v_cluster, p_cluster, ocfs2_get_clusters() 634 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, ocfs2_get_clusters() 652 ocfs2_relative_extent_offsets(inode->i_sb, v_cluster, &rec, ocfs2_get_clusters() 330 ocfs2_search_for_hole_index(struct ocfs2_extent_list *el, u32 v_cluster) ocfs2_search_for_hole_index() argument 357 ocfs2_figure_hole_clusters(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *el, struct buffer_head *eb_bh, u32 v_cluster, u32 *num_clusters) ocfs2_figure_hole_clusters() argument 410 ocfs2_get_clusters_nocache(struct inode *inode, struct buffer_head *di_bh, u32 v_cluster, unsigned int *hole_len, struct ocfs2_extent_rec *ret_rec, unsigned int *is_last) ocfs2_get_clusters_nocache() argument 528 ocfs2_relative_extent_offsets(struct super_block *sb, u32 v_cluster, struct ocfs2_extent_rec *rec, u32 *p_cluster, u32 *num_clusters) ocfs2_relative_extent_offsets() argument
|