Lines Matching refs:proc
88 #include <sys/proc.h>
193 struct proc *p;
392 #define CTL_KERN 1 /* "high kernel": proc, limits */
446 #define KERN_MAXFILESPERPROC 29 /* int: max open files per proc */
474 #define KERN_PROCDELAYTERM 53 /* int: set/reset current proc for delayed termination during shutdown */
572 { "proc", CTLTYPE_STRUCT }, \
660 * KERN_PROC subtype ops return arrays of augmented proc structures:
681 struct extern_proc kp_proc; /* proc structure */
683 struct proc *e_paddr; /* address of proc */
753 struct user32_extern_proc kp_proc; /* proc structure */
755 user32_addr_t e_paddr; /* address of proc */
782 struct user64_extern_proc kp_proc; /* proc structure */
784 user_addr_t e_paddr; /* address of proc */
1128 int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,
1130 int userland_sysctl(struct proc *p, int *name, u_int namelen, user_addr_t old,
1144 (int *, u_int, user_addr_t, size_t *, user_addr_t, size_t, struct proc *);
1157 int new_sysctl(struct proc *, struct sysctl_args *);