Lines Matching defs:target_kinfo_proc

92 struct target_kinfo_proc {  struct
93 int32_t ki_structsize; /* size of this structure */
94 int32_t ki_layout; /* reserved: layout identifier */
95 abi_ulong ki_args; /* address of command arguments */
96 abi_ulong ki_paddr; /* address of proc */
97 abi_ulong ki_addr; /* kernel virtual addr of u-area */
98 abi_ulong ki_tracep; /* pointer to trace file */
99 abi_ulong ki_textvp; /* pointer to executable file */
100 abi_ulong ki_fd; /* pointer to open file info */
101 abi_ulong ki_vmspace; /* pointer to kernel vmspace struct */
102 abi_ulong ki_wchan; /* sleep address */
103 int32_t ki_pid; /* Process identifier */
104 int32_t ki_ppid; /* parent process id */
105 int32_t ki_pgid; /* process group id */
106 int32_t ki_tpgid; /* tty process group id */
107 int32_t ki_sid; /* Process session ID */
108 int32_t ki_tsid; /* Terminal session ID */
109 int16_t ki_jobc; /* job control counter */
110 int16_t ki_spare_short1; /* unused (just here for alignment) */
111 int32_t ki_tdev__freebsd11; /* controlling tty dev */
112 target_sigset_t ki_siglist; /* Signals arrived but not delivered */
113 target_sigset_t ki_sigmask; /* Current signal mask */
114 target_sigset_t ki_sigignore; /* Signals being ignored */
115 target_sigset_t ki_sigcatch; /* Signals being caught by user */
117 int32_t ki_uid; /* effective user id */
118 int32_t ki_ruid; /* Real user id */
119 int32_t ki_svuid; /* Saved effective user id */
120 int32_t ki_rgid; /* Real group id */
121 int32_t ki_svgid; /* Saved effective group id */
122 int16_t ki_ngroups; /* number of groups */
123 int16_t ki_spare_short2; /* unused (just here for alignment) */
124 int32_t ki_groups[TARGET_KI_NGROUPS]; /* groups */
126 abi_long ki_size; /* virtual size */
128 abi_long ki_rssize; /* current resident set size in pages */
129 abi_long ki_swrss; /* resident set size before last swap */
130 abi_long ki_tsize; /* text size (pages) XXX */
131 abi_long ki_dsize; /* data size (pages) XXX */
132 abi_long ki_ssize; /* stack size (pages) */
134 uint16_t ki_xstat; /* Exit status for wait & stop signal */
135 uint16_t ki_acflag; /* Accounting flags */
137 uint32_t ki_pctcpu; /* %cpu for process during ki_swtime */
139 uint32_t ki_estcpu; /* Time averaged value of ki_cpticks */
140 uint32_t ki_slptime; /* Time since last blocked */
141 uint32_t ki_swtime; /* Time swapped in or out */
142 uint32_t ki_cow; /* number of copy-on-write faults */
143 uint64_t ki_runtime; /* Real time in microsec */
145 struct target_freebsd_timeval ki_start; /* starting time */
146 struct target_freebsd_timeval ki_childtime; /* time used by process children */
148 abi_long ki_flag; /* P_* flags */
149 abi_long ki_kiflag; /* KI_* flags (below) */
150 int32_t ki_traceflag; /* Kernel trace points */
151 char ki_stat; /* S* process status */
152 int8_t ki_nice; /* Process "nice" value */
153 char ki_lock; /* Process lock (prevent swap) count */
154 char ki_rqindex; /* Run queue index */
155 u_char ki_oncpu_old; /* Which cpu we are on (legacy) */
156 u_char ki_lastcpu_old; /* Last cpu we were on (legacy) */
157 char ki_tdname[TARGET_TDNAMLEN + 1]; /* thread name */
158 char ki_wmesg[TARGET_WMESGLEN + 1]; /* wchan message */
159 char ki_login[TARGET_LOGNAMELEN + 1]; /* setlogin name */
160 char ki_lockname[TARGET_LOCKNAMELEN + 1]; /* lock name */
161 char ki_comm[TARGET_COMMLEN + 1]; /* command name */
162 char ki_emul[TARGET_KI_EMULNAMELEN + 1]; /* emulation name */
163 char ki_loginclass[TARGET_LOGINCLASSLEN + 1]; /* login class */
165 char ki_sparestrings[50]; /* spare string space */
166 int32_t ki_spareints[TARGET_KI_NSPARE_INT]; /* spare room for growth */
167 uint64_t ki_tdev; /* controlling tty dev */
168 int32_t ki_oncpu; /* Which cpu we are on */
169 int32_t ki_lastcpu; /* Last cpu we were on */
170 int32_t ki_tracer; /* Pid of tracing process */
171 int32_t ki_flag2; /* P2_* flags */
172 int32_t ki_fibnum; /* Default FIB number */
173 uint32_t ki_cr_flags; /* Credential flags */
174 int32_t ki_jid; /* Process jail ID */
175 int32_t ki_numthreads; /* XXXKSE number of threads in total */
177 int32_t ki_tid; /* XXXKSE thread id */
179 struct target_priority ki_pri; /* process priority */
180 struct target_freebsd_rusage ki_rusage; /* process rusage statistics */
182 struct target_freebsd_rusage ki_rusage_ch; /* rusage of children processes */
185 abi_ulong ki_pcb; /* kernel virtual addr of pcb */
186 abi_ulong ki_kstack; /* kernel virtual addr of stack */
187 abi_ulong ki_udata; /* User convenience pointer */
188 abi_ulong ki_tdaddr; /* address of thread */
190 abi_ulong ki_spareptrs[TARGET_KI_NSPARE_PTR]; /* spare room for growth */
191 abi_long ki_sparelongs[TARGET_KI_NSPARE_LONG];/* spare room for growth */
192 abi_long ki_sflag; /* PS_* flags */
193 abi_long ki_tdflags; /* XXXKSE kthread flag */