/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mgmt.c | 254 struct hinic_recv_msg *recv_msg; in msg_to_mgmt_sync() local 264 recv_done = &recv_msg->recv_done; in msg_to_mgmt_sync() 298 memcpy(buf_out, recv_msg->msg, recv_msg->msg_len); in msg_to_mgmt_sync() 299 *out_size = recv_msg->msg_len; in msg_to_mgmt_sync() 448 if (recv_msg->msg_len) { in mgmt_recv_msg_handler() 458 memcpy(mgmt_work->msg, recv_msg->msg, recv_msg->msg_len); in mgmt_recv_msg_handler() 460 mgmt_work->mod = recv_msg->mod; in mgmt_recv_msg_handler() 461 mgmt_work->cmd = recv_msg->cmd; in mgmt_recv_msg_handler() 478 complete(&recv_msg->recv_done); in mgmt_resp_msg_handler() 557 if (!recv_msg->msg) in alloc_recv_msg() [all …]
|
/linux/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 1067 intf->seq_table[i].recv_msg = recv_msg; in intf_next_seq() 2099 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_ipmb() 2269 recv_msg->msg.data = recv_msg->msg_data; in i_ipmi_req_lan() 3863 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_rsp() 3969 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_get_msg_cmd() 4061 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_direct_rcv_cmd() 4100 recv_msg->msg.data = recv_msg->msg_data; in handle_ipmb_direct_rcv_rsp() 4163 recv_msg->msg.data = recv_msg->msg_data; in handle_lan_get_msg_rsp() 4388 recv_msg->msg.data = recv_msg->msg_data; in copy_event_into_recv_msg() 4517 recv_msg->msg.data = recv_msg->msg_data; in handle_bmc_rsp() [all …]
|
H A D | ipmi_watchdog.c | 358 static struct ipmi_recv_msg recv_msg = INIT_IPMI_RECV_MSG(msg_free_recv); variable 361 struct ipmi_recv_msg *recv_msg, in __ipmi_set_timeout() argument 414 recv_msg, in __ipmi_set_timeout() 435 &recv_msg, in _ipmi_set_timeout() 578 &recv_msg, in __ipmi_heartbeat() 589 if (recv_msg.msg.data[0] == IPMI_WDOG_TIMER_NOT_INIT_RESP) { in __ipmi_heartbeat() 613 } else if (recv_msg.msg.data[0] != 0) { in __ipmi_heartbeat()
|
H A D | ipmi_poweroff.c | 105 static void receive_handler(struct ipmi_recv_msg *recv_msg, void *handler_data) in receive_handler() argument 107 struct completion *comp = recv_msg->user_msg_data; in receive_handler()
|
/linux/drivers/hid/intel-ish-hid/ |
H A D | ishtp-hid-client.c | 40 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet() local 51 ((unsigned char *)recv_msg)[0], ((unsigned char *)recv_msg)[1], in report_bad_packet() 52 ((unsigned char *)recv_msg)[2], ((unsigned char *)recv_msg)[3], in report_bad_packet() 54 recv_msg->hdr.command & ~CMD_MASK); in report_bad_packet() 69 struct hostif_msg *recv_msg; in process_recv() local 99 payload_len = recv_msg->hdr.size; in process_recv() 114 switch (recv_msg->hdr.command & CMD_MASK) { in process_recv() 224 if (recv_msg->hdr.device_id == in process_recv() 256 if (recv_msg->hdr.device_id == in process_recv() 270 if (recv_msg->hdr.device_id == in process_recv() [all …]
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | loader.c | 338 union loader_recv_message recv_msg; in ishtp_loader_work() local 370 rv = loader_xfer_cmd(dev, &query, sizeof(query), recv_msg.raw_data, in ishtp_loader_work() 376 recv_msg.query_ack.version_major, in ishtp_loader_work() 377 recv_msg.query_ack.version_minor, in ishtp_loader_work() 378 recv_msg.query_ack.version_hotfix, in ishtp_loader_work() 379 recv_msg.query_ack.version_build); in ishtp_loader_work() 383 recv_msg.raw_data, sizeof(struct loader_xfer_fragment_ack)); in ishtp_loader_work() 387 rv = loader_xfer_cmd(dev, &start, sizeof(start), recv_msg.raw_data, in ishtp_loader_work()
|
/linux/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 61 static int recv_msg(struct sockaddr_nl sock_addr, int sock) in recv_msg() function 300 nll = recv_msg(sa, sock); in get_route_table() 435 nll = recv_msg(sa, sock); in get_arp_table() 510 nll = recv_msg(lr, sock); in monitor_routes_thread() 523 nll = recv_msg(la, sock_arp); in monitor_routes_thread()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcp_hdr_options.c | 460 char recv_msg[sizeof(send_msg)]; in misc() local 487 ret = read(sk_fds.passive_fd, recv_msg, sizeof(recv_msg)); in misc()
|
/linux/tools/testing/selftests/net/ |
H A D | udpgso_bench_rx.c | 215 static int recv_msg(int fd, char *buf, int len, int *gso_size) in recv_msg() function 259 ret = recv_msg(fd, rbuf, len, &gso_size); in do_flush_udp()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen2_pfvf.c | 389 pfvf_ops->recv_msg = adf_gen2_vf2pf_recv; in adf_gen2_init_pf_pfvf_ops() 399 pfvf_ops->recv_msg = adf_gen2_pf2vf_recv; in adf_gen2_init_vf_pfvf_ops()
|
H A D | adf_gen4_pfvf.c | 143 pfvf_ops->recv_msg = adf_gen4_pfvf_recv; in adf_gen4_init_pf_pfvf_ops()
|
H A D | adf_pfvf_vf_proto.c | 55 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, accel_dev->vf.pf_compat_ver); in adf_recv_pf2vf_msg()
|
H A D | adf_pfvf_pf_proto.c | 56 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, vf_info->vf_compat_ver); in adf_recv_vf2pf_msg()
|
H A D | adf_accel_devices.h | 254 struct pfvf_message (*recv_msg)(struct adf_accel_dev *accel_dev, member
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdp_features.c | 339 static int recv_msg(int sockfd, void *buf, size_t bufsize, void *val, in recv_msg() function 390 err = recv_msg(ctrl_sockfd, buf, BUFSIZE, NULL, 0); in dut_run() 542 err = recv_msg(sockfd, buf, BUFSIZE, val, val_size); in send_and_recv_msg()
|
/linux/drivers/nvme/target/ |
H A D | tcp.c | 125 struct msghdr recv_msg; member 386 iov_iter_bvec(&cmd->recv_msg.msg_iter, ITER_DEST, cmd->iov, in nvmet_tcp_build_pdu_iovec() 1254 while (msg_data_left(&cmd->recv_msg)) { in nvmet_tcp_try_recv_data() 1255 len = sock_recvmsg(cmd->queue->sock, &cmd->recv_msg, in nvmet_tcp_try_recv_data() 1256 cmd->recv_msg.msg_flags); in nvmet_tcp_try_recv_data() 1261 &cmd->recv_msg, cmd->recv_cbuf); in nvmet_tcp_try_recv_data() 1489 c->recv_msg.msg_control = c->recv_cbuf; in nvmet_tcp_alloc_cmd() 1490 c->recv_msg.msg_controllen = sizeof(c->recv_cbuf); in nvmet_tcp_alloc_cmd() 1492 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera.h | 176 int (*recv_msg)(struct prestera_device *dev, void *msg, size_t size); member
|
H A D | prestera_pci.c | 344 if (fw->dev.recv_msg) in prestera_fw_evt_work_fn() 345 fw->dev.recv_msg(&fw->dev, msg, len); in prestera_fw_evt_work_fn()
|
H A D | prestera_hw.c | 1073 sw->dev->recv_msg = prestera_evt_recv; in prestera_hw_switch_init()
|
/linux/drivers/usb/typec/ |
H A D | anx7411.c | 278 struct fw_msg recv_msg; member 762 struct fw_msg *msg = &ctx->recv_msg; in anx7411_process_cmd()
|