Searched refs:map_sz_copy (Results 1 – 1 of 1) sorted by relevance
402 int map_sz_elf, map_sz_copy; in load_elf_maps_section() local451 map_sz_copy = sizeof(struct bpf_load_map_def); in load_elf_maps_section()452 if (map_sz_elf < map_sz_copy) { in load_elf_maps_section()457 map_sz_copy = map_sz_elf; in load_elf_maps_section()458 } else if (map_sz_elf > map_sz_copy) { in load_elf_maps_section()489 memcpy(&maps[i].def, def, map_sz_copy); in load_elf_maps_section()493 addr = (unsigned char *) def + map_sz_copy; in load_elf_maps_section()