Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libkvm/
H A Dkvm_cptime.c68 getsysctl(kvm_t *kd, const char *name, void *buf, size_t len) in getsysctl() function
98 return (getsysctl(kd, "kern.cp_time", cp_time, sizeof(long) * in kvm_getcptime()
H A Dkvm_getswapinfo.c72 static int getsysctl(kvm_t *, const char *, void *, size_t);
161 getsysctl(kd, name, &(var), sizeof(var))
259 getsysctl(kvm_t *kd, const char *name, void *ptr, size_t len) in getsysctl() function
/freebsd-12.1/usr.bin/systat/
H A Dsystat.h66 #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
H A Dfetch.c63 void getsysctl(const char *name, void *ptr, size_t len) in getsysctl() function
H A Dextern.h107 void getsysctl(const char *, void *, size_t);
H A Dvmstat.c827 getsysctl("hw.intrcnt", ls->intrcnt, nintr * sizeof(u_long)); in getinfo()
/freebsd-12.1/tools/regression/sockets/unix_gc/
H A Dunix_gc.c58 getsysctl(const char *name) in getsysctl() function
73 return (getsysctl("kern.openfiles")); in getopenfiles()
80 return (getsysctl("net.local.inflight")); in getinflight()
87 return (getsysctl("net.local.deferred")); in getdeferred()
/freebsd-12.1/usr.bin/top/
H A Dmachine.c53 #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
218 static void getsysctl(const char *name, void *ptr, size_t len);
1102 getsysctl(const char *name, void *ptr, size_t len) in getsysctl() function