Searched refs:sample_mmap (Results 1 – 1 of 1) sorted by relevance
150 struct datarec *sample_mmap[NUM_MAP]; variable1232 sample_mmap[i] = mmap(NULL, size, PROT_READ | PROT_WRITE, in sample_setup_maps_mappings()1234 if (sample_mmap[i] == MAP_FAILED) in sample_setup_maps_mappings()1368 size = sample_map_count[i] * sizeof(**sample_mmap); in sample_exit()1369 munmap(sample_mmap[i], size); in sample_exit()1391 map_collect_percpu(sample_mmap[MAP_RX], &rec->rx_cnt); in sample_stats_collect()1394 map_collect_percpu(sample_mmap[MAP_REDIRECT_ERR], &rec->redir_err[0]); in sample_stats_collect()1398 map_collect_percpu(&sample_mmap[MAP_REDIRECT_ERR][i * sample_n_cpus], in sample_stats_collect()1408 map_collect_percpu(sample_mmap[MAP_CPUMAP_KTHREAD], in sample_stats_collect()1413 map_collect_percpu(&sample_mmap[MAP_EXCEPTION][i * sample_n_cpus], in sample_stats_collect()[all …]