Searched refs:btf_decl_tag (Results 1 – 15 of 15) sorted by relevance
120 #define __failure __attribute__((btf_decl_tag("comment:test_expect_failure")))121 #define __success __attribute__((btf_decl_tag("comment:test_expect_success")))128 #define __log_level(lvl) __attribute__((btf_decl_tag("comment:test_log_level="#lvl)))129 #define __flag(flag) __attribute__((btf_decl_tag("comment:test_prog_flags="#flag)))130 #define __retval(val) __attribute__((btf_decl_tag("comment:test_retval="XSTR(val))))132 #define __auxiliary __attribute__((btf_decl_tag("comment:test_auxiliary")))133 #define __auxiliary_unpriv __attribute__((btf_decl_tag("comment:test_auxiliary_unpriv")))134 #define __btf_path(path) __attribute__((btf_decl_tag("comment:test_btf_path=" path)))135 #define __arch(arch) __attribute__((btf_decl_tag("comment:test_arch=" arch)))140 #define __load_if_JITed() __attribute__((btf_decl_tag("comment:load_mode=jited")))[all …]
7 #if __has_attribute(btf_decl_tag)8 #define __tag1 __attribute__((btf_decl_tag("tag1")))9 #define __tag2 __attribute__((btf_decl_tag("tag2")))
214 #define __arg_ctx __attribute__((btf_decl_tag("arg:ctx")))215 #define __arg_nonnull __attribute((btf_decl_tag("arg:nonnull")))216 #define __arg_nullable __attribute((btf_decl_tag("arg:nullable")))217 #define __arg_trusted __attribute((btf_decl_tag("arg:trusted")))218 #define __arg_untrusted __attribute((btf_decl_tag("arg:untrusted")))219 #define __arg_arena __attribute((btf_decl_tag("arg:arena")))
608 struct btf_decl_tag;609 static inline struct btf_decl_tag *btf_decl_tag(const struct btf_type *t) in btf_decl_tag() function611 return (struct btf_decl_tag *)(t + 1); in btf_decl_tag()
330 return base_size + sizeof(struct btf_decl_tag); in btf_type_size()413 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest()2947 sz = sizeof(struct btf_type) + sizeof(struct btf_decl_tag); in btf_add_decl_tag()2959 btf_decl_tag(t)->component_idx = component_idx; in btf_add_decl_tag()
6686 if (!btf_is_decl_tag(t) || btf_decl_tag(t)->component_idx != -1) in bpf_prog_assign_exc_cb()7011 arg_idx = btf_decl_tag(t)->component_idx; in bpf_program_fixup_func_info()
187 struct btf_decl_tag { struct
9 #define __contains(name, node) __attribute__((btf_decl_tag("contains:" #name ":" #node)))242 #define __exception_cb(name) __attribute__((btf_decl_tag("exception_callback:" #name)))
204 t->type, btf_decl_tag(t)->component_idx); in fprintf_btf_type_raw()
286 The btf_tag selftest requires LLVM support to recognize the btf_decl_tag and
441 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1) in parse_test_spec()
288 ASSERT_EQ(btf_decl_tag(t)->component_idx, -1, "tag_component_idx"); in gen_btf()298 ASSERT_EQ(btf_decl_tag(t)->component_idx, 1, "tag_component_idx"); in gen_btf()
8062 return base_size + sizeof(struct btf_decl_tag); in btf_type_size()
413 const struct btf_decl_tag *tag = (const void *)(t + 1); in dump_btf_type()531 if (btf_decl_tag(t)->component_idx != -1) in dump_btf_kfuncs()
284 #define __contains(name, node) __attribute__((btf_decl_tag("contains:" #name ":" #node)))
Completed in 61 milliseconds