Home
last modified time | relevance | path

Searched refs:new_iov (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ksmbd/
A Dtransport_tcp.c146 struct kvec *new_iov; in get_conn_iovec() local
152 new_iov = kmalloc_array(nr_segs, sizeof(*new_iov), GFP_KERNEL); in get_conn_iovec()
153 if (new_iov) { in get_conn_iovec()
155 t->iov = new_iov; in get_conn_iovec()
158 return new_iov; in get_conn_iovec()
/linux/fs/cifs/
A Dtransport.c1300 struct kvec s_iov[CIFS_MAX_IOV_SIZE], *new_iov; in SendReceive2() local
1304 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()
1306 if (!new_iov) { in SendReceive2()
1312 new_iov = s_iov; in SendReceive2()
1315 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1317 new_iov[0].iov_base = new_iov[1].iov_base; in SendReceive2()
1318 new_iov[0].iov_len = 4; in SendReceive2()
1319 new_iov[1].iov_base += 4; in SendReceive2()
1320 new_iov[1].iov_len -= 4; in SendReceive2()
1323 rqst.rq_iov = new_iov; in SendReceive2()
[all …]

Completed in 8 milliseconds