Lines Matching +defs:map +defs:obj
93 static bool get_map_ident(const struct bpf_map *map, char *buf, size_t buf_sz) in get_map_ident()
147 static int codegen_datasec_def(struct bpf_object *obj, in codegen_datasec_def()
257 static bool is_mmapable_map(const struct bpf_map *map, char *buf, size_t sz) in is_mmapable_map()
275 static int codegen_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_datasecs()
279 struct bpf_map *map; in codegen_datasecs() local
324 static int codegen_subskel_datasecs(struct bpf_object *obj, const char *obj_name) in codegen_subskel_datasecs()
328 struct bpf_map *map; in codegen_subskel_datasecs() local
486 static size_t bpf_map_mmap_sz(const struct bpf_map *map) in bpf_map_mmap_sz()
497 static void codegen_asserts(struct bpf_object *obj, const char *obj_name) in codegen_asserts()
500 struct bpf_map *map; in codegen_asserts() local
562 static void codegen_attach_detach(struct bpf_object *obj, const char *obj_name) in codegen_attach_detach()
644 static void codegen_destroy(struct bpf_object *obj, const char *obj_name) in codegen_destroy()
647 struct bpf_map *map; in codegen_destroy() local
688 static int gen_trace(struct bpf_object *obj, const char *obj_name, const char *header_guard) in gen_trace()
691 struct bpf_map *map; in gen_trace() local
851 codegen_maps_skeleton(struct bpf_object *obj, size_t map_cnt, bool mmaped) in codegen_maps_skeleton()
853 struct bpf_map *map; in codegen_maps_skeleton() local
896 codegen_progs_skeleton(struct bpf_object *obj, size_t prog_cnt, bool populate_links) in codegen_progs_skeleton()
1055 const struct bpf_map *map) in gen_st_ops_shadow_type()
1082 static int gen_st_ops_shadow(const char *obj_name, struct btf *btf, struct bpf_object *obj) in gen_st_ops_shadow()
1085 struct bpf_map *map; in gen_st_ops_shadow() local
1116 static void gen_st_ops_shadow_init(struct btf *btf, struct bpf_object *obj) in gen_st_ops_shadow_init()
1118 struct bpf_map *map; in gen_st_ops_shadow_init() local
1147 struct bpf_object *obj = NULL; in do_skeleton() local
1152 struct bpf_map *map; in do_skeleton() local
1529 struct bpf_object *obj = NULL; in do_subskeleton() local
1533 const struct bpf_map *map; in do_subskeleton() local