Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c20 static __u32 map_info_alloc_len; variable
78 map_info_alloc_len = map_info_type->size; in get_map_info_type_id()
79 if (map_info_alloc_len < sizeof(struct bpf_map_info)) in get_map_info_type_id()
80 map_info_alloc_len = sizeof(struct bpf_map_info); in get_map_info_type_id()
107 info = calloc(1, map_info_alloc_len); in map_info_alloc()
111 *alloc_len = map_info_alloc_len; in map_info_alloc()