Searched refs:spdu (Results 1 – 2 of 2) sorted by relevance
436 struct usbip_header_cmd_submit *spdu = &pdu->u.cmd_submit; in usbip_pack_cmd_submit() local444 spdu->transfer_flags = urb_to_usbip(tweak_transfer_flags(urb->transfer_flags)); in usbip_pack_cmd_submit()445 spdu->transfer_buffer_length = urb->transfer_buffer_length; in usbip_pack_cmd_submit()446 spdu->start_frame = urb->start_frame; in usbip_pack_cmd_submit()447 spdu->number_of_packets = urb->number_of_packets; in usbip_pack_cmd_submit()448 spdu->interval = urb->interval; in usbip_pack_cmd_submit()450 urb->transfer_flags = usbip_to_urb(spdu->transfer_flags); in usbip_pack_cmd_submit()451 urb->transfer_buffer_length = spdu->transfer_buffer_length; in usbip_pack_cmd_submit()452 urb->start_frame = spdu->start_frame; in usbip_pack_cmd_submit()453 urb->number_of_packets = spdu->number_of_packets; in usbip_pack_cmd_submit()[all …]
509 struct smb2_pdu *spdu = buf; in fill_small_buf() local519 smb2_hdr_assemble(&spdu->hdr, smb2_command, tcon, server); in fill_small_buf()520 spdu->StructureSize2 = cpu_to_le16(parmsize); in fill_small_buf()