Lines Matching refs:errno

38 #include <errno.h>
209 * Returns: change in number of busses or negative errno
243 * Returns: change in number of devices or a negative errno
436 * a negative errno
460 * usb_send_msg returns #bytes xferred or negative errno
467 usb_error_str(errno,
494 * Returns: actual number of data bytes transferred or negative errno
536 * Returns: actual number of data bytes transferred or negative errno
581 * Returns: actual number of data bytes transferred or negative errno
624 * Returns: actual number of data bytes transferred or negative errno
675 * Returns: number of bytes transferred or negative errno
706 * Returns: number of bytes transferred or negative errno
783 * Returns: number of bytes transferred or negative errno
828 * Returns: 0 or negative errno
972 * Returns: 0 or negative errno
1013 usb_error_str(errno, "could not clear feature on ep=0x%x", ep);
1025 * Returns: 0 or negative errno
1109 * Returns: 0 or negative errno
1153 * Returns: 0 or negative errno
1197 * Returns: number of bytes transferred or negative errno
1251 * Returns: bytes transferred or negative errno
1278 int save_errno = errno;
1280 /* usb_get_status will do a read and overwrite errno */
1282 usb_error_str(save_errno, "error %d doing io: errno=%d",
1374 * Returns: errno
1470 usb_error_str(errno, "can't open %s RDWR: %d",
1471 statfilename, errno);
1476 usb_error_str(errno,
1478 filename, errno);
1482 return (errno);
1489 usb_error_str(errno, "can't write to %s: %d",
1490 filename, errno);
1495 return (errno);
1500 usb_error_str(errno, "can't open %s: %d",
1501 statfilename, errno);
1505 return (errno);
1511 usb_error_str(errno, "can't open %s: %d",
1512 filename, errno);
1517 return (errno);
1547 * Returns: errno
1586 return (errno);
1598 return (errno);
1674 * Returns: errno
1763 * Returns: errno
1906 * Returns: errno
1966 * Returns: errno
1990 * Returns: errno
2115 * Returns: errno
2270 usb_error_str(errno, "Could not read device status: %d",
2305 * Returns: errno
2334 usb_error_str(errno,
2335 "couldn't opendir %s: %d", bus->dirname, errno);
2337 return (errno);
2918 "usb_error_type=%d, errno=%d\n", usb_error_type, usb_error_errno);