Lines Matching refs:write_len
2614 * file and write_len is the cluster length.
2624 u32 write_len,
2638 BUG_ON(cpos + write_len > max_cpos);
2705 want_clusters = write_len;
2707 want_clusters = (cpos + write_len) -
2738 (cpos + write_len)) {
2778 want_clusters = (cpos + write_len) - *cow_start;
2788 if ((*cow_start + *cow_len) >= (cpos + write_len))
3367 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3373 u32 cpos, u32 write_len, u32 max_cpos)
3386 cpos, write_len, max_cpos,
3394 cpos, write_len, max_cpos,
3443 * CoW any and all clusters between cpos and cpos+write_len.
3445 * clusters between cpos and cpos+write_len are safe to modify.
3449 u32 cpos, u32 write_len, u32 max_cpos)
3455 while (write_len) {
3463 if (write_len < num_clusters)
3464 num_clusters = write_len;
3475 write_len -= num_clusters;
3588 u32 cpos, u32 write_len,
3599 cpos, write_len, UINT_MAX,