Lines Matching refs:p2
1240 compare_pid(const void *p1, const void *p2) in compare_pid() argument
1243 const struct kinfo_proc * const *pp2 = p2; in compare_pid()
1251 compare_tid(const void *p1, const void *p2) in compare_tid() argument
1254 const struct kinfo_proc * const *pp2 = p2; in compare_tid()
1348 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_cpu() local
1350 ORDERKEY_PCTCPU(p1, p2); in compare_cpu()
1351 ORDERKEY_CPTICKS(p1, p2); in compare_cpu()
1352 ORDERKEY_STATE(p1, p2); in compare_cpu()
1353 ORDERKEY_PRIO(p1, p2); in compare_cpu()
1354 ORDERKEY_RSSIZE(p1, p2); in compare_cpu()
1355 ORDERKEY_MEM(p1, p2); in compare_cpu()
1366 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_size() local
1368 ORDERKEY_MEM(p1, p2); in compare_size()
1369 ORDERKEY_RSSIZE(p1, p2); in compare_size()
1370 ORDERKEY_PCTCPU(p1, p2); in compare_size()
1371 ORDERKEY_CPTICKS(p1, p2); in compare_size()
1372 ORDERKEY_STATE(p1, p2); in compare_size()
1373 ORDERKEY_PRIO(p1, p2); in compare_size()
1384 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_res() local
1386 ORDERKEY_RSSIZE(p1, p2); in compare_res()
1387 ORDERKEY_MEM(p1, p2); in compare_res()
1388 ORDERKEY_PCTCPU(p1, p2); in compare_res()
1389 ORDERKEY_CPTICKS(p1, p2); in compare_res()
1390 ORDERKEY_STATE(p1, p2); in compare_res()
1391 ORDERKEY_PRIO(p1, p2); in compare_res()
1402 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *) arg2; in compare_time() local
1404 ORDERKEY_CPTICKS(p1, p2); in compare_time()
1405 ORDERKEY_PCTCPU(p1, p2); in compare_time()
1406 ORDERKEY_STATE(p1, p2); in compare_time()
1407 ORDERKEY_PRIO(p1, p2); in compare_time()
1408 ORDERKEY_RSSIZE(p1, p2); in compare_time()
1409 ORDERKEY_MEM(p1, p2); in compare_time()
1420 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_prio() local
1422 ORDERKEY_PRIO(p1, p2); in compare_prio()
1423 ORDERKEY_CPTICKS(p1, p2); in compare_prio()
1424 ORDERKEY_PCTCPU(p1, p2); in compare_prio()
1425 ORDERKEY_STATE(p1, p2); in compare_prio()
1426 ORDERKEY_RSSIZE(p1, p2); in compare_prio()
1427 ORDERKEY_MEM(p1, p2); in compare_prio()
1437 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_threads() local
1439 ORDERKEY_THREADS(p1, p2); in compare_threads()
1440 ORDERKEY_PCTCPU(p1, p2); in compare_threads()
1441 ORDERKEY_CPTICKS(p1, p2); in compare_threads()
1442 ORDERKEY_STATE(p1, p2); in compare_threads()
1443 ORDERKEY_PRIO(p1, p2); in compare_threads()
1444 ORDERKEY_RSSIZE(p1, p2); in compare_threads()
1445 ORDERKEY_MEM(p1, p2); in compare_threads()
1455 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_jid() local
1457 ORDERKEY_JID(p1, p2); in compare_jid()
1458 ORDERKEY_PCTCPU(p1, p2); in compare_jid()
1459 ORDERKEY_CPTICKS(p1, p2); in compare_jid()
1460 ORDERKEY_STATE(p1, p2); in compare_jid()
1461 ORDERKEY_PRIO(p1, p2); in compare_jid()
1462 ORDERKEY_RSSIZE(p1, p2); in compare_jid()
1463 ORDERKEY_MEM(p1, p2); in compare_jid()
1473 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_swap() local
1475 ORDERKEY_SWAP(p1, p2); in compare_swap()
1476 ORDERKEY_PCTCPU(p1, p2); in compare_swap()
1477 ORDERKEY_CPTICKS(p1, p2); in compare_swap()
1478 ORDERKEY_STATE(p1, p2); in compare_swap()
1479 ORDERKEY_PRIO(p1, p2); in compare_swap()
1480 ORDERKEY_RSSIZE(p1, p2); in compare_swap()
1481 ORDERKEY_MEM(p1, p2); in compare_swap()
1492 const struct kinfo_proc * const p2 = *(const struct kinfo_proc * const *)arg2; in compare_iototal() local
1494 return (get_io_total(p2) - get_io_total(p1)); in compare_iototal()
1501 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_ioread() local
1505 (void) get_io_stats(p2, &inp2, &dummy, &dummy, &dummy, &dummy); in compare_ioread()
1514 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_iowrite() local
1518 (void) get_io_stats(p2, &dummy, &oup2, &dummy, &dummy, &dummy); in compare_iowrite()
1527 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_iofault() local
1531 (void) get_io_stats(p2, &dummy, &dummy, &flp2, &dummy, &dummy); in compare_iofault()
1540 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_vcsw() local
1544 (void) get_io_stats(p2, &dummy, &dummy, &dummy, &flp2, &dummy); in compare_vcsw()
1553 const struct kinfo_proc *p2 = *(const struct kinfo_proc * const *)arg2; in compare_ivcsw() local
1557 (void) get_io_stats(p2, &dummy, &dummy, &dummy, &dummy, &flp2); in compare_ivcsw()