Searched refs:smb_msg (Results 1 – 2 of 2) sorted by relevance
/fs/cifs/ |
D | transport.c | 203 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument 213 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec() 215 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec() 217 while (msg_data_left(smb_msg)) { in smb_send_kvec() 236 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec() 323 struct msghdr smb_msg = {}; in __smb_send_rqst() local 371 iov_iter_kvec(&smb_msg.msg_iter, WRITE, &hiov, 1, 4); in __smb_send_rqst() 372 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() 392 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst() 394 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() [all …]
|
D | connect.c | 790 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument 795 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 807 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket() 809 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket() 845 struct msghdr smb_msg = {}; in cifs_read_from_socket() local 847 iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); in cifs_read_from_socket() 849 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket() 856 struct msghdr smb_msg = {}; in cifs_read_page_from_socket() local 859 iov_iter_bvec(&smb_msg.msg_iter, READ, &bv, 1, to_read); in cifs_read_page_from_socket() 860 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_page_from_socket()
|