Home
last modified time | relevance | path

Searched refs:iovnum (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/usb/usbip/
Dstub_tx.c167 int iovnum = 0; in stub_send_ret_submit() local
184 iovnum = 2 + urb->number_of_packets; in stub_send_ret_submit()
187 iovnum = 1 + urb->num_sgs; in stub_send_ret_submit()
189 iovnum = 1 + priv->num_urbs; in stub_send_ret_submit()
191 iovnum = 2; in stub_send_ret_submit()
193 iov = kcalloc(iovnum, sizeof(struct kvec), GFP_KERNEL); in stub_send_ret_submit()
200 iovnum = 0; in stub_send_ret_submit()
217 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit()
218 iov[iovnum].iov_len = sizeof(pdu_header); in stub_send_ret_submit()
219 iovnum++; in stub_send_ret_submit()
[all …]
Dvhci_tx.c63 int iovnum; in vhci_send_cmd_submit() local
81 iovnum = 2 + urb->num_sgs; in vhci_send_cmd_submit()
83 iovnum = 3; in vhci_send_cmd_submit()
85 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in vhci_send_cmd_submit()
97 iovnum = 0; in vhci_send_cmd_submit()
99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit()
100 iov[iovnum].iov_len = sizeof(pdu_header); in vhci_send_cmd_submit()
102 iovnum++; in vhci_send_cmd_submit()
109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()
110 iov[iovnum].iov_len = sg->length; in vhci_send_cmd_submit()
[all …]
Dvudc_tx.c79 int iovnum = 0; in v_send_ret_submit() local
96 iovnum = 2 + urb->number_of_packets; in v_send_ret_submit()
98 iovnum = 2; in v_send_ret_submit()
100 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in v_send_ret_submit()
106 iovnum = 0; in v_send_ret_submit()
114 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit()
115 iov[iovnum].iov_len = sizeof(pdu_header); in v_send_ret_submit()
116 iovnum++; in v_send_ret_submit()
122 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit()
123 iov[iovnum].iov_len = urb->actual_length; in v_send_ret_submit()
[all …]