Lines Matching refs:smb_msg
537 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument
542 smb_msg->msg_control = NULL; in cifs_readv_from_socket()
543 smb_msg->msg_controllen = 0; in cifs_readv_from_socket()
545 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
551 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket()
553 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket()
589 struct msghdr smb_msg; in cifs_read_from_socket() local
591 iov_iter_kvec(&smb_msg.msg_iter, READ | ITER_KVEC, &iov, 1, to_read); in cifs_read_from_socket()
593 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket()
600 struct msghdr smb_msg; in cifs_read_page_from_socket() local
603 iov_iter_bvec(&smb_msg.msg_iter, READ | ITER_BVEC, &bv, 1, to_read); in cifs_read_page_from_socket()
604 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_page_from_socket()