proc.h (115084) | proc.h (115702) |
---|---|
1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 | 1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 |
39 * $FreeBSD: head/sys/sys/proc.h 115084 2003-05-16 21:26:42Z marcel $ | 39 * $FreeBSD: head/sys/sys/proc.h 115702 2003-06-02 16:05:32Z tegge $ |
40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#ifndef _KERNEL --- 457 unchanged lines hidden (view full) --- 505 */ 506struct proc { 507 LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ 508 TAILQ_HEAD(, ksegrp) p_ksegrps; /* (kg_ksegrp) All KSEGs. */ 509 TAILQ_HEAD(, thread) p_threads; /* (td_plist) Threads. (shortcut) */ 510 TAILQ_HEAD(, thread) p_suspended; /* (td_runq) Suspended threads. */ 511 struct ucred *p_ucred; /* (c) Process owner's identity. */ 512 struct filedesc *p_fd; /* (b) Ptr to open files structure. */ | 40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#ifndef _KERNEL --- 457 unchanged lines hidden (view full) --- 505 */ 506struct proc { 507 LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ 508 TAILQ_HEAD(, ksegrp) p_ksegrps; /* (kg_ksegrp) All KSEGs. */ 509 TAILQ_HEAD(, thread) p_threads; /* (td_plist) Threads. (shortcut) */ 510 TAILQ_HEAD(, thread) p_suspended; /* (td_runq) Suspended threads. */ 511 struct ucred *p_ucred; /* (c) Process owner's identity. */ 512 struct filedesc *p_fd; /* (b) Ptr to open files structure. */ |
513 struct filedesc_to_leader *p_fdtol; /* (b) Ptr to tracking node */ |
|
513 /* Accumulated stats for all KSEs? */ 514 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ 515 struct plimit *p_limit; /* (c*) Process limits. */ 516 struct vm_object *p_upages_obj; /* (a) Upages object. */ 517 struct sigacts *p_sigacts; /* (x) Signal actions, state (CPU). */ 518 519 /*struct ksegrp p_ksegrp; 520 struct kse p_kse; */ --- 414 unchanged lines hidden --- | 514 /* Accumulated stats for all KSEs? */ 515 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ 516 struct plimit *p_limit; /* (c*) Process limits. */ 517 struct vm_object *p_upages_obj; /* (a) Upages object. */ 518 struct sigacts *p_sigacts; /* (x) Signal actions, state (CPU). */ 519 520 /*struct ksegrp p_ksegrp; 521 struct kse p_kse; */ --- 414 unchanged lines hidden --- |