Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/proc.h
Show First 20 Lines • Show All 359 Lines • ▼ Show 20 Lines | #define td_retval td_uretoff.tdu_retval | ||||
struct vm_page **td_ma; /* (k) uio pages held */ | struct vm_page **td_ma; /* (k) uio pages held */ | ||||
int td_ma_cnt; /* (k) size of *td_ma */ | int td_ma_cnt; /* (k) size of *td_ma */ | ||||
/* LP64 hole */ | /* LP64 hole */ | ||||
void *td_emuldata; /* Emulator state data */ | void *td_emuldata; /* Emulator state data */ | ||||
int td_lastcpu; /* (t) Last cpu we were on. */ | int td_lastcpu; /* (t) Last cpu we were on. */ | ||||
int td_oncpu; /* (t) Which cpu we are on. */ | int td_oncpu; /* (t) Which cpu we are on. */ | ||||
void *td_lkpi_task; /* LinuxKPI task struct pointer */ | void *td_lkpi_task; /* LinuxKPI task struct pointer */ | ||||
int td_pmcpend; | int td_pmcpend; | ||||
struct credwrap *td_credwrap; /* (k) Reference to credentials. */ | |||||
#ifdef EPOCH_TRACE | #ifdef EPOCH_TRACE | ||||
SLIST_HEAD(, epoch_tracker) td_epochs; | SLIST_HEAD(, epoch_tracker) td_epochs; | ||||
#endif | #endif | ||||
}; | }; | ||||
struct thread0_storage { | struct thread0_storage { | ||||
struct thread t0st_thread; | struct thread t0st_thread; | ||||
uint64_t t0st_sched[10]; | uint64_t t0st_sched[10]; | ||||
▲ Show 20 Lines • Show All 307 Lines • ▼ Show 20 Lines | #define p_endcopy p_xexit | ||||
/* | /* | ||||
* An orphan is the child that has been re-parented to the | * An orphan is the child that has been re-parented to the | ||||
* debugger as a result of attaching to it. Need to keep | * debugger as a result of attaching to it. Need to keep | ||||
* track of them for parent to be able to collect the exit | * track of them for parent to be able to collect the exit | ||||
* status of what used to be children. | * status of what used to be children. | ||||
*/ | */ | ||||
LIST_ENTRY(proc) p_orphan; /* (e) List of orphan processes. */ | LIST_ENTRY(proc) p_orphan; /* (e) List of orphan processes. */ | ||||
LIST_HEAD(, proc) p_orphans; /* (e) Pointer to list of orphans. */ | LIST_HEAD(, proc) p_orphans; /* (e) Pointer to list of orphans. */ | ||||
struct credwrap *p_credwrap; /* (c) Process owner's identity wrapper. */ | |||||
}; | }; | ||||
#define p_session p_pgrp->pg_session | #define p_session p_pgrp->pg_session | ||||
#define p_pgid p_pgrp->pg_id | #define p_pgid p_pgrp->pg_id | ||||
#define NOCPU (-1) /* For when we aren't on a CPU. */ | #define NOCPU (-1) /* For when we aren't on a CPU. */ | ||||
#define NOCPU_OLD (255) | #define NOCPU_OLD (255) | ||||
#define MAXCPU_OLD (254) | #define MAXCPU_OLD (254) | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |