Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/proc.h
Show First 20 Lines • Show All 587 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
struct proc { | struct proc { | ||||
LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ | LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ | ||||
TAILQ_HEAD(, thread) p_threads; /* (c) all threads. */ | TAILQ_HEAD(, thread) p_threads; /* (c) all threads. */ | ||||
struct mtx p_slock; /* process spin lock */ | struct mtx p_slock; /* process spin lock */ | ||||
struct ucred *p_ucred; /* (c) Process owner's identity. */ | struct ucred *p_ucred; /* (c) Process owner's identity. */ | ||||
struct filedesc *p_fd; /* (b) Open files. */ | struct filedesc *p_fd; /* (b) Open files. */ | ||||
struct filedesc_to_leader *p_fdtol; /* (b) Tracking node */ | struct filedesc_to_leader *p_fdtol; /* (b) Tracking node */ | ||||
struct pwddesc *p_pd; /* (b) Cwd, chroot, jail, umask */ | |||||
struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ | struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ | ||||
struct plimit *p_limit; /* (c) Resource limits. */ | struct plimit *p_limit; /* (c) Resource limits. */ | ||||
struct callout p_limco; /* (c) Limit callout handle */ | struct callout p_limco; /* (c) Limit callout handle */ | ||||
struct sigacts *p_sigacts; /* (x) Signal actions, state (CPU). */ | struct sigacts *p_sigacts; /* (x) Signal actions, state (CPU). */ | ||||
int p_flag; /* (c) P_* flags. */ | int p_flag; /* (c) P_* flags. */ | ||||
int p_flag2; /* (c) P2_* flags. */ | int p_flag2; /* (c) P2_* flags. */ | ||||
enum p_states { | enum p_states { | ||||
▲ Show 20 Lines • Show All 635 Lines • Show Last 20 Lines |