Searched refs:alloc_data (Results 1 – 1 of 1) sorted by relevance
/tools/perf/bench/ |
D | numa.c | 310 static u8 *alloc_data(ssize_t bytes0, int map_flags, in alloc_data() function 391 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 399 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 408 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data() 1308 g = (void *)alloc_data(sizeof(*g), MAP_SHARED, 1, 0, 0 /* THP */, 0); in init()
|