statinfo
if (statinfo)
if (statinfo)
int statinfo;
statinfo = 1;
statinfo = Etc.statreport;
getdevs(struct statinfo *stats)
int getdevs(struct statinfo *stats);
struct statinfo stats;
struct statinfo stats;
struct statinfo statinfo;
bzero(&statinfo, sizeof(struct statinfo));
statinfo.dinfo = malloc(devs * sizeof(struct statinfo));
if ((statinfo.dinfo == NULL) || (namelist == NULL) || (token == NULL)) {
bzero(statinfo.dinfo, sizeof(struct devinfo));
if (getdevs(&statinfo) < 0) { /* find out what devices we have */
struct devstat *stat = &statinfo.dinfo->devices[i];
free(statinfo.dinfo); /* don't need the list any more */
struct statinfo statinfo;
bzero(&statinfo, sizeof(struct statinfo));
statinfo.dinfo = malloc(devs * sizeof(struct statinfo));
if ((statinfo.dinfo == NULL) || (namelist == NULL) || (token == NULL)) {
bzero(statinfo.dinfo, sizeof(struct devinfo));
if (getdevs(&statinfo) < 0) { /* find out what devices we have */
struct devstat *stat = &statinfo.dinfo->devices[i];
free(statinfo.dinfo); /* don't need the list any more */
dsinit(int maxshowdevs, struct statinfo *s1, struct statinfo *s2 __unused,
struct statinfo *s3 __unused)
dsinit_ignores(int maxshowdevs, struct statinfo *s1)
dscmd(const char *cmd, char *args, int maxshowdevs, struct statinfo *s1)
struct statinfo *s1)
struct statinfo *s1)
static void dsinit_ignores(int maxshowdevs, struct statinfo *s1);
int maxshowdevs, struct statinfo *s1);
int maxshowdevs, struct statinfo *s1);
int dsinit(int, struct statinfo *, struct statinfo *, struct statinfo *);
int dscmd(const char *, char *, int, struct statinfo *);
extern struct statinfo cur, last;
struct statinfo cur, last;
static void dinfo(int, int, struct statinfo *, struct statinfo *);
struct statinfo run;
dinfo(int dn, int lc, struct statinfo *now, struct statinfo *then)
struct statinfo cur, last;
struct statinfo cur, last;