Home
last modified time | relevance | path

Searched defs:btf (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/tools/lib/bpf/
Dbtf.c26 struct btf { struct
31 struct btf_type **types; argument
40 static int btf_add_type(struct btf *btf, struct btf_type *t) in btf_add_type()
68 static int btf_parse_hdr(struct btf *btf, btf_print_fn_t err_log) in btf_parse_hdr()
124 static int btf_parse_str_sec(struct btf *btf, btf_print_fn_t err_log) in btf_parse_str_sec()
141 static int btf_parse_type_sec(struct btf *btf, btf_print_fn_t err_log) in btf_parse_type_sec()
189 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id()
224 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size()
269 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type()
289 __s32 btf__find_by_name(const struct btf *btf, const char *type_name) in btf__find_by_name()
[all …]
Dbpf.c623 int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf()
Dlibbpf.c222 struct btf *btf; member
986 static int bpf_map_find_btf_info(struct bpf_map *map, const struct btf *btf) in bpf_map_find_btf_info()
/Linux-v4.19/kernel/bpf/
Dbtf.c190 struct btf { struct
192 struct btf_type **types; argument
197 struct btf_header hdr; argument
212 const struct btf_type *t; argument
239 struct btf *btf; member
423 static bool btf_name_offset_valid(const struct btf *btf, u32 offset) in btf_name_offset_valid()
429 static const char *btf_name_by_offset(const struct btf *btf, u32 offset) in btf_name_by_offset()
439 static const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id()
500 struct btf *btf = env->btf; in __btf_verifier_log_type() local
537 struct btf *btf = env->btf; in btf_verifier_log_member() local
[all …]
Dsyscall.c466 static int map_check_btf(const struct bpf_map *map, const struct btf *btf, in map_check_btf()
522 struct btf *btf; in map_create() local
2136 static int bpf_btf_get_info_by_fd(struct btf *btf, in bpf_btf_get_info_by_fd()
/Linux-v4.19/tools/bpf/bpftool/
Dmap.c184 static int get_btf(struct bpf_map_info *map_info, struct btf **btf) in get_btf()
260 unsigned char *value, struct btf *btf) in print_entry_json()
636 struct btf *btf = NULL; in do_dump() local
797 struct btf *btf = NULL; in do_lookup() local
Dmain.h154 const struct btf *btf; member
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h390 __aligned_u64 btf; member
2513 __aligned_u64 btf; member
/Linux-v4.19/include/uapi/linux/
Dbpf.h390 __aligned_u64 btf; member
2513 __aligned_u64 btf; member
/Linux-v4.19/include/linux/
Dbpf.h75 struct btf *btf; member