Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ksmbd/
Dconnection.c165 int iov_idx = 0; in ksmbd_conn_write() local
174 iov[iov_idx] = (struct kvec) { work->tr_buf, in ksmbd_conn_write()
176 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
180 iov[iov_idx] = (struct kvec) { rsp_hdr, work->resp_hdr_sz }; in ksmbd_conn_write()
181 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
182 iov[iov_idx] = (struct kvec) { work->aux_payload_buf, work->aux_payload_sz }; in ksmbd_conn_write()
183 len += iov[iov_idx++].iov_len; in ksmbd_conn_write()
186 iov[iov_idx].iov_len = work->resp_hdr_sz; in ksmbd_conn_write()
188 iov[iov_idx].iov_len = get_rfc1002_len(rsp_hdr) + 4; in ksmbd_conn_write()
189 iov[iov_idx].iov_base = rsp_hdr; in ksmbd_conn_write()
[all …]
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Duser_sdma.h183 u8 iov_idx; member
Duser_sdma.c384 req->iov_idx = 0; in hfi1_user_sdma_process_request()
731 req->iov_idx < req->data_iovs - 1)) { in user_sdma_txadd()
733 iovec = &req->iovs[++req->iov_idx]; in user_sdma_txadd()
807 iovec = &req->iovs[req->iov_idx]; in user_sdma_send_pkts()
809 if (++req->iov_idx == req->data_iovs) { in user_sdma_send_pkts()
813 iovec = &req->iovs[req->iov_idx]; in user_sdma_send_pkts()