Lines Matching refs:msg

301 	struct msghdr msg;  in afs_make_call()  local
361 msg.msg_name = NULL; in afs_make_call()
362 msg.msg_namelen = 0; in afs_make_call()
363 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, iov, 1, call->request_size); in afs_make_call()
364 msg.msg_control = NULL; in afs_make_call()
365 msg.msg_controllen = 0; in afs_make_call()
366 msg.msg_flags = MSG_WAITALL | (call->write_iter ? MSG_MORE : 0); in afs_make_call()
369 &msg, call->request_size, in afs_make_call()
375 msg.msg_iter = *call->write_iter; in afs_make_call()
376 msg.msg_flags &= ~MSG_MORE; in afs_make_call()
377 trace_afs_send_data(call, &msg); in afs_make_call()
380 call->rxcall, &msg, in afs_make_call()
381 iov_iter_count(&msg.msg_iter), in afs_make_call()
383 *call->write_iter = msg.msg_iter; in afs_make_call()
385 trace_afs_sent_data(call, &msg, ret); in afs_make_call()
405 iov_iter_kvec(&msg.msg_iter, ITER_DEST, NULL, 0, 0); in afs_make_call()
407 &msg.msg_iter, &len, false, in afs_make_call()
442 const char *msg; in afs_log_error() local
446 case RX_EOF: msg = "unexpected EOF"; break; in afs_log_error()
447 case RXGEN_CC_MARSHAL: msg = "client marshalling"; break; in afs_log_error()
448 case RXGEN_CC_UNMARSHAL: msg = "client unmarshalling"; break; in afs_log_error()
449 case RXGEN_SS_MARSHAL: msg = "server marshalling"; break; in afs_log_error()
450 case RXGEN_SS_UNMARSHAL: msg = "server unmarshalling"; break; in afs_log_error()
451 case RXGEN_DECODE: msg = "opcode decode"; break; in afs_log_error()
452 case RXGEN_SS_XDRFREE: msg = "server XDR cleanup"; break; in afs_log_error()
453 case RXGEN_CC_XDRFREE: msg = "client XDR cleanup"; break; in afs_log_error()
454 case -32: msg = "insufficient data"; break; in afs_log_error()
463 msg, call->type->name, in afs_log_error()
821 struct msghdr msg; in afs_send_empty_reply() local
827 msg.msg_name = NULL; in afs_send_empty_reply()
828 msg.msg_namelen = 0; in afs_send_empty_reply()
829 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, NULL, 0, 0); in afs_send_empty_reply()
830 msg.msg_control = NULL; in afs_send_empty_reply()
831 msg.msg_controllen = 0; in afs_send_empty_reply()
832 msg.msg_flags = 0; in afs_send_empty_reply()
834 switch (rxrpc_kernel_send_data(net->socket, call->rxcall, &msg, 0, in afs_send_empty_reply()
858 struct msghdr msg; in afs_send_simple_reply() local
868 msg.msg_name = NULL; in afs_send_simple_reply()
869 msg.msg_namelen = 0; in afs_send_simple_reply()
870 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, iov, 1, len); in afs_send_simple_reply()
871 msg.msg_control = NULL; in afs_send_simple_reply()
872 msg.msg_controllen = 0; in afs_send_simple_reply()
873 msg.msg_flags = 0; in afs_send_simple_reply()
875 n = rxrpc_kernel_send_data(net->socket, call->rxcall, &msg, len, in afs_send_simple_reply()