Home
last modified time | relevance | path

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

/linux-5.19.10/fs/cifs/
Dtransport.c190 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument
199 smb_msg->msg_name = (struct sockaddr *) &server->dstaddr; in smb_send_kvec()
200 smb_msg->msg_namelen = sizeof(struct sockaddr); in smb_send_kvec()
201 smb_msg->msg_control = NULL; in smb_send_kvec()
202 smb_msg->msg_controllen = 0; in smb_send_kvec()
204 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec()
206 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec()
208 while (msg_data_left(smb_msg)) { in smb_send_kvec()
227 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec()
314 struct msghdr smb_msg; in __smb_send_rqst() local
[all …]
Dconnect.c705 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument
710 smb_msg->msg_control = NULL; in cifs_readv_from_socket()
711 smb_msg->msg_controllen = 0; in cifs_readv_from_socket()
713 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
725 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket()
727 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket()
768 struct msghdr smb_msg; in cifs_read_from_socket() local
770 iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); in cifs_read_from_socket()
772 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket()
778 struct msghdr smb_msg; in cifs_discard_from_socket() local
[all …]
/linux-5.19.10/fs/ksmbd/
Dtransport_tcp.c360 struct msghdr smb_msg = {.msg_flags = MSG_NOSIGNAL}; in ksmbd_tcp_writev() local
362 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size); in ksmbd_tcp_writev()