Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/client/
Dtransport.c191 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument
201 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec()
203 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec()
205 while (msg_data_left(smb_msg)) { in smb_send_kvec()
224 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec()
292 struct msghdr smb_msg = {}; in __smb_send_rqst() local
338 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, &hiov, 1, 4); in __smb_send_rqst()
339 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst()
359 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, iov, n_vec, size); in __smb_send_rqst()
361 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst()
[all …]
Dconnect.c657 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument
662 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
674 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket()
676 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket()
717 struct msghdr smb_msg = {}; in cifs_read_from_socket() local
719 iov_iter_kvec(&smb_msg.msg_iter, ITER_DEST, &iov, 1, to_read); in cifs_read_from_socket()
721 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket()
727 struct msghdr smb_msg = {}; in cifs_discard_from_socket() local
734 iov_iter_discard(&smb_msg.msg_iter, ITER_DEST, to_read); in cifs_discard_from_socket()
736 return cifs_readv_from_socket(server, &smb_msg); in cifs_discard_from_socket()
[all …]
/Linux-v6.6/fs/smb/server/
Dtransport_tcp.c387 struct msghdr smb_msg = {.msg_flags = MSG_NOSIGNAL}; in ksmbd_tcp_writev() local
389 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size); in ksmbd_tcp_writev()