Home
last modified time | relevance | path

Searched refs:getsysctl (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libkvm/
H A Dkvm_cptime.c65 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 Dkvm_getswapinfo.c69 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 Dsystat.h64 #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
H A Dfetch.c58 getsysctl(const char *name, void *ptr, size_t len) in getsysctl() function
H A Dextern.h110 void getsysctl(const char *, void *, size_t);
H A Dvmstat.c772 getsysctl("hw.intrcnt", ls->intrcnt, nintr * sizeof(u_long)); in getinfo()
/freebsd/tools/regression/sockets/unix_gc/
H A Dunix_gc.c56 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 Dmachine.c52 #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