Lines Matching defs:write_len
2626 * file and write_len is the cluster length.
2636 u32 write_len,
2650 BUG_ON(cpos + write_len > max_cpos);
2718 want_clusters = write_len;
2720 want_clusters = (cpos + write_len) -
2751 (cpos + write_len)) {
2791 want_clusters = (cpos + write_len) - *cow_start;
2801 if ((*cow_start + *cow_len) >= (cpos + write_len))
3401 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3407 u32 cpos, u32 write_len, u32 max_cpos)
3421 cpos, write_len, max_cpos,
3428 mlog(0, "CoW inode %lu, cpos %u, write_len %u, cow_start %u, "
3430 cpos, write_len, cow_start, cow_len);
3478 * CoW any and all clusters between cpos and cpos+write_len.
3480 * clusters between cpos and cpos+write_len are safe to modify.
3484 u32 cpos, u32 write_len, u32 max_cpos)
3490 while (write_len) {
3498 if (write_len < num_clusters)
3499 num_clusters = write_len;
3510 write_len -= num_clusters;
3624 u32 cpos, u32 write_len,
3636 cpos, write_len, UINT_MAX,