rstat
bool_t rstat;
rstat = xdr_replymsg(xdrs, msg);
return (rstat);
struct mountctl_journal_ret_status rstat[4]; /* BIG */
&statreq, sizeof(statreq), &rstat, sizeof(rstat));
if (count > 0 && rstat[0].recsize != sizeof(rstat[0])) {
count /= sizeof(rstat[0]);
func(rstat[i].id, mountpt, fd, &rstat[i]);
struct mountctl_journal_ret_status *rstat = info;
printf("%s:%s\n", mountpt, rstat->id[0] ? rstat->id : "<NOID>");
printf(" membufsize=%s\n", numtostr(rstat->membufsize));
printf(" membufused=%s\n", numtostr(rstat->membufused));
printf(" membufunacked=%s\n", numtostr(rstat->membufunacked));
printf(" total_bytes=%s\n", numtostr(rstat->bytessent));
printf(" fifo_stalls=%jd\n", (intmax_t)rstat->fifostalls);
struct mountctl_journal_ret_status *rstat,
if (buflen < sizeof(*rstat)) {
rstat[-1].flags |= MC_JOURNAL_STATUS_MORETOCOME;
bzero(rstat, sizeof(*rstat));
rstat->recsize = sizeof(*rstat);
bcopy(jo->id, rstat->id, sizeof(jo->id));
rstat->index = index;
rstat->membufsize = jo->fifo.size;
rstat->membufused = jo->fifo.windex - jo->fifo.xindex;
rstat->membufunacked = jo->fifo.rindex - jo->fifo.xindex;
rstat->bytessent = jo->total_acked;
rstat->fifostalls = jo->fifostalls;
++rstat;
*res += sizeof(*rstat);
buflen -= sizeof(*rstat);
struct mountctl_journal_ret_status *rstat,