Searched refs:map_idx (Results 1 – 2 of 2) sorted by relevance
172 int map_idx; member1750 size_t map_idx; in bpf_program__collect_reloc() local1823 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__collect_reloc()1824 if (maps[map_idx].libbpf_type != type) in bpf_program__collect_reloc()1827 (maps[map_idx].sec_idx == sym.st_shndx && in bpf_program__collect_reloc()1828 maps[map_idx].sec_offset == sym.st_value)) { in bpf_program__collect_reloc()1830 map_idx, maps[map_idx].name, in bpf_program__collect_reloc()1831 maps[map_idx].sec_idx, in bpf_program__collect_reloc()1832 maps[map_idx].sec_offset, in bpf_program__collect_reloc()1838 if (map_idx >= nr_maps) { in bpf_program__collect_reloc()[all …]
2074 int err = 0, mmap_prot, mmap_flags, map_idx = 0; in reader__process_events() local2111 mmaps[map_idx] = buf; in reader__process_events()2112 map_idx = (map_idx + 1) & (ARRAY_SIZE(mmaps) - 1); in reader__process_events()2125 if (mmaps[map_idx]) { in reader__process_events()2126 munmap(mmaps[map_idx], mmap_size); in reader__process_events()2127 mmaps[map_idx] = NULL; in reader__process_events()