Lines Matching refs:chunk_sz
3502 u64 chunk_sz, off;
3515 for (off = 0; off < size; off += chunk_sz - 1) {
3516 chunk_sz = min_t(u64, sizeof(buf), size - off);
3518 * zero terminator. Next iteration increment off by chunk_sz - 1 to
3521 cnt = str_copy_fn(buf, unsafe_src + off, chunk_sz, tsk);
3527 if (cnt < chunk_sz || chunk_sz == 1) /* we are done */
3540 u64 off, chunk_sz;
3551 for (off = 0; off < size; off += chunk_sz) {
3552 chunk_sz = min_t(u64, sizeof(buf), size - off);
3553 err = copy_fn(buf, unsafe_src + off, chunk_sz, tsk);
3556 err = __bpf_dynptr_write(dst, doff + off, buf, chunk_sz, 0);