Searched refs:smb_msg (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/fs/cifs/ |
D | transport.c | 194 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument 203 smb_msg->msg_name = (struct sockaddr *) &server->dstaddr; in smb_send_kvec() 204 smb_msg->msg_namelen = sizeof(struct sockaddr); in smb_send_kvec() 205 smb_msg->msg_control = NULL; in smb_send_kvec() 206 smb_msg->msg_controllen = 0; in smb_send_kvec() 208 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec() 210 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec() 212 while (msg_data_left(smb_msg)) { in smb_send_kvec() 231 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec() 318 struct msghdr smb_msg; in __smb_send_rqst() local [all …]
|
D | connect.c | 763 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument 768 smb_msg->msg_control = NULL; in cifs_readv_from_socket() 769 smb_msg->msg_controllen = 0; in cifs_readv_from_socket() 771 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 783 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket() 785 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket() 821 struct msghdr smb_msg; in cifs_read_from_socket() local 823 iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); in cifs_read_from_socket() 825 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket() 832 struct msghdr smb_msg; in cifs_read_page_from_socket() local [all …]
|