Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dsess.c1153 struct sess_data { struct
1158 void (*func)(struct sess_data *); argument
1174 sess_alloc_buffer(struct sess_data *sess_data, int wct) in sess_alloc_buffer() argument
1177 struct cifs_ses *ses = sess_data->ses; in sess_alloc_buffer()
1186 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
1187 sess_data->iov[0].iov_len = be32_to_cpu(smb_buf->smb_buf_length) + 4; in sess_alloc_buffer()
1192 sess_data->buf0_type = CIFS_SMALL_BUFFER; in sess_alloc_buffer()
1195 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
1196 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
1205 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
[all …]
Dsmb2pdu.c1275 SMB2_sess_alloc_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_alloc_buffer() argument
1278 struct cifs_ses *ses = sess_data->ses; in SMB2_sess_alloc_buffer()
1279 struct TCP_Server_Info *server = sess_data->server; in SMB2_sess_alloc_buffer()
1307 req->PreviousSessionId = cpu_to_le64(sess_data->previous_session); in SMB2_sess_alloc_buffer()
1310 sess_data->previous_session); in SMB2_sess_alloc_buffer()
1332 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1334 sess_data->iov[0].iov_len = total_len - 1; in SMB2_sess_alloc_buffer()
1339 sess_data->buf0_type = CIFS_SMALL_BUFFER; in SMB2_sess_alloc_buffer()
1345 SMB2_sess_free_buffer(struct SMB2_sess_data *sess_data) in SMB2_sess_free_buffer() argument
1347 struct kvec *iov = sess_data->iov; in SMB2_sess_free_buffer()
[all …]
/linux-6.1.9/drivers/platform/chrome/wilco_ec/
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->request, 0, sizeof(sess_data->request)); in telem_write()
275 if (copy_from_user(&sess_data->request, buf, count)) in telem_write()
[all …]