version 1.20, 2002/08/04 00:51:01 |
version 1.21, 2002/09/17 19:37:40 |
|
|
* the delta values in the 'cur' structure. |
* the delta values in the 'cur' structure. |
*/ |
*/ |
void |
void |
dkswap() |
dkswap(void) |
{ |
{ |
u_int64_t tmp; |
u_int64_t tmp; |
int i; |
int i; |
|
|
* Also collect statistics for tty i/o and cpu ticks. |
* Also collect statistics for tty i/o and cpu ticks. |
*/ |
*/ |
void |
void |
dkreadstats() |
dkreadstats(void) |
{ |
{ |
#if !defined(NOKVM) |
#if !defined(NOKVM) |
struct disk cur_disk, *p; |
struct disk cur_disk, *p; |
|
|
* track disk statistics. |
* track disk statistics. |
*/ |
*/ |
int |
int |
dkinit(select) |
dkinit(int select) |
int select; |
|
{ |
{ |
#if !defined(NOKVM) |
#if !defined(NOKVM) |
struct disklist_head disk_head; |
struct disklist_head disk_head; |
|
|
* and the size of the copy passed in `len'. |
* and the size of the copy passed in `len'. |
*/ |
*/ |
static void |
static void |
deref_kptr(kptr, ptr, len) |
deref_kptr(void *kptr, void *ptr, size_t len) |
void *kptr, *ptr; |
|
size_t len; |
|
{ |
{ |
char buf[128]; |
char buf[128]; |
|
|