Home
last modified time | relevance | path

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

/external/linux-kselftest/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()
/external/libbpf/src/
Dbpf_helper_defs.h43 struct bpf_dynptr;
4470 static long (* const bpf_dynptr_from_mem)(void *data, __u32 size, __u64 flags, struct bpf_dynptr *p…
4485 …ringbuf_reserve_dynptr)(void *ringbuf, __u32 size, __u64 flags, struct bpf_dynptr *ptr) = (void *)…
4500 static void (* const bpf_ringbuf_submit_dynptr)(struct bpf_dynptr *ptr, __u64 flags) = (void *) 199;
4514 static void (* const bpf_ringbuf_discard_dynptr)(struct bpf_dynptr *ptr, __u64 flags) = (void *) 20…
4528 static long (* const bpf_dynptr_read)(void *dst, __u32 len, const struct bpf_dynptr *src, __u32 off…
4553 static long (* const bpf_dynptr_write)(const struct bpf_dynptr *dst, __u32 offset, void *src, __u32…
4571 static void *(* const bpf_dynptr_data)(const struct bpf_dynptr *ptr, __u32 offset, __u32 len) = (vo…
/external/rust/android-crates-io/crates/libbpf-rs/tests/bin/src/
Duser_ringbuf.bpf.c25 static long user_ringbuf_callback(struct bpf_dynptr *dynptr, void *context) in user_ringbuf_callback()
/external/bpftool/include/uapi/linux/
Dbpf.h7288 struct bpf_dynptr { struct
/external/libbpf/include/uapi/linux/
Dbpf.h7288 struct bpf_dynptr { struct
/external/v4l-utils/include/linux/
Dbpf.h7316 struct bpf_dynptr { struct
/external/kernel-headers/original/uapi/linux/
Dbpf.h7325 struct bpf_dynptr { struct
/external/rust/android-crates-io/crates/libbpf-sys/src/
Dbindings.rs4425 pub struct bpf_dynptr { struct
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h58606 struct bpf_dynptr { struct
/external/bcc/libbpf-tools/loongarch/
Dvmlinux_602.h89560 struct bpf_dynptr { struct
Dvmlinux.h89560 struct bpf_dynptr { struct
/external/bcc/libbpf-tools/riscv/
Dvmlinux_602.h27328 struct bpf_dynptr { struct
Dvmlinux.h27328 struct bpf_dynptr { struct
/external/bcc/libbpf-tools/arm64/
Dvmlinux_608.h104446 struct bpf_dynptr { struct
Dvmlinux.h104446 struct bpf_dynptr { struct