Lines Matching defs:map
107 * It is fine that the user requests for a map with
109 * may return not found. For LRU map, we are not interested
110 * in such small map performance.
131 /* If CPU is not 0, create inner_lru hash map and insert the fd
132 * value into the array_of_lru_hash map. In case of CPU 0,
133 * 'inner_lru_hash_map' was statically inserted on the map init
403 struct bpf_map *map;
406 bpf_object__for_each_map(map, obj) {
407 const char *name = bpf_map__name(map);
413 bpf_map__resize(map, num_map_entries);
429 struct bpf_map *map;
457 map = bpf_object__find_map_by_name(obj, "inner_lru_hash_map");
458 if (libbpf_get_error(map)) {
459 fprintf(stderr, "ERROR: finding a map in obj file failed\n");
463 inner_lru_hash_size = bpf_map__max_entries(map);
465 fprintf(stderr, "ERROR: failed to get map attribute\n");
469 /* resize BPF map prior to loading */
483 fprintf(stderr, "ERROR: finding a map in obj file failed\n");