Lines Matching refs:smb_msg
609 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument
614 smb_msg->msg_control = NULL; in cifs_readv_from_socket()
615 smb_msg->msg_controllen = 0; in cifs_readv_from_socket()
617 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
629 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket()
631 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket()
667 struct msghdr smb_msg; in cifs_read_from_socket() local
669 iov_iter_kvec(&smb_msg.msg_iter, READ | ITER_KVEC, &iov, 1, to_read); in cifs_read_from_socket()
671 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket()
678 struct msghdr smb_msg; in cifs_read_page_from_socket() local
681 iov_iter_bvec(&smb_msg.msg_iter, READ | ITER_BVEC, &bv, 1, to_read); in cifs_read_page_from_socket()
682 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_page_from_socket()