Searched refs:pids (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.manypids.ksh35 set -A pids
50 pids[$i]=$!
61 echo "pid${pids[$i]}::malloc:entry\n{}\n" >> $tmpfile
/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);
H A DATVersion.h69 @param pids returned list of pids of searched application
72 static bool IsAppRunning(const char *app_name, std::list<unsigned long> &pids);
/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/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...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dbasic.sh304 pids=$!
309 pids="$pids $!"
316 kill $pids
/illumos-gate/usr/src/lib/libcmd/
H A DMakefile.com64 pids.o \
/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/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/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/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/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c2177 get_idle_time(u, pids)
2179 struct ppp_idle *pids;
2183 rc = strioctl(pppfd, PPPIO_GIDLE, pids, 0, sizeof (struct ppp_idle));
/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

Completed in 414 milliseconds