Searched refs:kvmd (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.bin/bluetooth/btsockstat/ |
H A D | btsockstat.c | 62 static void hcirawpr (kvm_t *kvmd, u_long addr); 63 static void l2caprawpr (kvm_t *kvmd, u_long addr); 64 static void l2cappr (kvm_t *kvmd, u_long addr); 65 static void l2caprtpr (kvm_t *kvmd, u_long addr); 66 static void rfcommpr (kvm_t *kvmd, u_long addr); 67 static void rfcommpr_s (kvm_t *kvmd, u_long addr); 72 static int kread (kvm_t *kvmd, u_long addr, char *buffer, int size); 111 kvm_t *kvmd = NULL; in main() local 163 kvmd = kopen(memf); in main() 164 if (kvmd == NULL) in main() [all …]
|
/freebsd/usr.bin/netstat/ |
H A D | main.c | 194 static kvm_t *kvmd; variable 483 mbpr(kvmd, nl[N_SFSTAT].n_value); in main() 737 if (kvmd != NULL) in kvmd_init() 740 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); in kvmd_init() 744 if (kvmd == NULL) { in kvmd_init() 759 if ((kvmd == NULL) && (kvmd_init() != 0)) in kresolve_list() 765 if (kvm_nlist(kvmd, _nl) < 0) { in kresolve_list() 768 kvm_geterr(kvmd)); in kresolve_list() 770 xo_errx(EX_UNAVAILABLE, "kvm_nlist: %s", kvm_geterr(kvmd)); in kresolve_list() 783 if ((kvmd == NULL) && (kvmd_init() != 0)) in kset_dpcpu() [all …]
|
H A D | mbuf.c | 60 mbpr(void *kvmd, u_long mbaddr) in mbpr() argument 100 if (memstat_kvm_all(mtlp, kvmd) < 0) { in mbpr() 104 kvm_geterr(kvmd)); in mbpr()
|
/freebsd/usr.sbin/ifmcstat/ |
H A D | ifmcstat.c | 150 kvm_t *kvmd; variable 333 if ((kvmd = kvm_openfiles(kernel, core, NULL, O_RDONLY, buf)) == in ifmcstat_kvm() 338 if (kvm_nlist(kvmd, nl) < 0) { in ifmcstat_kvm() 373 if (kvm_read(kvmd, addr, buf, len) != len) { in kread()
|