Lines Matching defs:chunk_sz
3400 u64 chunk_sz, off;
3413 for (off = 0; off < size; off += chunk_sz - 1) {
3414 chunk_sz = min_t(u64, sizeof(buf), size - off);
3416 * zero terminator. Next iteration increment off by chunk_sz - 1 to
3419 cnt = str_copy_fn(buf, unsafe_src + off, chunk_sz, tsk);
3425 if (cnt < chunk_sz || chunk_sz == 1) /* we are done */
3438 u64 off, chunk_sz;
3449 for (off = 0; off < size; off += chunk_sz) {
3450 chunk_sz = min_t(u64, sizeof(buf), size - off);
3451 err = copy_fn(buf, unsafe_src + off, chunk_sz, tsk);
3454 err = __bpf_dynptr_write(dst, doff + off, buf, chunk_sz, 0);