Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dauth.h56 int n_vec, char *sig);
58 int n_vec, char *sig);
Dauth.c570 int n_vec, char *sig) in ksmbd_sign_smb2_pdu() argument
593 for (i = 0; i < n_vec; i++) { in ksmbd_sign_smb2_pdu()
621 int n_vec, char *sig) in ksmbd_sign_smb3_pdu() argument
644 for (i = 0; i < n_vec; i++) { in ksmbd_sign_smb3_pdu()
Dsmb2pdu.c8334 int n_vec = 1; in smb2_set_sign_rsp() local
8366 n_vec++; in smb2_set_sign_rsp()
8369 if (!ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, n_vec, in smb2_set_sign_rsp()
8449 int n_vec = 1; in smb3_set_sign_rsp() local
8497 n_vec++; in smb3_set_sign_rsp()
8500 if (!ksmbd_sign_smb3_pdu(conn, signing_key, iov, n_vec, signature)) in smb3_set_sign_rsp()
/linux-6.1.9/fs/cifs/
Dcifsencrypt.c34 int n_vec = rqst->rq_nvec; in __cifs_calc_signature() local
42 if (n_vec < 2 || iov[0].iov_len != 4) in __cifs_calc_signature()
47 for (; i < n_vec; i++) { in __cifs_calc_signature()
170 int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, in cifs_sign_smbv() argument
174 .rq_nvec = n_vec }; in cifs_sign_smbv()
Dtransport.c302 int n_vec; in __smb_send_rqst() local
363 n_vec = rqst[j].rq_nvec; in __smb_send_rqst()
366 for (i = 0; i < n_vec; i++) { in __smb_send_rqst()
371 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst()
1298 struct kvec *iov, int n_vec, int *resp_buf_type /* ret */, in SendReceive2() argument
1305 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) { in SendReceive2()
1306 new_iov = kmalloc_array(n_vec + 1, sizeof(struct kvec), in SendReceive2()
1317 memcpy(new_iov + 1, iov, (sizeof(struct kvec) * n_vec)); in SendReceive2()
1326 rqst.rq_nvec = n_vec + 1; in SendReceive2()
1330 if (n_vec + 1 > CIFS_MAX_IOV_SIZE) in SendReceive2()
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_SEND_SGE - 1) { 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.h193 unsigned int *nbytes, struct kvec *iov, int n_vec);
Dcifsproto.h505 extern int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *,
Dsmb2pdu.c4632 unsigned int *nbytes, struct kvec *iov, int n_vec) in SMB2_write() argument
4646 if (n_vec < 1) in SMB2_write()
4686 rqst.rq_nvec = n_vec + 1; in SMB2_write()
Dcifssmb.c1780 unsigned int *nbytes, struct kvec *iov, int n_vec) in CIFSSMBWrite2() argument
1851 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0, in CIFSSMBWrite2()