Searched defs:pids (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/lms/tools/
H A DATVersion.cpp73 std::list<unsigned long> pids; local
76 if (IsAppRunning(appName, pids)) {
77 for (std::list<unsigned long>::iterator iter = pids.begin(); iter != pids.end(); iter++) {
111 bool ATVersion::IsAppRunning(const char *appName, std::list<unsigned long> &pids) argument
123 pids.clear();
132 pids.push_back(pid);
144 pids.push_back(pid);
172 pids.push_back(pid);
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c120 psetid_t *pids = NULL; local
135 if ((pids = calloc(pids_nr, sizeof (psetid_t))) == NULL)
138 if (pset_list(pids, &pids_nr) < 0)
157 ps->ps_id = pids[i - 1];
179 free(pids);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c1337 pid_t *pids; member in struct:__anon1313
1349 if (polllist.pids[i] == pid) {
1357 * Resize buffer for new pids
1374 polllist.pids = s_calloc(n_max, sizeof (pid_t));
1379 polllist.pids = s_realloc(polllist.pids,
1445 polllist.pids[index] = pid;
1516 polllist.pids[i] = polllist.pids[i + 1];
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c668 uint32_t *pids, *ctids; local
690 pids = kmem_alloc(spids * sizeof (uint32_t), KM_SLEEP);
700 kmem_free(pids, spids * sizeof (uint32_t));
710 pids[loc++] = pnext->p_pid;
723 VERIFY(nvlist_add_uint32_array(nvl, CTPS_MEMBERS, pids,
731 kmem_free(pids, spids * sizeof (uint32_t));
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c307 pid_t *pids; local
311 if (err = ct_pr_status_get_members(hdl, &pids, &npids)) {
316 print_ids(pids, npids);
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c73 void pids(char *, proc_set_t *);
450 pids(*argv++, grab);
2233 pids(char *arg, proc_set_t *grab) function
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c411 pid_t *pids; /* list of process IDs at dump time */ member in struct:dumpcfg
1106 dumpcfg.pids = kmem_alloc(v.v_proc * sizeof (pid_t), KM_SLEEP);
2751 dumpcfg.pids[npids++] = p->p_pid;
2756 (void) dump_process(dumpcfg.pids[pidx]);
2787 dumpcfg.pids[npids++] =
2791 dumpcfg.pids[npids++] = curthread->t_procp->p_pid;
2794 if (npids && dump_process(dumpcfg.pids[0]) == 0)
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c576 * 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; local
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 routin
859 pids_by_restarter(scf_instance_t *inst, const char *fmri, pid_t **pids, uint_t *np, int *restarter_specp) argument
904 instance_processes(scf_instance_t *inst, const char *fmri, pid_t **pids, uint_t *np) argument
2041 pid_t *pids; local
2904 pid_t *pids = NULL; local
[all...]

Completed in 229 milliseconds