Searched refs:smb_msg (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/smb/client/ |
D | transport.c | 183 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument 193 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec() 195 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec() 197 while (msg_data_left(smb_msg)) { in smb_send_kvec() 216 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec() 284 struct msghdr smb_msg = {}; in __smb_send_rqst() local 330 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, &hiov, 1, 4); in __smb_send_rqst() 331 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() 351 iov_iter_kvec(&smb_msg.msg_iter, ITER_SOURCE, iov, n_vec, size); in __smb_send_rqst() 353 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() [all …]
|
D | connect.c | 714 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument 719 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 731 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket() 733 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket() 774 struct msghdr smb_msg = {}; in cifs_read_from_socket() local 777 iov_iter_kvec(&smb_msg.msg_iter, ITER_DEST, &iov, 1, to_read); in cifs_read_from_socket() 779 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket() 785 struct msghdr smb_msg = {}; in cifs_discard_from_socket() local 792 iov_iter_discard(&smb_msg.msg_iter, ITER_DEST, to_read); in cifs_discard_from_socket() 794 return cifs_readv_from_socket(server, &smb_msg); in cifs_discard_from_socket() [all …]
|
/linux-6.12.1/fs/smb/server/ |
D | transport_tcp.c | 389 struct msghdr smb_msg = {.msg_flags = MSG_NOSIGNAL}; in ksmbd_tcp_writev() local 391 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size); in ksmbd_tcp_writev()
|