Home
last modified time | relevance | path

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

/linux/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/include/linux/
H A Dbtf.h113 struct btf_id_set;
502 static inline bool btf_id_set_contains(const struct btf_id_set *set, u32 id) in btf_id_set_contains()
H A Dbpf.h3466 struct btf_id_set;
3467 bool btf_id_set_contains(const struct btf_id_set *set, u32 id);
/linux/kernel/bpf/
H A Dbtf.c5548 struct btf_id_set *aof; in btf_parse_struct_metas()
5551 BUILD_BUG_ON(offsetof(struct btf_id_set, cnt) != 0); in btf_parse_struct_metas()
5552 BUILD_BUG_ON(sizeof(struct btf_id_set) != sizeof(u32)); in btf_parse_struct_metas()
5564 struct btf_id_set *new_aof; in btf_parse_struct_metas()
5570 new_aof = krealloc(aof, offsetof(struct btf_id_set, ids[aof->cnt + 1]), in btf_parse_struct_metas()
5583 struct btf_id_set *new_aof; in btf_parse_struct_metas()
5597 new_aof = krealloc(aof, offsetof(struct btf_id_set, ids[aof->cnt + 1]), in btf_parse_struct_metas()
/linux/Documentation/bpf/
H A Dbtf.rst888 The ``struct btf_id_set set;`` variable is defined to access the list.