Home
last modified time | relevance | path

Searched refs:bpf_dynptr (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c14 struct bpf_dynptr ptr;
21 __type(value, struct bpf_dynptr);
50 static int get_map_val_dynptr(struct bpf_dynptr *ptr) in get_map_val_dynptr()
71 struct bpf_dynptr ptr; in ringbuf_missing_release1()
83 struct bpf_dynptr ptr1, ptr2; in ringbuf_missing_release2()
105 struct bpf_dynptr ptr; in missing_release_callback_fn()
126 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr()
138 struct bpf_dynptr ptr; in use_after_invalid()
157 struct bpf_dynptr ptr; in ringbuf_invalid_api()
179 struct bpf_dynptr ptr; in add_dynptr_to_map1()
[all …]
Dtest_kfunc_dynptr_param.c16 extern int bpf_verify_pkcs7_signature(struct bpf_dynptr *data_ptr,
17 struct bpf_dynptr *sig_ptr,
40 struct bpf_dynptr ptr; in BPF_PROG()
52 return bpf_verify_pkcs7_signature((struct bpf_dynptr *)&val, in BPF_PROG()
53 (struct bpf_dynptr *)&val, NULL); in BPF_PROG()
61 return bpf_verify_pkcs7_signature((struct bpf_dynptr *)val, in BPF_PROG()
62 (struct bpf_dynptr *)val, NULL); in BPF_PROG()
69 struct bpf_dynptr ptr; in BPF_PROG()
Duser_ringbuf_fail.c22 bad_access1(struct bpf_dynptr *dynptr, void *context) in bad_access1()
44 bad_access2(struct bpf_dynptr *dynptr, void *context) in bad_access2()
66 write_forbidden(struct bpf_dynptr *dynptr, void *context) in write_forbidden()
85 null_context_write(struct bpf_dynptr *dynptr, void *context) in null_context_write()
104 null_context_read(struct bpf_dynptr *dynptr, void *context) in null_context_read()
125 try_discard_dynptr(struct bpf_dynptr *dynptr, void *context) in try_discard_dynptr()
144 try_submit_dynptr(struct bpf_dynptr *dynptr, void *context) in try_submit_dynptr()
163 invalid_drain_callback_return(struct bpf_dynptr *dynptr, void *context) in invalid_drain_callback_return()
Ddynptr_success.c37 struct bpf_dynptr ptr; in test_read_write()
67 struct bpf_dynptr ptr; in test_data_slice()
122 struct bpf_dynptr *ptr = (struct bpf_dynptr *)data; in ringbuf_callback()
136 struct bpf_dynptr ptr; in test_ringbuf()
Duser_ringbuf_success.c38 record_sample(struct bpf_dynptr *dynptr, void *context) in record_sample()
89 read_protocol_msg(struct bpf_dynptr *dynptr, void *context) in read_protocol_msg()
166 struct bpf_dynptr ptr; in test_user_ringbuf_protocol()
188 struct bpf_dynptr ptr; in test_user_ringbuf()
199 do_nothing_cb(struct bpf_dynptr *dynptr, void *context) in do_nothing_cb()
Dtest_verify_pkcs7_sig.c20 extern int bpf_verify_pkcs7_signature(struct bpf_dynptr *data_ptr,
21 struct bpf_dynptr *sig_ptr,
47 struct bpf_dynptr data_ptr, sig_ptr; in BPF_PROG()
/Linux-v6.1/tools/include/uapi/linux/
Dbpf.h6831 struct bpf_dynptr { struct
/Linux-v6.1/include/uapi/linux/
Dbpf.h6831 struct bpf_dynptr { struct
/Linux-v6.1/kernel/bpf/
Dhelpers.c1449 BTF_TYPE_EMIT(struct bpf_dynptr); in BPF_CALL_4()