Home
last modified time | relevance | path

Searched refs:sess_data (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dsess.c843 struct sess_data { struct
847 void (*func)(struct sess_data *);
862 sess_alloc_buffer(struct sess_data *sess_data, int wct) in sess_alloc_buffer() argument
865 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
874 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
875 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
880 sess_data->buf0_type = CIFS_SMALL_BUFFER; in sess_alloc_buffer()
883 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
884 if (!sess_data in sess_alloc_buffer()
900 sess_free_buffer(struct sess_data *sess_data) sess_free_buffer() argument
909 sess_establish_session(struct sess_data *sess_data) sess_establish_session() argument
941 sess_sendreceive(struct sess_data *sess_data) sess_sendreceive() argument
971 sess_auth_lanman(struct sess_data *sess_data) sess_auth_lanman() argument
1077 sess_auth_ntlm(struct sess_data *sess_data) sess_auth_ntlm() argument
1187 sess_auth_ntlmv2(struct sess_data *sess_data) sess_auth_ntlmv2() argument
1296 sess_auth_kerberos(struct sess_data *sess_data) sess_auth_kerberos() argument
1439 _sess_auth_rawntlmssp_assemble_req(struct sess_data *sess_data) _sess_auth_rawntlmssp_assemble_req() argument
1476 sess_auth_rawntlmssp_negotiate(struct sess_data *sess_data) sess_auth_rawntlmssp_negotiate() argument
1572 sess_auth_rawntlmssp_authenticate(struct sess_data *sess_data) sess_auth_rawntlmssp_authenticate() argument
1678 select_sec(struct cifs_ses *ses, struct sess_data *sess_data) select_sec() argument
1731 struct sess_data *sess_data; CIFS_SessSetup() local
[all...]
H A Dsmb2pdu.c1186 SMB2_sess_alloc_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_alloc_buffer() argument
1189 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1200 if (sess_data->ses->binding) { in SMB2_sess_alloc_buffer()
1201 req->sync_hdr.SessionId = sess_data->ses->Suid; in SMB2_sess_alloc_buffer()
1212 req->PreviousSessionId = sess_data->previous_session; in SMB2_sess_alloc_buffer()
1235 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1237 sess_data->iov[0].iov_len = total_len - 1; in SMB2_sess_alloc_buffer()
1242 sess_data->buf0_type = CIFS_SMALL_BUFFER; in SMB2_sess_alloc_buffer()
1248 SMB2_sess_free_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_free_buffer() argument
1250 free_rsp_buf(sess_data in SMB2_sess_free_buffer()
1255 SMB2_sess_sendreceive(struct SMB2_sess_data *sess_data) SMB2_sess_sendreceive() argument
1284 SMB2_sess_establish_session(struct SMB2_sess_data *sess_data) SMB2_sess_establish_session() argument
1320 SMB2_auth_kerberos(struct SMB2_sess_data *sess_data) SMB2_auth_kerberos() argument
1391 SMB2_auth_kerberos(struct SMB2_sess_data *sess_data) SMB2_auth_kerberos() argument
1403 SMB2_sess_auth_rawntlmssp_negotiate(struct SMB2_sess_data *sess_data) SMB2_sess_auth_rawntlmssp_negotiate() argument
1494 SMB2_sess_auth_rawntlmssp_authenticate(struct SMB2_sess_data *sess_data) SMB2_sess_auth_rawntlmssp_authenticate() argument
1565 SMB2_select_sec(struct cifs_ses *ses, struct SMB2_sess_data *sess_data) SMB2_select_sec() argument
1597 struct SMB2_sess_data *sess_data; SMB2_sess_setup() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsess.c1329 struct sess_data { struct
1334 void (*func)(struct sess_data *);
1350 sess_alloc_buffer(struct sess_data *sess_data, int wct) in sess_alloc_buffer() argument
1353 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
1362 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
1363 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1368 sess_data->buf0_type = CIFS_SMALL_BUFFER; in sess_alloc_buffer()
1371 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
1372 if (!sess_data in sess_alloc_buffer()
1388 sess_free_buffer(struct sess_data *sess_data) sess_free_buffer() argument
1405 sess_establish_session(struct sess_data *sess_data) sess_establish_session() argument
1433 sess_sendreceive(struct sess_data *sess_data) sess_sendreceive() argument
1455 sess_auth_ntlmv2(struct sess_data *sess_data) sess_auth_ntlmv2() argument
1565 sess_auth_kerberos(struct sess_data *sess_data) sess_auth_kerberos() argument
1709 _sess_auth_rawntlmssp_assemble_req(struct sess_data *sess_data) _sess_auth_rawntlmssp_assemble_req() argument
1747 sess_auth_rawntlmssp_negotiate(struct sess_data *sess_data) sess_auth_rawntlmssp_negotiate() argument
1853 sess_auth_rawntlmssp_authenticate(struct sess_data *sess_data) sess_auth_rawntlmssp_authenticate() argument
1961 select_sec(struct sess_data *sess_data) select_sec() argument
2002 struct sess_data *sess_data; CIFS_SessSetup() local
[all...]
H A Dsmb2pdu.c1428 SMB2_sess_alloc_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_alloc_buffer() argument
1431 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1432 struct TCP_Server_Info *server = sess_data->server; in SMB2_sess_alloc_buffer()
1460 req->PreviousSessionId = cpu_to_le64(sess_data->previous_session); in SMB2_sess_alloc_buffer()
1463 sess_data->previous_session); in SMB2_sess_alloc_buffer()
1490 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1492 sess_data->iov[0].iov_len = total_len - 1; in SMB2_sess_alloc_buffer()
1497 sess_data->buf0_type = CIFS_SMALL_BUFFER; in SMB2_sess_alloc_buffer()
1503 SMB2_sess_free_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_free_buffer() argument
1505 struct kvec *iov = sess_data in SMB2_sess_free_buffer()
1516 SMB2_sess_sendreceive(struct SMB2_sess_data *sess_data) SMB2_sess_sendreceive() argument
1550 SMB2_sess_establish_session(struct SMB2_sess_data *sess_data) SMB2_sess_establish_session() argument
1578 SMB2_auth_kerberos(struct SMB2_sess_data *sess_data) SMB2_auth_kerberos() argument
1661 SMB2_auth_kerberos(struct SMB2_sess_data *sess_data) SMB2_auth_kerberos() argument
1673 SMB2_sess_auth_rawntlmssp_negotiate(struct SMB2_sess_data *sess_data) SMB2_sess_auth_rawntlmssp_negotiate() argument
1765 SMB2_sess_auth_rawntlmssp_authenticate(struct SMB2_sess_data *sess_data) SMB2_sess_auth_rawntlmssp_authenticate() argument
1843 SMB2_select_sec(struct SMB2_sess_data *sess_data) SMB2_select_sec() argument
1877 struct SMB2_sess_data *sess_data; SMB2_sess_setup() local
[all...]
/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c242 struct telem_session_data *sess_data; in telem_open() local
251 sess_data = kzalloc(sizeof(*sess_data), GFP_KERNEL); in telem_open()
252 if (!sess_data) { in telem_open()
256 sess_data->dev_data = dev_data; in telem_open()
257 sess_data->has_msg = false; in telem_open()
260 filp->private_data = sess_data; in telem_open()
268 struct telem_session_data *sess_data = filp->private_data; in telem_write() local
272 if (count > sizeof(sess_data->request)) in telem_write()
274 memset(&sess_data in telem_write()
302 struct telem_session_data *sess_data = filp->private_data; telem_read() local
319 struct telem_session_data *sess_data = filp->private_data; telem_release() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c241 struct telem_session_data *sess_data; in telem_open() local
250 sess_data = kzalloc(sizeof(*sess_data), GFP_KERNEL); in telem_open()
251 if (!sess_data) { in telem_open()
255 sess_data->dev_data = dev_data; in telem_open()
256 sess_data->has_msg = false; in telem_open()
259 filp->private_data = sess_data; in telem_open()
267 struct telem_session_data *sess_data = filp->private_data; in telem_write() local
271 if (count > sizeof(sess_data->request)) in telem_write()
273 memset(&sess_data in telem_write()
301 struct telem_session_data *sess_data = filp->private_data; telem_read() local
318 struct telem_session_data *sess_data = filp->private_data; telem_release() local
[all...]

Completed in 13 milliseconds