Lines Matching full:chunks
615 int i, chunks = 200; in test_dynptr_copy_xdp() local
619 bpf_ringbuf_reserve_dynptr(&ringbuf, len * chunks, 0, &ptr_buf); in test_dynptr_copy_xdp()
622 bpf_for(i, 0, chunks) { in test_dynptr_copy_xdp()
628 err = bpf_dynptr_copy(&ptr_xdp, 0, &ptr_buf, 0, len * chunks); in test_dynptr_copy_xdp()
632 bpf_for(i, 0, chunks) { in test_dynptr_copy_xdp()
643 bpf_for(i, 0, chunks) { in test_dynptr_copy_xdp()
649 err = bpf_dynptr_copy(&ptr_buf, 0, &ptr_xdp, 0, len * chunks); in test_dynptr_copy_xdp()
653 bpf_for(i, 0, chunks) { in test_dynptr_copy_xdp()
663 err = bpf_dynptr_copy(&ptr_xdp, 2, &ptr_xdp, len, len * (chunks - 1)); in test_dynptr_copy_xdp()
667 bpf_for(i, 0, chunks - 1) { in test_dynptr_copy_xdp()
676 if (bpf_dynptr_copy(&ptr_xdp, 2000, &ptr_xdp, 0, len * chunks) != -E2BIG) in test_dynptr_copy_xdp()