Searched refs:smb_msg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/fs/cifs/ |
D | transport.c | 162 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument 171 smb_msg->msg_name = (struct sockaddr *) &server->dstaddr; in smb_send_kvec() 172 smb_msg->msg_namelen = sizeof(struct sockaddr); in smb_send_kvec() 173 smb_msg->msg_control = NULL; in smb_send_kvec() 174 smb_msg->msg_controllen = 0; in smb_send_kvec() 176 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec() 178 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec() 180 while (msg_data_left(smb_msg)) { in smb_send_kvec() 199 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec() 285 struct msghdr smb_msg; in __smb_send_rqst() local [all …]
|
D | connect.c | 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 [all …]
|