Lines Matching defs:pids
575 * Return an array of pids associated with the given contract id.
576 * Returned pids are added to the end of the pidsp array.
585 pid_t *pids;
601 r = ct_pr_status_get_members(ctst, &pids, &m);
613 bcopy(pids, *pidsp + *np, m * sizeof (*pids));
859 pid_t **pids, uint_t *np, int *restarter_specp)
890 ctid_to_pids(c, pids, np);
904 pid_t **pids, uint_t *np)
910 /* Use the restarter specific get pids routine, if available. */
911 ret = pids_by_restarter(inst, fmri, pids, np, &restarter_spec);
919 *pids = NULL;
922 (void) propvals_to_pids(g_pg, scf_property_contract, pids, np,
926 pids, np, g_prop, g_val, iter);
1017 * Use the restarter specific get pids routine, if available.
1057 * Use the restarter specific get pids routine, if available.
2040 pid_t *pids;
2048 if (instance_processes(wip->inst, wip->fmri, &pids, &n) != 0)
2051 qsort(pids, n, sizeof (*pids), pidcmp);
2055 pids[i]);
2057 if (get_psinfo(pids[i], &psi) == 0)
2063 free(pids);
2903 pid_t *pids = NULL;
2907 if (instance_processes(wip->inst, wip->fmri, &pids, &n) != 0)
2916 (void) propvals_to_pids(lpg, scf_property_contract, &pids, &n,
2925 qsort(pids, n, sizeof (*pids), pidcmp);
2933 if (get_psinfo(pids[i], &psi) != 0)
2960 stime, pids[i], PRFNSZ, psi.pr_fname);
2963 free(pids);