Lines Matching refs:ptr2
377 struct bpf_dynptr ptr2; in test_dynptr_is_null() local
396 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr2)) { in test_dynptr_is_null()
402 if (bpf_dynptr_is_null(&ptr2)) { in test_dynptr_is_null()
408 bpf_ringbuf_discard_dynptr(&ptr2, 0); in test_dynptr_is_null()
418 struct bpf_dynptr ptr2; in test_dynptr_is_rdonly() local
434 if (bpf_dynptr_from_skb(skb, 0, &ptr2)) { in test_dynptr_is_rdonly()
440 if (!bpf_dynptr_is_rdonly(&ptr2)) { in test_dynptr_is_rdonly()
466 struct bpf_dynptr ptr2; in test_dynptr_clone() local
481 if (bpf_dynptr_clone(&ptr1, &ptr2)) { in test_dynptr_clone()
489 if (bpf_dynptr_size(&ptr2) != size) { in test_dynptr_clone()
494 if (bpf_dynptr_is_rdonly(&ptr2) != bpf_dynptr_is_rdonly(&ptr1)) { in test_dynptr_clone()
503 if (bpf_dynptr_size(&ptr2) != size) { in test_dynptr_clone()