Searched refs:sfstat (Results 1 – 4 of 4) sorted by relevance
| /f-stack/tools/netstat/ |
| H A D | mbuf.c | 95 struct sfstat sfstat; in mbpr() local 337 if (fetch_stats("kern.ipc.sfstat", mbaddr, &sfstat, sizeof(sfstat), in mbpr() 342 (uintmax_t)sfstat.sf_syscalls); in mbpr() 345 (uintmax_t)sfstat.sf_noiocnt); in mbpr() 348 (uintmax_t)sfstat.sf_iocnt); in mbpr() 351 (uintmax_t)sfstat.sf_pages_read); in mbpr() 354 (uintmax_t)sfstat.sf_pages_valid); in mbpr() 357 (uintmax_t)sfstat.sf_pages_bogus); in mbpr() 366 (uintmax_t)sfstat.sf_busy); in mbpr() 368 (uintmax_t)sfstat.sf_allocfail); in mbpr() [all …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | sf_buf.h | 35 struct sfstat { /* sendfile statistics */ struct 190 extern counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)]; 192 counter_u64_add(sfstat[offsetof(struct sfstat, name) / sizeof(uint64_t)],\
|
| /f-stack/freebsd/sys/ |
| H A D | sf_buf.h | 35 struct sfstat { /* sendfile statistics */ struct 190 extern counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)]; 192 counter_u64_add(sfstat[offsetof(struct sfstat, name) / sizeof(uint64_t)],\
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sendfile.c | 139 counter_u64_t sfstat[sizeof(struct sfstat) / sizeof(uint64_t)]; variable 145 COUNTER_ARRAY_ALLOC(sfstat, sizeof(struct sfstat) / sizeof(uint64_t), in sfstat_init() 148 SYSINIT(sfstat, SI_SUB_MBUF, SI_ORDER_FIRST, sfstat_init, NULL); 153 struct sfstat s; in sfstat_sysctl() 155 COUNTER_ARRAY_COPY(sfstat, &s, sizeof(s) / sizeof(uint64_t)); in sfstat_sysctl() 157 COUNTER_ARRAY_ZERO(sfstat, sizeof(s) / sizeof(uint64_t)); in sfstat_sysctl() 160 SYSCTL_PROC(_kern_ipc, OID_AUTO, sfstat,
|