Lines Matching defs:stat
53 ses_encstat stat, *carray;
79 stat = 0;
80 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
89 if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
96 if ((stat & BADSTAT) == 0) {
107 if (stat & SES_ENCSTAT_UNRECOV)
110 if (stat & SES_ENCSTAT_CRITICAL)
113 if (stat & SES_ENCSTAT_NONCRITICAL)
116 stat = SES_ENCSTAT_CRITICAL;
117 if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {