Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ksmbd/
Dauth.h54 int n_vec, char *sig);
56 int n_vec, char *sig);
Dauth.c536 int n_vec, char *sig) in ksmbd_sign_smb2_pdu() argument
559 for (i = 0; i < n_vec; i++) { in ksmbd_sign_smb2_pdu()
587 int n_vec, char *sig) in ksmbd_sign_smb3_pdu() argument
610 for (i = 0; i < n_vec; i++) { in ksmbd_sign_smb3_pdu()
Dsmb2pdu.c8215 int n_vec = 1; in smb2_set_sign_rsp() local
8246 n_vec++; in smb2_set_sign_rsp()
8249 if (!ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, n_vec, in smb2_set_sign_rsp()
8326 int n_vec = 1; in smb3_set_sign_rsp() local
8369 n_vec++; in smb3_set_sign_rsp()
8372 if (!ksmbd_sign_smb3_pdu(conn, signing_key, iov, n_vec, signature)) in smb3_set_sign_rsp()
/Linux-v5.15/fs/cifs/
Dtransport.c308 int n_vec; in __smb_send_rqst() local
369 n_vec = rqst[j].rq_nvec; in __smb_send_rqst()
372 for (i = 0; i < n_vec; i++) { in __smb_send_rqst()
377 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst()
1293 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1300 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) { in SendReceive2()
1301 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()
1312 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1321 rqst.rq_nvec = n_vec + 1; in SendReceive2()
1325 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) in SendReceive2()
Dcifsencrypt.c34 int n_vec = rqst->rq_nvec; in __cifs_calc_signature() local
43 if (n_vec < 2 || iov[0].iov_len != 4) in __cifs_calc_signature()
48 for (; i < n_vec; i++) { in __cifs_calc_signature()
169 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() argument
173 .rq_nvec = n_vec }; in cifs_sign_smbv()
Dsmbdirect.c39 struct kvec *iov, int n_vec, int remaining_data_length);
1015 struct smbd_connection *info, struct kvec *iov, int n_vec, in smbd_post_send_data() argument
1022 if (n_vec > SMBDIRECT_MAX_SGE) { in smbd_post_send_data()
1023 cifs_dbg(VFS, "Can't fit data to SGL, n_vec=%d\n", n_vec); in smbd_post_send_data()
1027 sg_init_table(sgl, n_vec); in smbd_post_send_data()
1028 for (i = 0; i < n_vec; i++) { in smbd_post_send_data()
Dsmb2proto.h203 unsigned int *nbytes, struct kvec *iov, int n_vec);
Dcifsproto.h497 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
Dsmb2pdu.c4453 unsigned int *nbytes, struct kvec *iov, int n_vec) in SMB2_write() argument
4467 if (n_vec < 1) in SMB2_write()
4507 rqst.rq_nvec = n_vec + 1; in SMB2_write()
Dcifssmb.c2173 unsigned int *nbytes, struct kvec *iov, int n_vec) in CIFSSMBWrite2() argument
2244 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0, in CIFSSMBWrite2()