Home
last modified time | relevance | path

Searched refs:btf (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dbpf.h35 struct btf;
84 int (*map_check_btf)(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type,
146 struct btf *btf; member
226 int map_check_no_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type,
825 struct btf *btf; member
909 int (*init)(struct btf *bt
950 bpf_struct_ops_init(struct btf *btf, struct bpf_verifier_log *log) bpf_struct_ops_init() argument
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dsyscall.c8 #include <linux/btf.h>
28 #include <uapi/linux/btf.h>
488 btf_put(map->btf); in _bpf_map_put()
740 int map_check_no_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, in map_check_no_btf() argument
746 static int map_check_btf(struct bpf_map *map, const struct btf *btf, u32 btf_key_id, u32 btf_value_id) in map_check_btf() argument
754 key_type = btf_type_id_size(btf, &btf_key_id, &key_size); in map_check_btf()
759 key_type = btf_type_by_id(btf, 0); in map_check_btf()
765 value_type = btf_type_id_size(btf, in map_check_btf()
850 struct btf *btf; map_create() local
3793 bpf_btf_get_info_by_fd(struct file *file, struct btf *btf, const union bpf_attr *attr, union bpf_attr __user *uattr) bpf_btf_get_info_by_fd() argument
[all...]
H A Dverifier.c6 #include <uapi/linux/btf.h>
11 #include <linux/btf.h>
253 struct btf *btf_vmlinux;
391 verbose(env, "%s\n", ltrim(btf_name_by_offset(env->prog->aux->btf, linfo->line_off))); in verbose_linfo()
4151 if (!map->btf) { in process_spin_lock()
8560 const struct btf *btf; in check_btf_func() local
8586 btf = prog->aux->btf; in check_btf_func()
8639 type = btf_type_by_id(btf, krecor in check_btf_func()
8701 const struct btf *btf; check_btf_line() local
8814 struct btf *btf; check_btf_info() local
11840 struct btf *btf; bpf_check_attach_target() local
[all...]

Completed in 21 milliseconds