Lines Matching refs:cow_start

53 	u32 cow_start;  member
2642 u32 *cow_start, in ocfs2_refcount_cal_cow_clusters() argument
2695 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2724 (*cow_start + *cow_len); in ocfs2_refcount_cal_cow_clusters()
2738 else if (*cow_len || (*cow_start == cpos)) { in ocfs2_refcount_cal_cow_clusters()
2753 } else if ((*cow_start + contig_clusters) >= in ocfs2_refcount_cal_cow_clusters()
2766 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2779 *cow_start = ocfs2_cow_align_start(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2780 *cow_start, cpos); in ocfs2_refcount_cal_cow_clusters()
2781 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2791 *cow_start = ocfs2_cow_align_start(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2792 *cow_start, cpos); in ocfs2_refcount_cal_cow_clusters()
2794 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2797 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2800 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2804 if ((*cow_start + *cow_len) >= (cpos + write_len)) in ocfs2_refcount_cal_cow_clusters()
3359 u32 cow_start = context->cow_start, cow_len = context->cow_len; in ocfs2_replace_cow() local
3372 ret = context->get_clusters(context, cow_start, &p_cluster, in ocfs2_replace_cow()
3385 cow_start, p_cluster, in ocfs2_replace_cow()
3393 cow_start += num_clusters; in ocfs2_replace_cow()
3414 u32 cow_start = 0, cow_len = 0; in ocfs2_refcount_cow_hunk() local
3426 &cow_start, &cow_len); in ocfs2_refcount_cow_hunk()
3434 cow_start, cow_len); in ocfs2_refcount_cow_hunk()
3453 context->cow_start = cow_start; in ocfs2_refcount_cow_hunk()
3472 ocfs2_extent_map_trunc(inode, cow_start); in ocfs2_refcount_cow_hunk()
3634 u32 cow_start, cow_len; in ocfs2_refcount_cow_xattr() local
3640 &cow_start, &cow_len); in ocfs2_refcount_cow_xattr()
3656 context->cow_start = cow_start; in ocfs2_refcount_cow_xattr()