/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | proc.h | 78 struct pid { struct 79 unsigned int pid_prinactive :1; argument 80 unsigned int pid_pgorphaned :1; argument 81 unsigned int pid_padding :6; /* used to be pid_ref, now an int */ argument 82 unsigned int pid_prslot :24; argument 83 pid_t pid_id; argument 84 struct proc *pid_pglink; argument 85 struct proc *pid_pgtail; argument 86 struct pid *pid_link; argument 87 uint_t pid_ref; argument
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 56 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) in proc_get_cred() 75 proc_get_secflags(pid_t pid, prsecflags_t **psf) in proc_get_secflags() 105 proc_get_priv(pid_t pid) in proc_get_priv() 134 proc_get_ldt(pid_t pid, struct ssd *pldt, int nldt) in proc_get_ldt() 167 proc_get_psinfo(pid_t pid, psinfo_t *psp) in proc_get_psinfo() 184 proc_get_status(pid_t pid, pstatus_t *psp) in proc_get_status() 207 proc_get_auxv(pid_t pid, auxv_t *pauxv, int naux) in proc_get_auxv() 224 proc_get_lwpsinfo(pid_t pid, uint_t thr, lwpsinfo_t *lwpip) in proc_get_lwpsinfo() 241 proc_get_lwpstatus(pid_t pid, uint_t thr, lwpstatus_t *lwp) in proc_get_lwpstatus() 258 proc_get_cwd(pid_t pid, char *cwd, size_t len) in proc_get_cwd()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 57 common_resource_op(int cmd, char *rsrcname, pid_t pid, uint_t flag, int seq_num, in common_resource_op() 108 notify_resource_remove(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_remove() 151 notify_resource_resume(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_resume() 203 notify_resource_online(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_online() 257 process_resource_suspend(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in process_resource_suspend() 323 process_resource_offline(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in process_resource_offline() 389 add_resource_client(char *modname, char *rsrcname, pid_t pid, uint_t flag, in add_resource_client() 473 remove_resource_client(char *modname, char *rsrcname, pid_t pid, uint_t flag) in remove_resource_client() 516 notify_resource_event(char *rsrcname, id_t pid, uint_t flag, int seq_num, in notify_resource_event() 533 request_capacity_change(char *rsrcname, id_t pid, uint_t flag, int seq_num, in request_capacity_change() [all …]
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 60 pid_t pid; member 91 pid_t pid; in popen() local 212 pid_t pid; in pclose() local 257 _insert_nolock(pid_t pid, int fd, node_t *new) in _insert_nolock() 293 _insert(pid_t pid, int fd) in _insert() 313 pid_t pid; in _delete() local
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 51 pid_t pid; member 56 pid_t pid; /* main nscd pid */ member 119 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add() 205 waiting_list_set_cleanup(chg_info_t *info, pid_t pid) in waiting_list_set_cleanup() 517 cleanup_threads(chg_info_t *chg, pid_t pid, cleanup_type_t type) in cleanup_threads() 538 pid_t pid; in chg_cleanup_waiting_threads() local 572 cleanup_thread_by_pid(pid_t pid) in cleanup_thread_by_pid() 601 get_nscd_psinfo(pid_t pid, psinfo_t *info) in get_nscd_psinfo() 626 is_peruser_nscd(pid_t pid) in is_peruser_nscd() 653 pid_t pid; in chg_is_called_from_nscd_or_peruser_nscd() local
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out() 125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err() 152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) in bind_out() 183 grab_proc(id_t pid) in grab_proc() 218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) in bind_lwp() 237 do_lwps(id_t pid, const char *range, processorid_t cpu) in do_lwps() 313 id_t pid = psinfo->pr_pid; in query_all_proc() local 335 id_t pid = psinfo->pr_pid; in query_all_lwp() local 400 id_t pid; in main() local
|
/illumos-gate/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 52 open_usage(pid_t pid, int *perr) in open_usage() 77 proc_usage(pid_t pid, prusage_t *pup, int *perr) in proc_usage() 108 pid_t pid, ppid; in reap() local 192 print_exit_status(pid_t pid, int wstat) in print_exit_status() 257 pid_t pid; in main() local
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prtable.c | 244 lwpid_add(lwp_info_t *lwp, pid_t pid, id_t lwpid) in lwpid_add() 257 lwpid_del(pid_t pid, id_t lwpid) in lwpid_del() 281 lwpid_getptr(pid_t pid, id_t lwpid) in lwpid_getptr() 294 lwpid_get(pid_t pid, id_t lwpid) in lwpid_get() 304 lwpid_pidcheck(pid_t pid) in lwpid_pidcheck() 318 lwpid_is_active(pid_t pid, id_t lwpid) in lwpid_is_active() 328 lwpid_set_active(pid_t pid, id_t lwpid) in lwpid_set_active()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sigqueue.c | 44 sigqkill(pid_t pid, sigsend_t *sigsend) in sigqkill() 101 kill(pid_t pid, int sig) in kill() 123 sigqueue(pid_t pid, int sig, /* union sigval */ void *value, in sigqueue() 199 sigqueue32(pid_t pid, int sig, /* union sigval32 */ caddr32_t value, in sigqueue32()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 62 pid_t pid; in fork_tmchild() local 260 pid_t pid; in sigchild() local 401 find_pid(pid_t pid) in find_pid() 453 mark_service(pid_t pid) in mark_service() 473 pid_t pid; in read_pid() local 604 pcsync_close(int *p0, int *p1, int pid, int fd) in pcsync_close()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | pgrpsys.c | 52 getsid(pid_t pid) in getsid() 64 getpgid(pid_t pid) in getpgid() 70 setpgid(pid_t pid, pid_t pgid) in setpgid()
|
H A D | corectl.c | 92 core_set_process_content(const core_content_t *content, pid_t pid) in core_set_process_content() 98 core_get_process_content(core_content_t *content, pid_t pid) in core_get_process_content() 104 core_set_process_path(const char *buf, size_t bufsize, pid_t pid) in core_set_process_path() 110 core_get_process_path(char *buf, size_t bufsize, pid_t pid) in core_get_process_path()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | fork.c | 104 pid_t pid; in fork_mount() local 146 pid_t pid; in fork_common() local 245 pid_t pid; in fork_sulogin() local 318 pid_t pid; in fork_configd() local 537 pid_t pid; in fork_configd_thread() local 616 pid_t pid; in fork_rc_script() local 935 pid_t pid; in fork_emi() local 1098 pid_t pid; in fork_with_timeout() local
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cputrack.c | 57 pid_t pid; member 261 print_exec(float now, pid_t pid, char *name) in print_exec() 290 print_sample(pid_t pid, id_t lwpid, in print_sample() 321 pinit_lwp(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) in pinit_lwp() 383 pfini_lwp(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) in pfini_lwp() 440 plwp_create(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) in plwp_create() 459 plwp_exit(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) in plwp_exit() 484 pexec(pctx_t *pctx, pid_t pid, id_t lwpid, char *name, void *arg) in pexec() 529 pexit(pctx_t *pctx, pid_t pid, id_t lwpid, int status, void *arg) in pexit() 563 ptick(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) in ptick() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 63 pid_t pid; member 81 child_find_by_pid(pid_t pid) in child_find_by_pid() 139 int pid, st; in daemonize_init() local 415 int pid, fd = -1; in cmd_start() local 514 pid_t pid; in svc_sigchld() local 546 child_gone(uid_t uid, pid_t pid, int status) in child_gone()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_shell.c | 84 pid_t pid; in mdb_shell_exec() local 136 pid_t pid = (pid_t)(intptr_t)io->io_data; in shellio_close() local 167 pid_t pid; in mdb_shell_pipe() local
|
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 85 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_has_jump_table() local 130 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_return_probe() local 282 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_offset_probe() local 356 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_glob_offset_probes() local 427 pid_t pid; member 462 dt_instr_size(uchar_t *instr, dtrace_hdl_t *dtp, pid_t pid, uintptr_t addr, in dt_instr_size()
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 181 #define FASTTRAP_PROVS_INDEX(pid, name) \ argument 184 #define FASTTRAP_PROCS_INDEX(pid) ((pid) & fasttrap_procs.fth_mask) argument 506 pid_t pid; in fasttrap_tracepoint_enable() local 680 pid_t pid; in fasttrap_tracepoint_disable() local 1182 fasttrap_proc_lookup(pid_t pid) in fasttrap_proc_lookup() 1248 pid_t pid = proc->ftpc_pid; in fasttrap_proc_release() local 1298 fasttrap_provider_lookup(pid_t pid, const char *name, in fasttrap_provider_lookup() 1421 pid_t pid = provider->ftp_pid; in fasttrap_provider_free() local 1467 fasttrap_provider_retire(pid_t pid, const char *name, int mprov) in fasttrap_provider_retire() 1728 fasttrap_meta_provide(void *arg, dtrace_helper_provdesc_t *dhpv, pid_t pid) in fasttrap_meta_provide() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pid.c | 72 #define HASHPID(pid) (pidhash[((pid)&(pid_hashsz-1))]) argument 101 pid_lookup(pid_t pid) in pid_lookup() 161 pid_allocate(proc_t *prp, pid_t pid, int flags) in pid_allocate() 327 prfind_zone(pid_t pid, zoneid_t zoneid) in prfind_zone() 352 prfind(pid_t pid) in prfind() 455 sprlock_zone(pid_t pid, zoneid_t zoneid) in sprlock_zone() 485 sprlock(pid_t pid) in sprlock()
|
H A D | share.c | 354 cleanshares(struct vnode *vp, pid_t pid) in cleanshares() 380 do_cleanshares(struct vnode *vp, pid_t pid, int32_t sysid) in do_cleanshares() 565 pid_t pid; in nbl_share_conflict() local 641 proc_has_nbmand_share_on_vp(vnode_t *vp, pid_t pid) in proc_has_nbmand_share_on_vp()
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 91 flock_kill(pid_t pid) in flock_kill() 112 assert_write_locked_by(lockinfo_t *lf, pid_t pid) in assert_write_locked_by() 143 assert_read_locked_by(lockinfo_t *lf, pid_t pid) in assert_read_locked_by() 281 pid_t *pid, int fds[]) in flock_run() 313 flock_wait(pid_t pid) in flock_wait() 335 flock_cleanup_child(pid_t pid, int fds[]) in flock_cleanup_child() 347 pid_t pid; in flock_test_upgrade_downgrade() local
|
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 113 grab_proc(id_t pid) in grab_proc() 137 bind_err(psetid_t pset, const char *zname, id_t pid, id_t lwpid, int err) in bind_err() 198 query_out(id_t pid, id_t lwpid, psetid_t pset) in query_out() 256 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) in bind_out() 287 bind_lwp(id_t pid, id_t lwpid, psetid_t pset) in bind_lwp() 492 id_t pid = psinfo->pr_pid; in query_all_proc() local 514 id_t pid = psinfo->pr_pid; in query_all_lwp() local 567 do_lwps(id_t pid, const char *range, psetid_t pset) in do_lwps() 644 id_t pid; in main() local
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | UserSymbolRecord.java | 85 UserSymbolRecord(int pid, long addressValue) in UserSymbolRecord() 107 UserSymbolRecord(int pid, String lookupValue, long addressValue) in UserSymbolRecord() 252 int pid = s.readInt(); in readObject() local 338 Value(int pid, long addressValue) in Value()
|
/illumos-gate/usr/src/cmd/amt/ |
H A D | amt.c | 196 pid_t pid; in data_boundary_test() local 290 pid_t pid; in text_area_not_writeable() local 347 pid_t pid; in memory_not_shared_after_use() local 390 pid_t pid; in memory_allocation_not_shared() local 501 pid_t pid; in test_stack_end_of_hole() local
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | jobs.c | 59 pid_t pid; member 71 pid_t pid; in pid_fromstring() local 234 static struct jobsave *jobsave_create(pid_t pid) in jobsave_create() 264 char *sh_pid2str(Shell_t *shp,pid_t pid) in sh_pid2str() 340 register pid_t pid; in job_reap() local 874 register pid_t pid; in job_bwait() local 959 int pid = pid_fromstring(jobid); in job_walk() local 1114 register pid_t pid; in job_kill() local 1219 pid_t pid; in job_hup() local 1350 int job_post(Shell_t *shp,pid_t pid, pid_t join) in job_post() [all …]
|