Searched refs:new_iov (Results 1 – 2 of 2) sorted by relevance
148 struct kvec *new_iov; in get_conn_iovec() local154 new_iov = kmalloc_array(nr_segs, sizeof(*new_iov), GFP_KERNEL); in get_conn_iovec()155 if (new_iov) { in get_conn_iovec()157 t->iov = new_iov; in get_conn_iovec()160 return new_iov; in get_conn_iovec()
1302 struct kvec s_iov[CIFS_MAX_IOV_SIZE], *new_iov; in SendReceive2() local1306 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()1308 if (!new_iov) { in SendReceive2()1314 new_iov = s_iov; in SendReceive2()1317 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()1319 new_iov[0].iov_base = new_iov[1].iov_base; in SendReceive2()1320 new_iov[0].iov_len = 4; in SendReceive2()1321 new_iov[1].iov_base += 4; in SendReceive2()1322 new_iov[1].iov_len -= 4; in SendReceive2()1325 rqst.rq_iov = new_iov; in SendReceive2()[all …]