Searched refs:bpf_core_type_id_local (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_type_id.c88 out->local_anon_struct = bpf_core_type_id_local(struct { int marker_field; });
89 out->local_anon_union = bpf_core_type_id_local(union { int marker_field; });
90 out->local_anon_enum = bpf_core_type_id_local(enum { MARKER_ENUM_VAL = 123 });
91 out->local_anon_func_proto_ptr = bpf_core_type_id_local(_Bool(*)(int));
92 out->local_anon_void_ptr = bpf_core_type_id_local(void *);
93 out->local_anon_arr = bpf_core_type_id_local(_Bool[47]);
95 out->local_struct = bpf_core_type_id_local(struct a_struct);
96 out->local_union = bpf_core_type_id_local(union a_union);
97 out->local_enum = bpf_core_type_id_local(enum an_enum);
98 out->local_int = bpf_core_type_id_local(in
[all...]
H A Dlinked_list_fail.c222 bpf_obj_new_impl(bpf_core_type_id_local(int), (void *)42);
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_experimental.h13 * program BTF. User may use the bpf_core_type_id_local macro to pass the
26 #define bpf_obj_new(type) ((type *)bpf_obj_new_impl(bpf_core_type_id_local(type), NULL))
136 * program BTF. User may use the bpf_core_type_id_local macro to pass the
149 #define bpf_percpu_obj_new(type) ((type __percpu_kptr *)bpf_percpu_obj_new_impl(bpf_core_type_id_local(type), NULL))
/linux-master/tools/lib/bpf/
H A Dbpf_core_read.h219 #define bpf_core_type_id_local(type) \ macro

Completed in 112 milliseconds