Searched refs:sample_mmap (Results 1 – 1 of 1) sorted by relevance
151 struct datarec *sample_mmap[NUM_MAP]; variable1233 sample_mmap[i] = mmap(NULL, size, PROT_READ | PROT_WRITE, in sample_setup_maps_mappings()1235 if (sample_mmap[i] == MAP_FAILED) in sample_setup_maps_mappings()1370 size = sample_map_count[i] * sizeof(**sample_mmap); in sample_exit()1371 munmap(sample_mmap[i], size); in sample_exit()1393 map_collect_percpu(sample_mmap[MAP_RX], &rec->rx_cnt); in sample_stats_collect()1396 map_collect_percpu(sample_mmap[MAP_REDIRECT_ERR], &rec->redir_err[0]); in sample_stats_collect()1400 map_collect_percpu(&sample_mmap[MAP_REDIRECT_ERR][i * sample_n_cpus], in sample_stats_collect()1406 map_collect_percpu(&sample_mmap[MAP_CPUMAP_ENQUEUE][i * sample_n_cpus], in sample_stats_collect()1410 map_collect_percpu(sample_mmap[MAP_CPUMAP_KTHREAD], in sample_stats_collect()[all …]