Home
last modified time | relevance | path

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

/Linux-v5.10/fs/cifs/
Dtransport.c321 int n_vec; in __smb_send_rqst() local
382 n_vec = rqst[j].rq_nvec; in __smb_send_rqst()
385 for (i = 0; i < n_vec; i++) { in __smb_send_rqst()
390 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst()
1247 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1254 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) { in SendReceive2()
1255 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()
1266 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1275 rqst.rq_nvec = n_vec + 1; in SendReceive2()
1279 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.h488 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
Dsmb2pdu.c4374 unsigned int *nbytes, struct kvec *iov, int n_vec) in SMB2_write() argument
4388 if (n_vec < 1) in SMB2_write()
4428 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()