UbixOS
2.0
|
Go to the source code of this file.
Data Structures | |
struct | sysctl_entry |
Macros | |
#define | CTL_DEBUG 5 /* debugging parameters */ |
#define | CTL_HW 6 /* generic cpu/io */ |
#define | CTL_KERN 1 /* "high kernel": proc, limits */ |
#define | CTL_KERN_OPENFILES 1 /* kernel openfiles */ |
#define | CTL_MACHDEP 7 /* machine dependent */ |
#define | CTL_MAXNAME 24 /* largest number of components supported */ |
#define | CTL_NET 4 /* network, see socket.h */ |
#define | CTL_P1003_1B 9 /* POSIX 1003.1B */ |
#define | CTL_UBIX 10 /* ubixos */ |
#define | CTL_UNSPEC 0 /* unused */ |
#define | CTL_USER 8 /* user-level */ |
#define | CTL_VFS 3 /* filesystem, mount type is next */ |
#define | CTL_VM 2 /* virtual memory */ |
#define | EINVAL -1 /* */ |
Functions | |
int | kern_sysctl (int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen, size_t *retval, int flags) |
int | sysctl_add (int *, int, char *, void *, int) |
int | sysctl_init () |
Variables | |
bool | sysctl_enabled |
#define CTL_DEBUG 5 /* debugging parameters */ |
Definition at line 45 of file kern_sysctl.h.
#define CTL_HW 6 /* generic cpu/io */ |
Definition at line 46 of file kern_sysctl.h.
#define CTL_KERN 1 /* "high kernel": proc, limits */ |
Definition at line 41 of file kern_sysctl.h.
#define CTL_KERN_OPENFILES 1 /* kernel openfiles */ |
Definition at line 52 of file kern_sysctl.h.
#define CTL_MACHDEP 7 /* machine dependent */ |
Definition at line 47 of file kern_sysctl.h.
#define CTL_MAXNAME 24 /* largest number of components supported */ |
Definition at line 35 of file kern_sysctl.h.
#define CTL_NET 4 /* network, see socket.h */ |
Definition at line 44 of file kern_sysctl.h.
#define CTL_P1003_1B 9 /* POSIX 1003.1B */ |
Definition at line 49 of file kern_sysctl.h.
#define CTL_UBIX 10 /* ubixos */ |
Definition at line 50 of file kern_sysctl.h.
#define CTL_UNSPEC 0 /* unused */ |
Definition at line 40 of file kern_sysctl.h.
#define CTL_USER 8 /* user-level */ |
Definition at line 48 of file kern_sysctl.h.
#define CTL_VFS 3 /* filesystem, mount type is next */ |
Definition at line 43 of file kern_sysctl.h.
#define CTL_VM 2 /* virtual memory */ |
Definition at line 42 of file kern_sysctl.h.
#define EINVAL -1 /* */ |
Definition at line 54 of file kern_sysctl.h.
int kern_sysctl | ( | int * | name, |
u_int | namelen, | ||
void * | old, | ||
size_t * | oldlenp, | ||
void * | new, | ||
size_t | newlen, | ||
size_t * | retval, | ||
int | flags | ||
) |
int sysctl_add | ( | int * | , |
int | , | ||
char * | , | ||
void * | , | ||
int | |||
) |
Definition at line 418 of file kern_sysctl.c.
int sysctl_init | ( | ) |
Definition at line 147 of file kern_sysctl.c.
bool sysctl_enabled |