Lines Matching defs:proc
271 struct proc { struct
273 LIST_ENTRY(proc) p_list; /* List of all processes. */ argument
277 proc_ro_t p_proc_ro; argument
278 pid_t p_ppid; /* process's parent pid number */ argument
279 pid_t p_pgrpid; /* process group id of the process (LL)*/ argument
289 lck_mtx_t p_mlock; /* mutex lock for proc */ argument
290 pid_t p_pid; /* Process identifier for proc_find. (static)*/ argument
291 char p_stat; /* S* process status. (PL)*/ argument
296 LIST_ENTRY(proc) p_pglist; /* List of processes in pgrp (PGL) */ argument
305 LIST_ENTRY(proc) p_persona_list; argument
317 …SMR_POINTER(struct pgrp *XNU_PTRAUTH_SIGNED_PTR("proc.p_pgrp")) p_pgrp; /* Pointer to process grou… argument
333 int p_aio_total_count; /* all allocated AIO requests for this proc */ argument
337 …u_int p_estcpu; /* Time averaged value of p_cpticks.(used by aio and proc_… argument
338 fixpt_t p_pctcpu; /* %cpu for this process during p_swtime (used by aio)*/ argument
339 u_int p_slptime; /* used by proc_compare */ argument
360 /* cached proc-specific data required for corpse inspection */ argument
361 pid_t p_responsible_pid; /* pid responsible for this process */ argument
364 … p_dtrace_probes; /* (PL) are there probes for this proc? */ argument
369 lck_mtx_t p_dtrace_sprlock; /* sun proc lock emulation */ argument
372 …struct dtrace_helpers* p_dtrace_helpers; /* (dtrace_lock) DTrace per-proc p… argument
380 struct vnode * XNU_PTRAUTH_SIGNED_PTR("proc.p_textvp") p_textvp; /* Vnode of executable. */ argument
436 …4_t did_throttle __attribute__((aligned(8))); /* Counter for number of I/Os this proc throttled */ argument
439 unsigned int p_fdlock_pc[4];
440 unsigned int p_fdunlock_pc[4];
464 /* Fields protected by proc list lock */ argument
470 TAILQ_ENTRY(proc) p_memstat_list; /* priority bucket link */ argument
472 uint64_t p_memstat_idledeadline; /* time at which process became clean */ argument
473 …uint64_t p_memstat_prio_start; /* abstime process transitioned into the current b… argument
476 …int32_t p_memstat_memlimit_active; /* memory limit enforced when process is in active… argument
477 …int32_t p_memstat_memlimit_inactive; /* memory limit enforced when process is in inacti… argument
478 …int32_t p_memstat_relaunch_flags; /* flags indicating relaunch behavior for the proc… argument
480 uint32_t p_memstat_freeze_sharedanon_pages; /* shared pages left behind after freeze */
481 uint32_t p_memstat_frozen_count;
482 uint32_t p_memstat_thaw_count;
483 …nt32_t p_memstat_last_thaw_interval; /* In which freezer interval was this last thawed? */
487 _Atomic uint32_t p_user_faults; /* count the number of user faults generated */
489 …rease for memory limit for dyld SPI rdar://problem/49950264, structure packing 32-bit and 64-bit */
491 …ior_deadline; /* mach_continuous_time deadline. After this timestamp p_crash_behavior is invalid */
515 #define P_LIST_EXITCOUNT 0x00100000 /* counted for process exit */ argument