Home
last modified time | relevance | path

Searched refs:n_vec (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c317 int n_vec; in __smb_send_rqst() local
378 n_vec = rqst[j].rq_nvec; in __smb_send_rqst()
381 for (i = 0; i < n_vec; i++) { in __smb_send_rqst()
386 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst()
1260 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1267 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) { in SendReceive2()
1268 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()
1279 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1288 rqst.rq_nvec = n_vec + 1; in SendReceive2()
1292 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) in SendReceive2()
Dcifsencrypt.c47 int n_vec = rqst->rq_nvec; in __cifs_calc_signature() local
56 if (n_vec < 2 || iov[0].iov_len != 4) in __cifs_calc_signature()
61 for (; i < n_vec; i++) { in __cifs_calc_signature()
182 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() argument
186 .rq_nvec = n_vec }; in cifs_sign_smbv()
Dsmbdirect.c39 struct kvec *iov, int n_vec, int remaining_data_length);
1004 struct smbd_connection *info, struct kvec *iov, int n_vec, in smbd_post_send_data() argument
1011 if (n_vec > SMBDIRECT_MAX_SGE) { in smbd_post_send_data()
1012 cifs_dbg(VFS, "Can't fit data to SGL, n_vec=%d\n", n_vec); in smbd_post_send_data()
1016 sg_init_table(sgl, n_vec); in smbd_post_send_data()
1017 for (i = 0; i < n_vec; i++) { in smbd_post_send_data()
Dsmb2proto.h214 unsigned int *nbytes, struct kvec *iov, int n_vec);
Dcifsproto.h490 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
Dsmb2pdu.c4392 unsigned int *nbytes, struct kvec *iov, int n_vec) in SMB2_write() argument
4406 if (n_vec < 1) in SMB2_write()
4446 rqst.rq_nvec = n_vec + 1; in SMB2_write()
Dcifssmb.c2285 unsigned int *nbytes, struct kvec *iov, int n_vec) in CIFSSMBWrite2() argument
2356 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0, in CIFSSMBWrite2()