Home
last modified time | relevance | path

Searched refs:sess_data (Results 1 – 3 of 3) sorted by relevance

/linux/fs/smb/client/
H A Dsmb1session.c19 struct sess_data { struct
24 void (*func)(struct sess_data *); argument
312 sess_alloc_buffer(struct sess_data *sess_data, int wct) in sess_alloc_buffer() argument
315 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
324 sess_data->in_len = rc; in sess_alloc_buffer()
325 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
326 sess_data->iov[0].iov_len = sess_data->in_len; in sess_alloc_buffer()
331 sess_data->buf0_type = CIFS_SMALL_BUFFER; in sess_alloc_buffer()
334 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
335 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
[all …]
H A Dsmb2pdu.c1524 SMB2_sess_alloc_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_alloc_buffer() argument
1527 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1528 struct TCP_Server_Info *server = sess_data->server; in SMB2_sess_alloc_buffer()
1556 req->PreviousSessionId = cpu_to_le64(sess_data->previous_session); in SMB2_sess_alloc_buffer()
1559 sess_data->previous_session); in SMB2_sess_alloc_buffer()
1586 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1588 sess_data->iov[0].iov_len = total_len - 1; in SMB2_sess_alloc_buffer()
1593 sess_data->buf0_type = CIFS_SMALL_BUFFER; in SMB2_sess_alloc_buffer()
1599 SMB2_sess_free_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_free_buffer() argument
1601 struct kvec *iov = sess_data in SMB2_sess_free_buffer()
1612 SMB2_sess_sendreceive(struct SMB2_sess_data * sess_data) SMB2_sess_sendreceive() argument
1652 SMB2_sess_establish_session(struct SMB2_sess_data * sess_data) SMB2_sess_establish_session() argument
1680 SMB2_auth_kerberos(struct SMB2_sess_data * sess_data) SMB2_auth_kerberos() argument
1759 SMB2_auth_kerberos(struct SMB2_sess_data * sess_data) SMB2_auth_kerberos() argument
1771 SMB2_sess_auth_rawntlmssp_negotiate(struct SMB2_sess_data * sess_data) SMB2_sess_auth_rawntlmssp_negotiate() argument
1863 SMB2_sess_auth_rawntlmssp_authenticate(struct SMB2_sess_data * sess_data) SMB2_sess_auth_rawntlmssp_authenticate() argument
1941 SMB2_select_sec(struct SMB2_sess_data * sess_data) SMB2_select_sec() argument
1975 struct SMB2_sess_data *sess_data; SMB2_sess_setup() local
[all...]
/linux/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c242 struct telem_session_data *sess_data; in telem_open() local
251 sess_data = kzalloc_obj(*sess_data); 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->request, 0, sizeof(sess_data->request)); in telem_write()
275 if (copy_from_user(&sess_data->request, buf, count)) in telem_write()
[all …]