Searched refs:smb_msg (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | transport.c | 188 smb_send_kvec(struct TCP_Server_Info *server, struct msghdr *smb_msg, in smb_send_kvec() argument 198 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec() 200 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec() 202 while (msg_data_left(smb_msg)) { in smb_send_kvec() 221 rc = sock_sendmsg(ssocket, smb_msg); in smb_send_kvec() 308 struct msghdr smb_msg = {}; in __smb_send_rqst() local 350 iov_iter_kvec(&smb_msg.msg_iter, WRITE, &hiov, 1, 4); in __smb_send_rqst() 351 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() 371 iov_iter_kvec(&smb_msg.msg_iter, WRITE, iov, n_vec, size); in __smb_send_rqst() 373 rc = smb_send_kvec(server, &smb_msg, &sent); in __smb_send_rqst() [all …]
|
D | connect.c | 702 cifs_readv_from_socket(struct TCP_Server_Info *server, struct msghdr *smb_msg) in cifs_readv_from_socket() argument 707 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 719 length = smbd_recv(server->smbd_conn, smb_msg); in cifs_readv_from_socket() 721 length = sock_recvmsg(server->ssocket, smb_msg, 0); in cifs_readv_from_socket() 762 struct msghdr smb_msg = {}; in cifs_read_from_socket() local 764 iov_iter_kvec(&smb_msg.msg_iter, READ, &iov, 1, to_read); in cifs_read_from_socket() 766 return cifs_readv_from_socket(server, &smb_msg); in cifs_read_from_socket() 772 struct msghdr smb_msg = {}; in cifs_discard_from_socket() local 779 iov_iter_discard(&smb_msg.msg_iter, READ, to_read); in cifs_discard_from_socket() 781 return cifs_readv_from_socket(server, &smb_msg); in cifs_discard_from_socket() [all …]
|
/linux-6.1.9/fs/ksmbd/ |
D | transport_tcp.c | 376 struct msghdr smb_msg = {.msg_flags = MSG_NOSIGNAL}; in ksmbd_tcp_writev() local 378 return kernel_sendmsg(TCP_TRANS(t)->sock, &smb_msg, iov, nvecs, size); in ksmbd_tcp_writev()
|