Lines Matching defs:result
801 if ((isghp->result != 0) || (0 != isghp->sense_buffer[0])) {
802 printf("Error from Inquiry: result=%d\n",
803 isghp->result);
861 if (ok) { /* output result if it is available */
1273 printf(" self test result: %s [%d]\n",
4643 rsghp->result = 0;
4693 if ((rsghp->result != 0) || (0 != rsghp->sense_buffer[0])) {
4694 printf("sg_test_rwbuf: read(desc) result=%d\n", rsghp->result);
4808 rsghp->result = 0;
4865 rsghp->result = 0;
5098 } else if (0 != sghp->result) {
5100 printf("read from sg, bad result=%d\n", sghp->result);
5117 unsigned int result;
5119 result = 0;
5121 result = (result << 8) | (pnt[i] & 0xff);
5122 return result;