Lines Matching refs:smb_msg
705 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
785 smb_msg.msg_name = NULL; in cifs_discard_from_socket()
786 smb_msg.msg_namelen = 0; in cifs_discard_from_socket()
787 iov_iter_discard(&smb_msg.msg_iter, READ, to_read); in cifs_discard_from_socket()
789 return cifs_readv_from_socket(server, &smb_msg); in cifs_discard_from_socket()
796 struct msghdr smb_msg; in cifs_read_page_from_socket() local
799 iov_iter_bvec(&smb_msg.msg_iter, READ, &bv, 1, to_read); in cifs_read_page_from_socket()
800 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_page_from_socket()