Lines Matching defs:pids
576 * Return an array of pids associated with the given contract id.
577 * Returned pids are added to the end of the pidsp array.
586 pid_t *pids;
602 r = ct_pr_status_get_members(ctst, &pids, &m);
614 bcopy(pids, *pidsp + *np, m * sizeof (*pids));
860 pid_t **pids, uint_t *np, int *restarter_specp)
891 ctid_to_pids(c, pids, np);
905 pid_t **pids, uint_t *np)
911 /* Use the restarter specific get pids routine, if available. */
912 ret = pids_by_restarter(inst, fmri, pids, np, &restarter_spec);
920 *pids = NULL;
923 (void) propvals_to_pids(g_pg, scf_property_contract, pids, np,
927 pids, np, g_prop, g_val, iter);
1018 * Use the restarter specific get pids routine, if available.
1058 * Use the restarter specific get pids routine, if available.
2041 pid_t *pids;
2049 if (instance_processes(wip->inst, wip->fmri, &pids, &n) != 0)
2052 qsort(pids, n, sizeof (*pids), pidcmp);
2056 pids[i]);
2058 if (get_psinfo(pids[i], &psi) == 0)
2064 free(pids);
2904 pid_t *pids = NULL;
2908 if (instance_processes(wip->inst, wip->fmri, &pids, &n) != 0)
2917 (void) propvals_to_pids(lpg, scf_property_contract, &pids, &n,
2926 qsort(pids, n, sizeof (*pids), pidcmp);
2934 if (get_psinfo(pids[i], &psi) != 0)
2961 stime, pids[i], PRFNSZ, psi.pr_fname);
2964 free(pids);