Lines Matching refs:write_len
2624 u32 write_len, in ocfs2_refcount_cal_cow_clusters() argument
2638 BUG_ON(cpos + write_len > max_cpos); in ocfs2_refcount_cal_cow_clusters()
2705 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters()
2707 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters()
2738 (cpos + write_len)) { in ocfs2_refcount_cal_cow_clusters()
2778 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2788 if ((*cow_start + *cow_len) >= (cpos + write_len)) in ocfs2_refcount_cal_cow_clusters()
3376 u32 cpos, u32 write_len, u32 max_cpos) in ocfs2_refcount_cow_hunk() argument
3389 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk()
3397 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk()
3452 u32 cpos, u32 write_len, u32 max_cpos) in ocfs2_refcount_cow() argument
3458 while (write_len) { in ocfs2_refcount_cow()
3466 if (write_len < num_clusters) in ocfs2_refcount_cow()
3467 num_clusters = write_len; in ocfs2_refcount_cow()
3478 write_len -= num_clusters; in ocfs2_refcount_cow()
3591 u32 cpos, u32 write_len, in ocfs2_refcount_cow_xattr() argument
3602 cpos, write_len, UINT_MAX, in ocfs2_refcount_cow_xattr()