Home
last modified time | relevance | path

Searched refs:sfstat (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.bin/netstat/
H A Dmbuf.c79 struct sfstat sfstat; in mbpr() local
317 if (fetch_stats("kern.ipc.sfstat", mbaddr, &sfstat, sizeof(sfstat), in mbpr()
322 (uintmax_t)sfstat.sf_syscalls); in mbpr()
325 (uintmax_t)sfstat.sf_noiocnt); in mbpr()
328 (uintmax_t)sfstat.sf_iocnt); in mbpr()
331 (uintmax_t)sfstat.sf_pages_read); in mbpr()
334 (uintmax_t)sfstat.sf_pages_valid); in mbpr()
337 (uintmax_t)sfstat.sf_pages_bogus); in mbpr()
340 (uintmax_t)sfstat.sf_rhpages_requested); in mbpr()
343 (uintmax_t)sfstat.sf_rhpages_read); in mbpr()
[all …]
/freebsd/sys/sys/
H A Dsf_buf.h33 struct sfstat { /* sendfile statistics */ struct
188 extern counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)];
190 counter_u64_add(sfstat[offsetof(struct sfstat, name) / sizeof(uint64_t)],\
/freebsd/sys/kern/
H A Dkern_sendfile.c140 counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)]; variable
146 COUNTER_ARRAY_ALLOC(sfstat, sizeof(struct sfstat) / sizeof(uint64_t), in sfstat_init()
149 SYSINIT(sfstat, SI_SUB_MBUF, SI_ORDER_FIRST, sfstat_init, NULL);
154 struct sfstat s; in sfstat_sysctl()
156 COUNTER_ARRAY_COPY(sfstat, &s, sizeof(s) / sizeof(uint64_t)); in sfstat_sysctl()
158 COUNTER_ARRAY_ZERO(sfstat, sizeof(s) / sizeof(uint64_t)); in sfstat_sysctl()
161 SYSCTL_PROC(_kern_ipc, OID_AUTO, sfstat,