Lines Matching refs:ptr2
96 struct bpf_dynptr ptr1, ptr2; in ringbuf_missing_release2() local
100 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(*sample), 0, &ptr2); in ringbuf_missing_release2()
105 bpf_ringbuf_discard_dynptr(&ptr2, 0); in ringbuf_missing_release2()
328 struct bpf_dynptr ptr1, ptr2; in data_slice_use_after_release2() local
332 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(*sample), 0, &ptr2); in data_slice_use_after_release2()
334 sample = bpf_dynptr_data(&ptr2, 0, sizeof(*sample)); in data_slice_use_after_release2()
340 bpf_ringbuf_submit_dynptr(&ptr2, 0); in data_slice_use_after_release2()
350 bpf_ringbuf_discard_dynptr(&ptr2, 0); in data_slice_use_after_release2()
577 struct bpf_dynptr ptr1, ptr2; in invalid_read3() local
580 bpf_ringbuf_reserve_dynptr(&ringbuf, 16, 0, &ptr2); in invalid_read3()
586 bpf_ringbuf_discard_dynptr(&ptr2, 0); in invalid_read3()
989 struct bpf_dynptr ptr2; in dynptr_invalidate_slice_failure() local
994 if (get_map_val_dynptr(&ptr2)) in dynptr_invalidate_slice_failure()
1000 p2 = bpf_dynptr_data(&ptr2, 0, 1); in dynptr_invalidate_slice_failure()
1017 struct bpf_dynptr ptr2; in dynptr_invalidate_slice_success() local
1022 if (get_map_val_dynptr(&ptr2)) in dynptr_invalidate_slice_success()
1028 p2 = bpf_dynptr_data(&ptr2, 0, 1); in dynptr_invalidate_slice_success()
1441 struct bpf_dynptr ptr2; in clone_invalid1() local
1444 bpf_dynptr_clone(&ptr1, &ptr2); in clone_invalid1()