Lines Matching refs:result
380 int result = perfstat_memory_total(NULL, &mem_total, sizeof(mem_total), 1);
381 if (result == -1) {
390 int result = perfstat_memory_total(NULL, &mem_total, sizeof(mem_total), 1);
391 if (result == -1) {
410 int result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1);
411 if (result == -1) {
1065 int result, ncpus, idx = 0;
1067 result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1);
1068 if (result == -1) {
1072 ncpus = result = perfstat_cpu(NULL, NULL, sizeof(perfstat_cpu_t), 0);
1073 if (result == -1) {
1084 result = perfstat_cpu(&cpu_id, ps_cpus, sizeof(perfstat_cpu_t), ncpus);
1085 if (result == -1) {