Lines Matching refs:msg
273 static int afs_send_pages(struct afs_call *call, struct msghdr *msg, in afs_send_pages() argument
297 msg->msg_flags = 0; in afs_send_pages()
302 msg->msg_flags = MSG_MORE; in afs_send_pages()
308 offset, to, msg->msg_flags ? " [more]" : ""); in afs_send_pages()
309 iov_iter_kvec(&msg->msg_iter, WRITE | ITER_KVEC, in afs_send_pages()
317 ret = rxrpc_kernel_send_data(call->rxcall, msg, in afs_send_pages()
343 struct msghdr msg; in afs_make_call() local
385 msg.msg_name = NULL; in afs_make_call()
386 msg.msg_namelen = 0; in afs_make_call()
387 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, in afs_make_call()
389 msg.msg_control = NULL; in afs_make_call()
390 msg.msg_controllen = 0; in afs_make_call()
391 msg.msg_flags = (call->send_pages ? MSG_MORE : 0); in afs_make_call()
398 ret = rxrpc_kernel_send_data(rxcall, &msg, call->request_size); in afs_make_call()
403 ret = afs_send_pages(call, &msg, iov); in afs_make_call()
772 struct msghdr msg; in afs_send_empty_reply() local
776 msg.msg_name = NULL; in afs_send_empty_reply()
777 msg.msg_namelen = 0; in afs_send_empty_reply()
778 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, NULL, 0, 0); in afs_send_empty_reply()
779 msg.msg_control = NULL; in afs_send_empty_reply()
780 msg.msg_controllen = 0; in afs_send_empty_reply()
781 msg.msg_flags = 0; in afs_send_empty_reply()
784 switch (rxrpc_kernel_send_data(call->rxcall, &msg, 0)) { in afs_send_empty_reply()
804 struct msghdr msg; in afs_send_simple_reply() local
812 msg.msg_name = NULL; in afs_send_simple_reply()
813 msg.msg_namelen = 0; in afs_send_simple_reply()
814 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, len); in afs_send_simple_reply()
815 msg.msg_control = NULL; in afs_send_simple_reply()
816 msg.msg_controllen = 0; in afs_send_simple_reply()
817 msg.msg_flags = 0; in afs_send_simple_reply()
820 n = rxrpc_kernel_send_data(call->rxcall, &msg, len); in afs_send_simple_reply()