Searched refs:v_cluster (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/fs/ocfs2/
H A Dextent_map.c328 * 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
H A Dextent_map.h48 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster,
58 int ocfs2_xattr_get_clusters(struct inode *inode, u32 v_cluster,
70 u32 v_cluster,
H A Dalloc.h240 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster);
H A Drefcounttree.c65 u32 v_cluster, u32 *p_cluster,
3212 u32 v_cluster, u32 *p_cluster, ocfs2_di_get_clusters()
3216 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, ocfs2_di_get_clusters()
3540 u32 v_cluster, u32 *p_cluster, ocfs2_xattr_value_get_clusters()
3547 return ocfs2_xattr_get_clusters(inode, v_cluster, p_cluster, ocfs2_xattr_value_get_clusters()
3211 ocfs2_di_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_di_get_clusters() argument
3539 ocfs2_xattr_value_get_clusters(struct ocfs2_cow_context *context, u32 v_cluster, u32 *p_cluster, u32 *num_clusters, unsigned int *extent_flags) ocfs2_xattr_value_get_clusters() argument
H A Dalloc.c768 * Return the index of the extent record which contains cluster #v_cluster.
773 int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster) ocfs2_search_extent_list() argument
788 if (v_cluster >= rec_start && v_cluster < rec_end) { ocfs2_search_extent_list()

Completed in 153 milliseconds