Lines Matching refs:cow_start

44 	u32 cow_start;  member
2632 u32 *cow_start, in ocfs2_refcount_cal_cow_clusters() argument
2685 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2714 (*cow_start + *cow_len); in ocfs2_refcount_cal_cow_clusters()
2728 else if (*cow_len || (*cow_start == cpos)) { in ocfs2_refcount_cal_cow_clusters()
2743 } else if ((*cow_start + contig_clusters) >= in ocfs2_refcount_cal_cow_clusters()
2756 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2769 *cow_start = ocfs2_cow_align_start(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2770 *cow_start, cpos); in ocfs2_refcount_cal_cow_clusters()
2771 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2781 *cow_start = ocfs2_cow_align_start(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2782 *cow_start, cpos); in ocfs2_refcount_cal_cow_clusters()
2784 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2787 if (*cow_start + want_clusters <= rec_end) in ocfs2_refcount_cal_cow_clusters()
2790 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2794 if ((*cow_start + *cow_len) >= (cpos + write_len)) in ocfs2_refcount_cal_cow_clusters()
3329 u32 cow_start = context->cow_start, cow_len = context->cow_len; in ocfs2_replace_cow() local
3342 ret = context->get_clusters(context, cow_start, &p_cluster, in ocfs2_replace_cow()
3355 cow_start, p_cluster, in ocfs2_replace_cow()
3363 cow_start += num_clusters; in ocfs2_replace_cow()
3384 u32 cow_start = 0, cow_len = 0; in ocfs2_refcount_cow_hunk() local
3395 &cow_start, &cow_len); in ocfs2_refcount_cow_hunk()
3403 cow_start, cow_len); in ocfs2_refcount_cow_hunk()
3422 context->cow_start = cow_start; in ocfs2_refcount_cow_hunk()
3441 ocfs2_extent_map_trunc(inode, cow_start); in ocfs2_refcount_cow_hunk()
3602 u32 cow_start, cow_len; in ocfs2_refcount_cow_xattr() local
3608 &cow_start, &cow_len); in ocfs2_refcount_cow_xattr()
3624 context->cow_start = cow_start; in ocfs2_refcount_cow_xattr()