Searched refs:syn_data (Results 1 – 2 of 2) sorted by relevance
1264 static void *cpu_map_data__alloc(struct synthesize_cpu_map_data *syn_data, in cpu_map_data__alloc() argument1269 syn_data->nr = perf_cpu_map__nr(syn_data->map); in cpu_map_data__alloc()1270 syn_data->has_any_cpu = (perf_cpu_map__cpu(syn_data->map, 0).cpu == -1) ? 1 : 0; in cpu_map_data__alloc()1272 syn_data->min_cpu = perf_cpu_map__cpu(syn_data->map, syn_data->has_any_cpu).cpu; in cpu_map_data__alloc()1273 syn_data->max_cpu = perf_cpu_map__max(syn_data->map).cpu; in cpu_map_data__alloc()1274 if (syn_data->max_cpu - syn_data->min_cpu + 1 == syn_data->nr - syn_data->has_any_cpu) { in cpu_map_data__alloc()1277 syn_data->type = PERF_CPU_MAP__RANGE_CPUS; in cpu_map_data__alloc()1278 syn_data->size = header_size + sizeof(u64); in cpu_map_data__alloc()1279 return zalloc(syn_data->size); in cpu_map_data__alloc()1282 size_cpus = sizeof(u16) + sizeof(struct cpu_map_entries) + syn_data->nr * sizeof(u16); in cpu_map_data__alloc()[all …]
76 __u8 syn_data:1, /* SYN includes data */ member