Home
last modified time | relevance | path

Searched refs:recv_msg (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c254 struct hinic_recv_msg *recv_msg; in msg_to_mgmt_sync() local
263 recv_msg = &pf_to_mgmt->recv_resp_msg_from_mgmt; in msg_to_mgmt_sync()
264 recv_done = &recv_msg->recv_done; in msg_to_mgmt_sync()
291 if (recv_msg->msg_id != msg_id) { in msg_to_mgmt_sync()
297 if (buf_out && recv_msg->msg_len <= MAX_PF_MGMT_BUF_SIZE) { 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()
440 struct hinic_recv_msg *recv_msg) in mgmt_recv_msg_handler() argument
448 if (recv_msg->msg_len) { in mgmt_recv_msg_handler()
449 mgmt_work->msg = kzalloc(recv_msg->msg_len, GFP_KERNEL); in mgmt_recv_msg_handler()
[all …]
/drivers/char/ipmi/
Dipmi_msghandler.c252 struct ipmi_recv_msg *recv_msg; member
703 && (intf->seq_table[i].recv_msg)) in clean_up_interface_data()
704 ipmi_free_recv_msg(intf->seq_table[i].recv_msg); in clean_up_interface_data()
995 struct ipmi_recv_msg *recv_msg, in intf_next_seq() argument
1017 intf->seq_table[i].recv_msg = recv_msg; in intf_next_seq()
1054 struct ipmi_recv_msg **recv_msg) in intf_find_seq() argument
1064 struct ipmi_recv_msg *msg = intf->seq_table[seq].recv_msg; in intf_find_seq()
1069 *recv_msg = msg; in intf_find_seq()
1134 msg = ent->recv_msg; in intf_err_seq()
1307 && (intf->seq_table[i].recv_msg->user == user)) { in _ipmi_destroy_user()
[all …]
Dipmi_watchdog.c360 static struct ipmi_recv_msg recv_msg = { variable
365 struct ipmi_recv_msg *recv_msg, in __ipmi_set_timeout() argument
418 recv_msg, in __ipmi_set_timeout()
439 &recv_msg, in _ipmi_set_timeout()
586 &recv_msg, in __ipmi_heartbeat()
597 if (recv_msg.msg.data[0] == IPMI_WDOG_TIMER_NOT_INIT_RESP) { in __ipmi_heartbeat()
621 } else if (recv_msg.msg.data[0] != 0) { in __ipmi_heartbeat()
Dipmi_poweroff.c109 static void receive_handler(struct ipmi_recv_msg *recv_msg, void *handler_data) in receive_handler() argument
111 struct completion *comp = recv_msg->user_msg_data; in receive_handler()
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c37 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet() local
46 recv_msg->hdr.command, client_data->bad_recv_cnt, in report_bad_packet()
48 ((unsigned char *)recv_msg)[0], ((unsigned char *)recv_msg)[1], in report_bad_packet()
49 ((unsigned char *)recv_msg)[2], ((unsigned char *)recv_msg)[3], in report_bad_packet()
51 recv_msg->hdr.command & ~CMD_MASK); in report_bad_packet()
66 struct hostif_msg *recv_msg; in process_recv() local
95 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
96 payload_len = recv_msg->hdr.size; in process_recv()
102 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv()
109 __func__, recv_msg->hdr.command & CMD_MASK); in process_recv()
[all …]
/drivers/net/ethernet/marvell/prestera/
Dprestera.h107 int (*recv_msg)(struct prestera_device *dev, void *msg, size_t size); member
Dprestera_pci.c310 if (fw->dev.recv_msg) in prestera_fw_evt_work_fn()
311 fw->dev.recv_msg(&fw->dev, msg, len); in prestera_fw_evt_work_fn()
Dprestera_hw.c686 sw->dev->recv_msg = prestera_evt_recv; in prestera_hw_switch_init()
/drivers/nvme/target/
Dtcp.c82 struct msghdr recv_msg; member
337 iov_iter_kvec(&cmd->recv_msg.msg_iter, READ, cmd->iov, in nvmet_tcp_map_pdu_iovec()
1151 while (msg_data_left(&cmd->recv_msg)) { in nvmet_tcp_try_recv_data()
1152 ret = sock_recvmsg(cmd->queue->sock, &cmd->recv_msg, in nvmet_tcp_try_recv_data()
1153 cmd->recv_msg.msg_flags); in nvmet_tcp_try_recv_data()
1356 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()