Searched refs:getsysctl (Results 1 – 8 of 8) sorted by relevance
/freebsd/lib/libkvm/ |
H A D | kvm_cptime.c | 65 getsysctl(kvm_t *kd, const char *name, void *buf, size_t len) in getsysctl() function 95 return (getsysctl(kd, "kern.cp_time", cp_time, sizeof(long) * in kvm_getcptime()
|
H A D | kvm_getswapinfo.c | 69 static int getsysctl(kvm_t *, const char *, void *, size_t); 157 getsysctl(kd, name, &(var), sizeof(var)) 254 getsysctl(kvm_t *kd, const char *name, void *ptr, size_t len) in getsysctl() function
|
/freebsd/usr.bin/systat/ |
H A D | systat.h | 64 #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
|
H A D | fetch.c | 58 getsysctl(const char *name, void *ptr, size_t len) in getsysctl() function
|
H A D | extern.h | 110 void getsysctl(const char *, void *, size_t);
|
H A D | vmstat.c | 772 getsysctl("hw.intrcnt", ls->intrcnt, nintr * sizeof(u_long)); in getinfo()
|
/freebsd/tools/regression/sockets/unix_gc/ |
H A D | unix_gc.c | 56 getsysctl(const char *name) in getsysctl() function 71 return (getsysctl("kern.openfiles")); in getopenfiles() 78 return (getsysctl("net.local.inflight")); in getinflight() 85 return (getsysctl("net.local.deferred")); in getdeferred()
|
/freebsd/usr.bin/top/ |
H A D | machine.c | 52 #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var)) 222 static void getsysctl(const char *name, void *ptr, size_t len); 1165 getsysctl(const char *name, void *ptr, size_t len) in getsysctl() function
|