Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/pf_key/
H A Dacquire-spray.sh82 pids="$(pgrep ping)"
83 [[ -n "$pids" ]] || break
84 pwait $pids
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.manypids.ksh35 set -A pids
50 pids[$i]=$!
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c596 pid_t *pids; in ctid_to_pids() local
612 r = ct_pr_status_get_members(ctst, &pids, &m); in ctid_to_pids()
624 bcopy(pids, *pidsp + *np, m * sizeof (*pids)); in ctid_to_pids()
870 pid_t **pids, uint_t *np, int *restarter_specp) in pids_by_restarter() argument
901 ctid_to_pids(c, pids, np); in pids_by_restarter()
915 pid_t **pids, uint_t *np) in instance_processes() argument
922 ret = pids_by_restarter(inst, fmri, pids, np, &restarter_spec); in instance_processes()
930 *pids = NULL; in instance_processes()
933 (void) propvals_to_pids(g_pg, scf_property_contract, pids, np, in instance_processes()
937 pids, np, g_prop, g_val, iter); in instance_processes()
[all …]
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c120 psetid_t *pids = NULL; in acquire_psets() local
135 if ((pids = calloc(pids_nr, sizeof (psetid_t))) == NULL) in acquire_psets()
138 if (pset_list(pids, &pids_nr) < 0) in acquire_psets()
157 ps->ps_id = pids[i - 1]; in acquire_psets()
179 free(pids); in acquire_psets()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c1335 pid_t *pids; member
1347 if (polllist.pids[i] == pid) { in find_pid_index()
1372 polllist.pids = s_calloc(n_max, sizeof (pid_t)); in get_pid_index()
1377 polllist.pids = s_realloc(polllist.pids, in get_pid_index()
1443 polllist.pids[index] = pid; in add_to_polling_list()
1514 polllist.pids[i] = polllist.pids[i + 1]; in remove_from_polling_list()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dbasic.sh306 pids=$!
311 pids="$pids $!"
318 kill $pids
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c669 uint32_t *pids, *ctids; in contract_process_status() local
691 pids = kmem_alloc(spids * sizeof (uint32_t), KM_SLEEP); in contract_process_status()
701 kmem_free(pids, spids * sizeof (uint32_t)); in contract_process_status()
711 pids[loc++] = pnext->p_pid; in contract_process_status()
724 VERIFY(nvlist_add_uint32_array(nvl, CTPS_MEMBERS, pids, in contract_process_status()
732 kmem_free(pids, spids * sizeof (uint32_t)); in contract_process_status()
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c307 pid_t *pids; in verb_members() local
311 if (err = ct_pr_status_get_members(hdl, &pids, &npids)) { in verb_members()
316 print_ids(pids, npids); in verb_members()
/illumos-gate/usr/src/cmd/ast/libcmd/
H A DMakefile.defs34 pathchk.o pids.o rev.o revlib.o rm.o rmdir.o stty.o sum.o \
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A DMamfile372 make pids.c
377 done pids.c
480 …e.c ${PACKAGEROOT}/src/lib/libcmd/pathchk.c ${PACKAGEROOT}/src/lib/libcmd/pids.c ${PACKAGEROOT}/sr…
676 make pids.o
677 prev pids.c
678 meta pids.o %.c>%.o pids.c pids
679 prev pids.c
680 …roperty][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?libcmd]"\" -c pids.c
681 done pids.o generated
789 exec - ${AR} rc libcmd.a pids.o rev.o rm.o rmdir.o stty.o sum.o sync.o tail.o tee.o tty.o uname.o u…
[all …]
H A DMakefile25 mkfifo.c mktemp.c mv.c paste.c pathchk.c pids.c rev.c rm.c \
H A DRELEASE9 11-08-27 pids.c: add getsid() iffe test
91 08-04-01 pids.c: add ls/ps style --format=format
94 08-03-14 pids.c: add
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c415 pid_t *pids; /* list of process IDs at dump time */ member
1131 dumpcfg.pids = kmem_alloc(v.v_proc * sizeof (pid_t), KM_SLEEP); in dumphdr_init()
2797 dumpcfg.pids[npids++] = p->p_pid; in dumpsys()
2802 (void) dump_process(dumpcfg.pids[pidx]); in dumpsys()
2833 dumpcfg.pids[npids++] = in dumpsys()
2837 dumpcfg.pids[npids++] = curthread->t_procp->p_pid; in dumpsys()
2840 if (npids && dump_process(dumpcfg.pids[0]) == 0) in dumpsys()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dpackage.sh4406 pids=
4802 pids="$pids $!"
4806 case $pids in
4807 ?*) wait $pids ;;
4812 pids="$pids $!"
4843 case $pids in
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c2118 get_idle_time(u, pids) in get_idle_time() argument
2120 struct ppp_idle *pids;
2124 rc = strioctl(pppfd, PPPIO_GIDLE, pids, 0, sizeof (struct ppp_idle));
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c74 void pids(char *, proc_set_t *);
451 pids(*argv++, grab); in main()
2238 pids(char *arg, proc_set_t *grab) in pids() function
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DRELEASE972 09-10-31 A bug that corrupted saved exit status when pids wrapped around has