Lines Matching refs:pa
510 struct proc_info *pa, *pb; in proc_cpu_cmp() local
512 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_cpu_cmp()
514 if (!pa && !pb) return 0; in proc_cpu_cmp()
515 if (!pa) return 1; in proc_cpu_cmp()
518 return -numcmp(pa->delta_time, pb->delta_time); in proc_cpu_cmp()
522 struct proc_info *pa, *pb; in proc_vss_cmp() local
524 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_vss_cmp()
526 if (!pa && !pb) return 0; in proc_vss_cmp()
527 if (!pa) return 1; in proc_vss_cmp()
530 return -numcmp(pa->vss, pb->vss); in proc_vss_cmp()
534 struct proc_info *pa, *pb; in proc_rss_cmp() local
536 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_rss_cmp()
538 if (!pa && !pb) return 0; in proc_rss_cmp()
539 if (!pa) return 1; in proc_rss_cmp()
542 return -numcmp(pa->rss, pb->rss); in proc_rss_cmp()
546 struct proc_info *pa, *pb; in proc_thr_cmp() local
548 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_thr_cmp()
550 if (!pa && !pb) return 0; in proc_thr_cmp()
551 if (!pa) return 1; in proc_thr_cmp()
554 return -numcmp(pa->num_threads, pb->num_threads); in proc_thr_cmp()