Searched refs:pid (Results 376 - 400 of 920) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c31 int status, pid; local
82 while ((pid = wait(&status)) != child && pid != -1)
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutmp.c83 log("makeutx for pid %d failed", up->ut_pid);
123 cleanut(pid, status)
124 pid_t pid;
134 if (up->ut_pid == pid) {
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c77 pid_t pid; local
96 pid = getpid();
100 seed ^= pid;
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfmode.c213 int _sfpopen(reg Sfio_t* f, int fd, int pid, int stdio) argument
215 int _sfpopen(f, fd, pid, stdio)
218 int pid;
230 p->pid = pid;
234 p->sigp = (!stdio && pid >= 0 && (f->flags&SF_WRITE)) ? 1 : 0;
260 int pid, status; local
269 if(p->pid < 0)
280 while ((pid = waitpid(p->pid,
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dflock.h79 * Special pid value that can be passed to cleanlocks(). It means that
238 locklist_t *flk_get_sleeping_locks(int sysid, pid_t pid);
239 locklist_t *flk_get_active_locks(int sysid, pid_t pid);
242 locklist_t *flk_active_nbmand_locks(pid_t pid);
H A Dfasttrap_impl.h45 * Each Solaris process can have multiple providers -- the pid provider as
83 char ftp_name[DTRACE_PROVNAMELEN]; /* prov name (w/o the pid) */
113 pid_t ftp_pid; /* pid for this probe */
134 pid_t ftt_pid; /* pid of tracepoint */
171 #define FASTTRAP_TPOINTS_INDEX(pid, pc) \
172 (((pc) / sizeof (fasttrap_instr_t) + (pid)) & fasttrap_tpoints.fth_mask)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_002_pos.ksh99 typeset pid=$!
102 if ! ps -p $pid > /dev/null 2>&1; then
106 child_pids="$child_pids $pid"
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c754 (long)x->pid);
766 if (x->pid > 1) {
769 "killing script_name = %s pid = %ld\n",
770 x->script_name, x->pid);
773 (void) kill(-(x->pid), SIGKILL);
788 script_ps_state_file_add_entry(pid_t pid, char *script_name) argument
797 x->pid = pid;
806 * Remove the state element entry corresponding to pid from the
810 script_ps_state_file_remove_entry(pid_t pid) argument
1140 kill_pid(pid_t pid) argument
1606 script_get_info(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, char **error, nvlist_t *props, rcm_info_t **dependent_info) argument
1876 script_request_offline(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1923 script_notify_online(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1958 script_notify_remove(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1993 script_request_suspend(rcm_handle_t *hdl, char *resource_name, pid_t pid, timespec_t *interval, uint_t flag, char **info, rcm_info_t **dependent_info) argument
2061 script_notify_resume(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
2398 script_request_capacity_change(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, nvlist_t *capacity_info, char **info, rcm_info_t **dependent_info) argument
2447 script_notify_capacity_change(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, nvlist_t *capacity_info, char **info, rcm_info_t **dependent_info) argument
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c444 int pid; local
476 /* generate new pid to use it as asid */
477 pid = vfork();
478 if (pid == -1) {
482 if (pid == 0)
491 (void) waitpid(pid, &lock, 0);
493 ai.ai_asid = pid;
/illumos-gate/usr/src/cmd/ipf/svc/
H A Dipfd.c122 pid_t pid; local
137 if ((pid = fork1()) < 0) {
142 if (pid != 0)
316 pid_t pid; local
324 if ((pid = fork1()) < 0) {
331 if (pid == 0) {
/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c63 utmpx_mark_init(pid_t pid, char *prefix) argument
76 utmpx_mark_dead(pid, 0, B_TRUE);
83 ut.ut_pid = pid;
128 utmpx_mark_dead(pid_t pid, int status, boolean_t blocking) argument
140 if (up->ut_pid == pid) {
180 "%ld\n", pid);
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c906 * pid adr_int32
913 int32_t auid, euid, egid, ruid, rgid, pid; local
922 adrm_int32(adr, &pid, 1);
950 (obj_id == pid)) {
973 * pid adr_int32
983 int32_t auid, euid, egid, ruid, rgid, pid; local
993 adrm_int32(adr, &pid, 1);
1022 (obj_id == pid)) {
1045 * pid adr_int32
1052 int32_t auid, euid, egid, ruid, rgid, pid; local
1123 int32_t auid, euid, egid, ruid, rgid, pid; local
1304 int32_t auid, euid, egid, ruid, rgid, pid; local
1367 int32_t auid, euid, egid, ruid, rgid, pid; local
1429 int32_t auid, euid, egid, ruid, rgid, pid; local
1493 int32_t auid, euid, egid, ruid, rgid, pid; local
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.h150 pid_t pid; /* process creates the connection */ member in struct:ns_conn_mt
216 pid_t pid; /* process creates the conn_mgmt */ member in struct:ns_conn_mgmt
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pid.c118 pid_t pid; local
120 pid = Pstatus(pp->dpp_pr)->pr_pid;
122 dt_dprintf("creating probe pid%d:%s:%s:%s\n", (int)pid, pp->dpp_obj,
133 ftp->ftps_pid = pid;
590 "failed to instantiate probes for pid %d: %s",
606 pid_t pid; local
621 pid = strtol(last, &end, 10);
623 if (errno != 0 || end == last || end[0] != '\0' || pid <= 0) {
625 "'%s' does not contain a valid pid", pd
638 pid_t pid; local
717 pid_t pid; local
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc.h136 prb_status_t prb_proc_open(pid_t pid, prb_proc_ctl_t **proc_pp);
137 prb_status_t prb_proc_reopen(pid_t pid, prb_proc_ctl_t **proc_pp);
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_trace.c112 &TAG_DATA(tnf_pid), /* pid */
184 /* LINTED - pid is 32 bits */
185 ASSIGN(buffer, pid, sched->pid);
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c69 pid_t pid; /* process-id */ member in struct:cstatus
70 int asfd; /* /proc/<pid>/as */
71 int ctlfd; /* /proc/<pid>/ctl */
72 int statusfd; /* /proc/<pid>/status */
74 pstatus_t pstatus; /* from /proc/<pid>/status */
139 ptrace(int request, pid_t pid, int addr, int data) argument
157 map(request), pid, addr, data);
168 char procname[64]; /* /proc/<pid>/ctl */
215 /* find the cstatus structure corresponding to pid */
216 if ((cp = GrabProc(pid))
405 FindProc(pid_t pid) argument
468 MakeProcName(char *procname, pid_t pid) argument
534 GrabProc(pid_t pid) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drctlops.c162 rctlblk_set_recipient_pid(rctlblk_t *rblk, id_t pid) argument
165 ropaque->rcq_local_recipient_pid = pid;
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c69 pid_t pid; /* process-id */ member in struct:cstatus
70 int asfd; /* /proc/<pid>/as */
71 int ctlfd; /* /proc/<pid>/ctl */
72 int statusfd; /* /proc/<pid>/status */
74 pstatus_t pstatus; /* from /proc/<pid>/status */
139 ptrace(int request, pid_t pid, int addr, int data) argument
157 map(request), pid, addr, data);
168 char procname[64]; /* /proc/<pid>/ctl */
215 /* find the cstatus structure corresponding to pid */
216 if ((cp = GrabProc(pid))
413 FindProc(pid_t pid) argument
476 MakeProcName(char *procname, pid_t pid) argument
542 GrabProc(pid_t pid) argument
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.sem.c59 int pid = 0; local
161 { forked++; pid = pfork(t, wanttty); }
189 pid = vfork();
190 if (pid < 0) {
195 if (pid) { /* parent */
207 ppid = pcurrjob ? pcurrjob->p_jobid : pid;
210 palloc(pid, t);
269 if (pid != 0) {
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c356 dowait(int pid) argument
362 wpid = waitpid(pid, &wstatus, 0);
378 pid_t pid; local
619 if ((pid = fork()) == -1) {
621 } else if (pid == 0) {
716 chldstat = dowait(pid);
728 chldstat = dowait(pid);
731 chldstat = dowait(pid);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.d39 pid$1:a.out:waiting:entry
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diiboot.c138 pid_t pid = 0; local
258 pid = fork();
263 while (pid == -1) { /* error forking */
271 pid = fork();
274 if (pid > 0) { /* this is parent process */
316 pid_t pid = fork(); local
318 if (pid == -1) {
321 } else if (pid > 0) {
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dstat.c66 GHashTable *lt_sc_children; /* pid/tid -> lt_stat_collection_t */
176 * Check if a process exists by using /proc/pid
189 * Check if a thread exists by using /proc/pid/lwp/tid
423 * Find the "leaf" in the collection hierarchy, using the given pid and tid.
426 get_stat_c(pid_t pid, id_t tid) argument
437 LT_INT_TO_POINTER(pid));
442 fname = lt_get_proc_field(pid, LT_FIELD_FNAME);
453 (unsigned int)pid, fname, stat_system, check_thread);
479 lt_stat_update_cause(pid_t pid, id_t tid, int cause_id, lt_stat_type_t type, argument
494 stat_t = get_stat_c(pid, ti
512 lt_stat_update(pid_t pid, id_t tid, char *stack, char *tag, unsigned int tag_priority, lt_stat_type_t type, uint64_t value) argument
595 lt_stat_list_create(lt_list_type_t list_type, lt_stat_level_t level, pid_t pid, id_t tid, int count, lt_sort_t sort_by) argument
979 lt_stat_proc_get_name(pid_t pid) argument
1001 lt_stat_proc_get_nthreads(pid_t pid) argument
1023 lt_stat_update_sobj(pid_t pid, id_t tid, int stype, unsigned long long wchan, lt_stat_type_t type, uint64_t value) argument
[all...]
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii_other.c128 uint32_t pid = MII_PHY_MODEL(ph->phy_id); local
144 pid == other_phys[j].model) {

Completed in 128 milliseconds

<<11121314151617181920>>