Searched refs:autocreate (Results 1 – 2 of 2) sorted by relevance
575 bool autocreate; member1123 if (map->autocreate) in bpf_object_adjust_struct_ops_autoload()1346 if (!map->autocreate) in bpf_object__init_kern_struct_ops_maps()1420 map->autocreate = false; in init_struct_ops_maps()1785 map->autocreate = true; in bpf_object__add_map()4867 return map->autocreate; in bpf_map__autocreate()4870 int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate) in bpf_map__set_autocreate() argument4875 map->autocreate = autocreate; in bpf_map__set_autocreate()5470 map->autocreate = false; in bpf_object__create_maps()5472 if (!map->autocreate) { in bpf_object__create_maps()[all …]
1026 LIBBPF_API int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate);