Searched refs:iovnum (Results 1 – 3 of 3) sorted by relevance
181 int iovnum = 0; in stub_send_ret_submit() local198 iovnum = 2 + urb->number_of_packets; in stub_send_ret_submit()201 iovnum = 1 + urb->num_sgs; in stub_send_ret_submit()203 iovnum = 1 + priv->num_urbs; in stub_send_ret_submit()205 iovnum = 2; in stub_send_ret_submit()207 iov = kcalloc(iovnum, sizeof(struct kvec), GFP_KERNEL); in stub_send_ret_submit()214 iovnum = 0; in stub_send_ret_submit()231 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit()232 iov[iovnum].iov_len = sizeof(pdu_header); in stub_send_ret_submit()233 iovnum++; in stub_send_ret_submit()[all …]
77 int iovnum; in vhci_send_cmd_submit() local95 iovnum = 2 + urb->num_sgs; in vhci_send_cmd_submit()97 iovnum = 3; in vhci_send_cmd_submit()99 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in vhci_send_cmd_submit()111 iovnum = 0; in vhci_send_cmd_submit()113 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit()114 iov[iovnum].iov_len = sizeof(pdu_header); in vhci_send_cmd_submit()116 iovnum++; in vhci_send_cmd_submit()123 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit()124 iov[iovnum].iov_len = sg->length; in vhci_send_cmd_submit()[all …]
91 int iovnum = 0; in v_send_ret_submit() local108 iovnum = 2 + urb->number_of_packets; in v_send_ret_submit()110 iovnum = 2; in v_send_ret_submit()112 iov = kcalloc(iovnum, sizeof(*iov), GFP_KERNEL); in v_send_ret_submit()118 iovnum = 0; in v_send_ret_submit()126 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit()127 iov[iovnum].iov_len = sizeof(pdu_header); in v_send_ret_submit()128 iovnum++; in v_send_ret_submit()134 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit()135 iov[iovnum].iov_len = urb->actual_length; in v_send_ret_submit()[all …]