Searched refs:curstat (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/contrib/netbsd-tests/rump/kernspace/
H A Dalloc.c53 static int curstat; variable
61 curstat++;
64 while (curstat < 2)
104 while (curstat == 0)
113 curstat++;
/freebsd-current/usr.bin/systat/
H A Dip.c64 static struct stat curstat, initstat, oldstat; variable in typeref:struct:stat
155 *ret = curstat;
158 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
262 if (len > sizeof curstat.i) {
278 if (len > sizeof curstat.u) {
321 oldstat = curstat;
326 len = sizeof curstat.i;
328 if (sysctl(name, 4, &curstat.i, &len, 0, 0) < 0)
332 len = sizeof curstat.u;
334 if (sysctl(name, 4, &curstat
[all...]
H A Dzarc.c53 } curstat, initstat, oldstat; variable in typeref:struct:zarcstats
115 delta->hits.stat = (curstat.hits.stat - oldstat.hits.stat); \
116 delta->misses.stat = (curstat.misses.stat - oldstat.misses.stat); \
118 rate->total.stat = calc_rate(curstat.hits.stat, curstat.misses.stat)
150 DO(curstat.hits.stat, 31+1+5+7+7+8+5, 6)
152 DO(curstat.misses.stat, 31+1+5+7+7+8+5+7, 6)
174 curstat = oldstat = initstat;
234 oldstat = curstat;
235 getinfo(&curstat);
[all...]
H A Dtcp.c56 static struct tcpstat curstat, initstat, oldstat; variable in typeref:struct:tcpstat
151 *ret = curstat;
154 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
274 if (len > sizeof curstat) {
310 oldstat = curstat;
315 len = sizeof curstat;
317 if (sysctl(name, 4, &curstat, &len, 0, 0) < 0)
H A Dip6.c58 static struct ip6stat curstat, initstat, oldstat; variable in typeref:struct:ip6stat
151 *ret = curstat;
154 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
251 if (len > sizeof curstat) {
288 oldstat = curstat;
293 len = sizeof curstat;
295 if (sysctl(name, 4, &curstat, &len, 0, 0) < 0)
H A Dsctp.c45 static struct sctpstat curstat, initstat, oldstat; variable in typeref:struct:sctpstat
138 *ret = curstat;
141 #define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
317 if (len > sizeof curstat) {
348 oldstat = curstat;
349 len = sizeof curstat;
350 if (sysctlbyname(name, &curstat, &len, NULL, 0) < 0) {
/freebsd-current/contrib/one-true-awk/
H A Db.c263 f->curstat = 2;
274 f->curstat = cgoto(f, 2, HAT);
282 if (f->curstat != 2)
283 --(*f->posns[f->curstat]);
285 return f->curstat;
1511 resize_state(f, f->curstat > s ? f->curstat : s);
1513 for (i = 1; i <= f->curstat; i++) {
1528 ++(f->curstat);
1529 resize_state(f, f->curstat);
[all...]
H A Dawk.h277 int curstat; member in struct:fa

Completed in 91 milliseconds