|
FreeBSD kernel kern code
|
#include <sys/cdefs.h>#include <sys/param.h>#include <sys/lock.h>#include <sys/mutex.h>#include <sys/proc.h>#include <sys/resourcevar.h>#include <sys/sched.h>#include <sys/systm.h>#include <sys/tty.h>#include <vm/vm.h>#include <vm/pmap.h>#include <vm/vm_map.h>
Go to the source code of this file.
Macros | |
| #define | TESTAB(a, b) ((a)<<1 | (b)) |
| #define | ONLYA 2 |
| #define | ONLYB 1 |
| #define | BOTH 3 |
Functions | |
| __FBSDID ("$BSDSUniX$") | |
| static int | proc_sum (struct proc *p, fixpt_t *estcpup) |
| static int | thread_compare (struct thread *td, struct thread *td2) |
| static int | proc_compare (struct proc *p1, struct proc *p2) |
| void | tty_info (struct tty *tp) |
| #define BOTH 3 |
Definition at line 76 of file tty_info.c.
Referenced by proc_compare(), and thread_compare().
| #define ONLYA 2 |
Definition at line 74 of file tty_info.c.
Referenced by proc_compare(), and thread_compare().
| #define ONLYB 1 |
Definition at line 75 of file tty_info.c.
Referenced by proc_compare(), and thread_compare().
| #define TESTAB | ( | a, | |
| b | |||
| ) | ((a)<<1 | (b)) |
Definition at line 73 of file tty_info.c.
Referenced by proc_compare(), and thread_compare().
| __FBSDID | ( | "$BSDSUniX$" | ) |
|
static |
Definition at line 157 of file tty_info.c.
References BOTH, ONLYA, ONLYB, proc_sum(), and TESTAB.
Referenced by tty_info().


|
static |
Definition at line 79 of file tty_info.c.
References sched_pctcpu().
Referenced by proc_compare().


|
static |
Definition at line 101 of file tty_info.c.
References BOTH, ONLYA, ONLYB, sched_pctcpu(), and TESTAB.
Referenced by tty_info().


| void tty_info | ( | struct tty * | tp | ) |
Definition at line 214 of file tty_info.c.
References averunnable, microuptime(), proc_compare(), rufetchcalc(), sched_pctcpu(), thread_compare(), timevalsub(), tty_checkoutq(), and ttyprintf().
Referenced by tty_generic_ioctl(), and tty_signal_pgrp().

