Home
last modified time | relevance | path

Searched refs:btf_id_set (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/tools/include/linux/
H A Dbtf_ids.h8 struct btf_id_set { struct
156 extern struct btf_id_set name;
166 #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 };
167 #define BTF_SET_START_GLOBAL(name) static struct btf_id_set __maybe_unused name = { 0 };
/linux-6.15/include/linux/
H A Dbtf_ids.h8 struct btf_id_set { struct
169 extern struct btf_id_set name;
227 #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 };
228 #define BTF_SET_START_GLOBAL(name) static struct btf_id_set __maybe_unused name = { 0 };
H A Dbtf.h116 struct btf_id_set;
510 static inline bool btf_id_set_contains(const struct btf_id_set *set, u32 id) in btf_id_set_contains()
H A Dbpf.h3520 struct btf_id_set;
3521 bool btf_id_set_contains(const struct btf_id_set *set, u32 id);
/linux-6.15/tools/bpf/resolve_btfids/
H A Dmain.c687 struct btf_id_set *set = NULL; in sets_patch()
/linux-6.15/kernel/bpf/
H A Dbtf.c5564 struct btf_id_set *aof; in btf_parse_struct_metas()
5567 BUILD_BUG_ON(offsetof(struct btf_id_set, cnt) != 0); in btf_parse_struct_metas()
5568 BUILD_BUG_ON(sizeof(struct btf_id_set) != sizeof(u32)); in btf_parse_struct_metas()
5580 struct btf_id_set *new_aof; in btf_parse_struct_metas()
5586 new_aof = krealloc(aof, offsetof(struct btf_id_set, ids[aof->cnt + 1]), in btf_parse_struct_metas()
5599 struct btf_id_set *new_aof; in btf_parse_struct_metas()
5613 new_aof = krealloc(aof, offsetof(struct btf_id_set, ids[aof->cnt + 1]), in btf_parse_struct_metas()
/linux-6.15/Documentation/bpf/
H A Dbtf.rst905 The ``struct btf_id_set set;`` variable is defined to access the list.