Lines Matching defs:length
392 /* send a zero length packet to userland */
747 /* update actual length, including terminating zero */
753 /* zero length string is default */
946 uint32_t length;
990 &length, sizeof(length));
994 if (length != sizeof(*req)) {
998 if (length != 0) {
999 error = copyin(uaddr, req, length);
1008 usbd_xfer_set_frame_len(xfer, 0, length);
1059 &length, sizeof(length));
1063 usbd_xfer_set_frame_len(xfer, n, length);
1065 if (length > rem) {
1069 rem -= length;
1090 error = copyin(uaddr, kaddr, length);
1095 offset += length;
1152 uint32_t length;
1216 /* get initial length into "temp" */
1223 /* the userland length has been corrupted */
1224 DPRINTF("corrupt userland length "
1231 /* get actual transfer length */
1232 length = xfer->frlengths[n];
1233 if (length > temp) {
1237 length, temp);
1256 error = copyout(kaddr, uaddr, length);
1262 * Update offset according to initial length, which is
1267 /* update length */
1268 error = copyout(&length,
1269 fs_ep.pLength + n, sizeof(length));