Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
451 if (recv_msg->msg_len) { in mgmt_recv_msg_handler()
452 mgmt_work->msg = kzalloc(recv_msg->msg_len, GFP_KERNEL); in mgmt_recv_msg_handler()
[all …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_msghandler.c264 struct ipmi_recv_msg *recv_msg; member
715 && (intf->seq_table[i].recv_msg)) in clean_up_interface_data()
716 ipmi_free_recv_msg(intf->seq_table[i].recv_msg); in clean_up_interface_data()
1006 struct ipmi_recv_msg *recv_msg, in intf_next_seq() argument
1028 intf->seq_table[i].recv_msg = recv_msg; in intf_next_seq()
1065 struct ipmi_recv_msg **recv_msg) in intf_find_seq() argument
1075 struct ipmi_recv_msg *msg = intf->seq_table[seq].recv_msg; in intf_find_seq()
1080 *recv_msg = msg; in intf_find_seq()
1145 msg = ent->recv_msg; in intf_err_seq()
1317 && (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()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c32 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet() local
41 recv_msg->hdr.command, client_data->bad_recv_cnt, in report_bad_packet()
43 ((unsigned char *)recv_msg)[0], ((unsigned char *)recv_msg)[1], in report_bad_packet()
44 ((unsigned char *)recv_msg)[2], ((unsigned char *)recv_msg)[3], in report_bad_packet()
46 recv_msg->hdr.command & ~CMD_MASK); in report_bad_packet()
61 struct hostif_msg *recv_msg; in process_recv() local
90 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
91 payload_len = recv_msg->hdr.size; in process_recv()
97 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv()
104 __func__, recv_msg->hdr.command & CMD_MASK); in process_recv()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_router_ipv4_user.c92 static int recv_msg(struct sockaddr_nl sock_addr, int sock) in recv_msg() function
361 nll = recv_msg(sa, sock); in get_route_table()
499 nll = recv_msg(sa, sock); in get_arp_table()
586 nll = recv_msg(lr, sock); in monitor_route()
599 nll = recv_msg(la, sock_arp); in monitor_route()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_rx.c215 static int recv_msg(int fd, char *buf, int len, int *gso_size) in recv_msg() function
261 ret = recv_msg(fd, rbuf, len, &gso_size); in do_flush_udp()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dtcp_hdr_options.c500 char recv_msg[sizeof(send_msg)]; in misc() local
529 ret = read(sk_fds.passive_fd, recv_msg, sizeof(recv_msg)); in misc()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera.h95 int (*recv_msg)(struct prestera_device *dev, void *msg, size_t size); member
Dprestera_pci.c288 if (fw->dev.recv_msg) in prestera_fw_evt_work_fn()
289 fw->dev.recv_msg(&fw->dev, msg, len); in prestera_fw_evt_work_fn()
Dprestera_hw.c528 sw->dev->recv_msg = prestera_evt_recv; in prestera_hw_switch_init()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtcp.c71 struct msghdr recv_msg; member
324 iov_iter_kvec(&cmd->recv_msg.msg_iter, READ, cmd->iov, in nvmet_tcp_map_pdu_iovec()
1121 while (msg_data_left(&cmd->recv_msg)) { in nvmet_tcp_try_recv_data()
1122 ret = sock_recvmsg(cmd->queue->sock, &cmd->recv_msg, in nvmet_tcp_try_recv_data()
1123 cmd->recv_msg.msg_flags); in nvmet_tcp_try_recv_data()
1308 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()