Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dsess.c556 struct sess_data { struct
560 void (*func)(struct sess_data *); argument
575 sess_alloc_buffer(struct sess_data *sess_data, int wct) in sess_alloc_buffer() argument
578 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
587 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
588 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
593 sess_data->buf0_type = CIFS_SMALL_BUFFER; in sess_alloc_buffer()
596 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
597 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
606 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
[all …]
Dsmb2pdu.c970 SMB2_sess_alloc_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_alloc_buffer() argument
973 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
987 req->PreviousSessionId = sess_data->previous_session; in SMB2_sess_alloc_buffer()
1005 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1007 sess_data->iov[0].iov_len = total_len - 1; in SMB2_sess_alloc_buffer()
1012 sess_data->buf0_type = CIFS_SMALL_BUFFER; in SMB2_sess_alloc_buffer()
1018 SMB2_sess_free_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_free_buffer() argument
1020 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in SMB2_sess_free_buffer()
1021 sess_data->buf0_type = CIFS_NO_BUFFER; in SMB2_sess_free_buffer()
1025 SMB2_sess_sendreceive(struct SMB2_sess_data *sess_data) in SMB2_sess_sendreceive() argument
[all …]