Home
last modified time | relevance | path

Searched refs:msg (Results 301 – 325 of 4110) sorted by relevance

1...<<11121314151617181920>>...165

/openbmc/linux/tools/accounting/
H A Dprocacct.c134 struct msgtemplate msg; in send_cmd() local
137 msg.n.nlmsg_type = nlmsg_type; in send_cmd()
138 msg.n.nlmsg_flags = NLM_F_REQUEST; in send_cmd()
139 msg.n.nlmsg_seq = 0; in send_cmd()
140 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd()
141 msg.g.cmd = genl_cmd; in send_cmd()
142 msg.g.version = 0x1; in send_cmd()
149 buf = (char *) &msg; in send_cmd()
150 buflen = msg.n.nlmsg_len; in send_cmd()
279 struct msgtemplate msg; in main() local
[all …]
/openbmc/linux/net/sunrpc/
H A Dsocklib.c210 iov_iter_advance(&msg->msg_iter, seek); in xprt_sendmsg()
211 return sock_sendmsg(sock, msg); in xprt_sendmsg()
218 return xprt_sendmsg(sock, msg, seek); in xprt_send_kvec()
248 return xprt_sendmsg(sock, msg, base); in xprt_send_rm_and_kvec()
278 msg->msg_flags |= MSG_MORE; in xprt_sock_sendmsg()
285 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
287 err = xprt_send_rm_and_kvec(sock, msg, marker, in xprt_sock_sendmsg()
304 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
305 err = xprt_send_pagedata(sock, msg, xdr, base); in xprt_sock_sendmsg()
316 msg->msg_flags &= ~MSG_MORE; in xprt_sock_sendmsg()
[all …]
/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp57 void validateMsgHdr(const struct msghdr* msg) in validateMsgHdr() argument
59 if (msg->msg_namelen != sizeof(sockaddr_nl)) in validateMsgHdr()
70 if (msg->msg_iovlen != 1) in validateMsgHdr()
235 return real_sendmsg(sockfd, msg, flags); in sendmsg()
239 validateMsgHdr(msg); in sendmsg()
273 return real_recvmsg(sockfd, msg, flags); in recvmsg()
277 validateMsgHdr(msg); in recvmsg()
282 msg->msg_iov[0].iov_len); in recvmsg()
295 const auto& msg = msgs.front(); in recvmsg() local
301 memcpy(data + ret, msg.data(), msg.size()); in recvmsg()
[all …]
/openbmc/linux/net/devlink/
H A Dport.c267 struct sk_buff *msg, in devlink_port_fn_hw_addr_fill() argument
489 genlmsg_end(msg, hdr); in devlink_nl_port_fill()
503 struct sk_buff *msg; in devlink_port_notify() local
512 if (!msg) in devlink_port_notify()
517 nlmsg_free(msg); in devlink_port_notify()
548 struct sk_buff *msg; in devlink_nl_port_get_doit() local
552 if (!msg) in devlink_nl_port_get_doit()
559 nlmsg_free(msg); in devlink_nl_port_get_doit()
842 struct sk_buff *msg; in devlink_nl_cmd_port_new_doit() local
880 if (!msg) { in devlink_nl_cmd_port_new_doit()
[all …]
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dtrace_rvt.h19 const char *msg),
20 TP_ARGS(rdi, msg),
23 __string(msg, msg)
27 __assign_str(msg, msg);
29 TP_printk("[%s]: %s", __get_str(dev), __get_str(msg))
/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py61 logger.console(msg="", newline=True)
65 logger.console(msg="", newline=True)
96 logger.console(msg="", newline=True)
130 logger.console(msg="", newline=True)
131 msg = (
141 logger.info(msg, also_console=True)
178 msg = (
190 logger.info(msg, also_console=True)
227 msg = (
285 msg = (
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_vf.c11 struct enetc_msg_swbd *msg) in enetc_msg_vsi_write_msg() argument
15 val = enetc_vsi_set_msize(msg->size) | lower_32_bits(msg->dma); in enetc_msg_vsi_write_msg()
16 enetc_wr(hw, ENETC_VSIMSGSNDAR1, upper_32_bits(msg->dma)); in enetc_msg_vsi_write_msg()
25 enetc_msg_vsi_write_msg(&si->hw, msg); in enetc_msg_vsi_send()
52 struct enetc_msg_swbd msg; in enetc_msg_vsi_set_primary_mac_addr() local
56 msg.vaddr = dma_alloc_coherent(priv->dev, msg.size, &msg.dma, in enetc_msg_vsi_set_primary_mac_addr()
58 if (!msg.vaddr) { in enetc_msg_vsi_set_primary_mac_addr()
60 msg.size); in enetc_msg_vsi_set_primary_mac_addr()
64 cmd = (struct enetc_msg_cmd_set_primary_mac *)msg.vaddr; in enetc_msg_vsi_set_primary_mac_addr()
70 err = enetc_msg_vsi_send(priv->si, &msg); in enetc_msg_vsi_set_primary_mac_addr()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.c56 struct msghdr msg = {0}; in do_send() local
68 msg.msg_iov = &iov; in do_send()
69 msg.msg_iovlen = 1; in do_send()
72 msg.msg_name = &addr; in do_send()
83 msg.msg_control = control; in do_send()
87 ret = sendmsg(fd, &msg, 0); in do_send()
101 struct msghdr msg = {0}; in do_recv() local
110 msg.msg_iov = &iov; in do_recv()
111 msg.msg_iovlen = 1; in do_recv()
114 msg.msg_control = control; in do_recv()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_spi.c1186 msg[1] = 2; in spi_populate_width_msg()
1188 msg[3] = width; in spi_populate_width_msg()
1196 msg[1] = 3; in spi_populate_sync_msg()
1208 msg[1] = 6; in spi_populate_ppr_msg()
1211 msg[4] = 0; in spi_populate_ppr_msg()
1280 int ptr = (msg[msb] << 24) | (msg[msb+1] << 16) | (msg[msb+2] << 8) | in print_ptr()
1281 msg[msb+3]; in print_ptr()
1336 msg[1]); in spi_print_msg()
1339 msg[0], msg[1]); in spi_print_msg()
1363 } else if ((msg[0] < 0x1f) || (msg[0] == 0x55)) { in spi_print_msg()
[all …]
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_trace.h44 const struct rndis_message *msg),
45 TP_ARGS(ndev, q, msg),
56 __entry->req_id = msg->msg.init_req.req_id;
67 const struct rndis_message *msg),
68 TP_ARGS(ndev, q, msg)
73 const struct rndis_message *msg),
74 TP_ARGS(ndev, q, msg)
117 const struct nvsp_message *msg),
118 TP_ARGS(ndev, msg),
160 const struct nvsp_message *msg),
[all …]
/openbmc/linux/include/net/iucv/
H A Diucv.h326 int iucv_message_purge(struct iucv_path *path, struct iucv_message *msg,
398 int iucv_message_reply(struct iucv_path *path, struct iucv_message *msg,
418 int iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
438 int __iucv_message_send(struct iucv_path *path, struct iucv_message *msg,
465 int (*message_receive)(struct iucv_path *path, struct iucv_message *msg,
468 struct iucv_message *msg, u8 flags, void *buffer, size_t size,
470 int (*message_reply)(struct iucv_path *path, struct iucv_message *msg,
473 int (*message_send)(struct iucv_path *path, struct iucv_message *msg,
475 int (*__message_send)(struct iucv_path *path, struct iucv_message *msg,
478 struct iucv_message *msg, u8 flags, u32 srccls, void *buffer,
[all …]
/openbmc/linux/tools/power/x86/intel-speed-select/
H A Dhfi-events.c56 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() argument
84 struct nl_msg *msg, in send_and_recv_msgs() argument
95 err = nl_send_auto_complete(drv->nl_handle, msg); in send_and_recv_msgs()
113 nlmsg_free(msg); in send_and_recv_msgs()
126 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler()
155 struct nl_msg *msg; in nl_get_multicast_id() local
159 msg = nlmsg_alloc(); in nl_get_multicast_id()
160 if (!msg) in nl_get_multicast_id()
164 NLA_PUT_STRING(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
167 msg = NULL; in nl_get_multicast_id()
[all …]
/openbmc/qemu/crypto/
H A Dcipher-afalg.c94 afalg->msg = g_new0(struct msghdr, 1); in qcrypto_afalg_cipher_ctx_new()
100 afalg->msg->msg_control = g_new0(uint8_t, afalg->msg->msg_controllen); in qcrypto_afalg_cipher_ctx_new()
103 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()
111 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()
156 origin_controllen = afalg->msg->msg_controllen; in qcrypto_afalg_cipher_op()
158 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_op()
162 afalg->msg->msg_iov = &iov; in qcrypto_afalg_cipher_op()
163 afalg->msg->msg_iovlen = 1; in qcrypto_afalg_cipher_op()
176 ret = sendmsg(afalg->opfd, afalg->msg, 0); in qcrypto_afalg_cipher_op()
191 afalg->msg->msg_controllen = 0; in qcrypto_afalg_cipher_op()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_dcmi.c1124 req.msg.data_len = 3; in ipmi_dcmi_getmngctrlids()
1480 req.msg.data_len = 7; in ipmi_dcmi_setthermalpolicy()
1518 req.msg.data_len = 5; in ipmi_dcmi_get_temp_readings()
1589 req.msg.data_len = 3; in ipmi_dcmi_getconfparam()
1702 req.msg.data_len = 3; in ipmi_dcmi_pwr_glimit()
2018 req.msg.data_len = 3; in _ipmi_nm_discover()
2051 req.msg.data_len = 5; in _ipmi_nm_getcapabilities()
2076 req.msg.data_len = 5; in _ipmi_nm_get_policy()
2118 req.msg.data_len = 4; in _ipmi_nm_policy_limiting()
2145 req.msg.data_len = 6; in _ipmi_nm_control()
[all …]
H A Dipmi_kontronoem.c184 req.msg.netfn = 0x3E; in ipmi_kontronoem_send_set_large_buffer()
186 req.msg.cmd = 0x82; in ipmi_kontronoem_send_set_large_buffer()
188 req.msg.data_len = 2; in ipmi_kontronoem_send_set_large_buffer()
189 req.msg.lun = 0x00; in ipmi_kontronoem_send_set_large_buffer()
239 req.msg.netfn = 0x3E; in ipmi_kontron_set_serial_number()
240 req.msg.cmd = 0x0C; in ipmi_kontron_set_serial_number()
244 req.msg.lun = 0x03; in ipmi_kontron_set_serial_number()
529 req.msg.cmd = 0x0E; in ipmi_kontron_set_mfg_date()
533 req.msg.lun = 0x03; in ipmi_kontron_set_mfg_date()
687 req.msg.cmd = 0x02; in ipmi_kontron_nextboot_set()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() local
59 msg->version = 1; in cros_ec_sensorhub_register()
60 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
61 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
67 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in cros_ec_sensorhub_register()
70 i, ret, msg->result); in cros_ec_sensorhub_register()
129 struct cros_ec_command *msg; in cros_ec_sensorhub_probe() local
132 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) + in cros_ec_sensorhub_probe()
135 if (!msg) in cros_ec_sensorhub_probe()
138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
[all …]
/openbmc/qemu/target/loongarch/
H A Dtrace-events4 kvm_failed_get_regs_core(const char *msg) "Failed to get core regs from KVM: %s"
5 kvm_failed_put_regs_core(const char *msg) "Failed to put core regs into KVM: %s"
6 kvm_failed_get_fpu(const char *msg) "Failed to get fpu from KVM: %s"
7 kvm_failed_put_fpu(const char *msg) "Failed to put fpu into KVM: %s"
8 kvm_failed_get_mpstate(const char *msg) "Failed to get mp_state from KVM: %s"
9 kvm_failed_put_mpstate(const char *msg) "Failed to put mp_state into KVM: %s"
10 kvm_failed_get_counter(const char *msg) "Failed to get counter from KVM: %s"
11 kvm_failed_put_counter(const char *msg) "Failed to put counter into KVM: %s"
12 kvm_failed_get_cpucfg(const char *msg) "Failed to get cpucfg from KVM: %s"
13 kvm_failed_put_cpucfg(const char *msg) "Failed to put cpucfg into KVM: %s"
/openbmc/linux/tools/lib/thermal/
H A Dthermal_nl.c19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler() argument
35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler() argument
45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler() argument
61 err = nl_send_auto_complete(sock, msg); in nl_send_msg()
75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler() argument
79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
116 struct nl_msg *msg; in nl_get_multicast_id() local
123 msg = nlmsg_alloc(); in nl_get_multicast_id()
124 if (!msg) in nl_get_multicast_id()
131 nla_put_string(msg, CTRL_ATTR_FAMILY_NAME, family); in nl_get_multicast_id()
[all …]
/openbmc/hiomapd/
H A Dtransport_mbox.c461 io.req.flags = req->msg.args[0]; in mbox_handle_close_window()
478 io.req.flags = req->msg.args[0]; in mbox_handle_ack()
492 uint8_t cmd = req->msg.command; in check_req_valid()
493 uint8_t seq = req->msg.seq; in check_req_valid()
560 .command = req->msg.command, in handle_mbox_req()
561 .seq = req->msg.seq, in handle_mbox_req()
578 req->msg.command); in handle_mbox_req()
619 rc = read(context->fds[MBOX_FD].fd, msg, sizeof(msg->raw)); in get_message()
629 MSG_DBG("MBOX cmd: %u\n", msg->msg.command); in get_message()
630 MSG_DBG("MBOX seq: %u\n", msg->msg.seq); in get_message()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-imx-sc.c44 struct imx_sc_msg_timer_get_rtc_time msg; in imx_sc_rtc_read_time() local
45 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rtc_read_time()
59 rtc_time64_to_tm(msg.time, tm); in imx_sc_rtc_read_time()
85 struct imx_sc_msg_timer_rtc_set_alarm msg; in imx_sc_rtc_set_alarm() local
86 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_rtc_set_alarm()
95 msg.year = alrm_tm->tm_year + 1900; in imx_sc_rtc_set_alarm()
96 msg.mon = alrm_tm->tm_mon + 1; in imx_sc_rtc_set_alarm()
97 msg.day = alrm_tm->tm_mday; in imx_sc_rtc_set_alarm()
98 msg.hour = alrm_tm->tm_hour; in imx_sc_rtc_set_alarm()
99 msg.min = alrm_tm->tm_min; in imx_sc_rtc_set_alarm()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_mbox.c68 get_mbox_opcode_str(mbox_msg->msg), vf_id, in dump_mbox_msg()
72 get_mbox_opcode_str(mbox_msg->msg), raw_data_str); in dump_mbox_msg()
97 switch (mbx.msg) { in otx_cptvf_handle_mbox_intr()
123 mbx.msg); in otx_cptvf_handle_mbox_intr()
148 mbx->msg, cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
163 mbx.msg = OTX_CPT_MSG_READY; in otx_cptvf_check_pf_ready()
176 mbx.msg = OTX_CPT_MSG_QLEN; in otx_cptvf_send_vq_size_msg()
190 mbx.msg = OTX_CPT_MSG_QBIND_GRP; in otx_cptvf_send_vf_to_grp_msg()
208 mbx.msg = OTX_CPT_MSG_VQ_PRIORITY; in otx_cptvf_send_vf_priority_msg()
222 mbx.msg = OTX_CPT_MSG_VF_UP; in otx_cptvf_send_vf_up()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs3proc.c46 #define rpc_call_sync(clnt, msg, flags) nfs3_rpc_wrapper(clnt, msg, flags) argument
64 struct rpc_message msg = { in do_proc_get_root() local
77 msg.rpc_resp = info->fattr; in do_proc_get_root()
106 struct rpc_message msg = { in nfs3_proc_getattr() local
134 struct rpc_message msg = { in nfs3_proc_setattr() local
169 struct rpc_message msg = { in __nfs3_proc_lookup() local
185 msg.rpc_argp = fhandle; in __nfs3_proc_lookup()
186 msg.rpc_resp = fattr; in __nfs3_proc_lookup()
275 msg.rpc_resp = fattr; in nfs3_proc_readlink()
286 struct rpc_message msg; member
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dchassis-powercycle110 msg="Failed to set slot$CHASSIS_ID power off"
111 echo "${msg}"
112 add_sel "${msg}"
123 msg="Failed to set slot$CHASSIS_ID power on"
124 echo "${msg}"
125 add_sel "${msg}"
146 msg="Chassis$CHASSIS_ID cycle success"
147 echo "${msg}"
148 add_sel "${msg}"
154 echo "${msg}"
[all …]
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c252 struct pucan_rx_msg *msg) in pucan_handle_can_rx() argument
322 pucan_netif_rx(skb, msg->ts_low, msg->ts_high); in pucan_handle_can_rx()
331 priv->bec.txerr = msg->tx_err_cnt; in pucan_handle_error()
332 priv->bec.rxerr = msg->rx_err_cnt; in pucan_handle_error()
364 if (pucan_status_is_busoff(msg)) { in pucan_handle_status()
413 pucan_netif_rx(skb, msg->ts_low, msg->ts_high); in pucan_handle_status()
447 struct pucan_rx_msg *msg) in peak_canfd_handle_msg() argument
647 struct pucan_tx_msg *msg; in peak_canfd_start_xmit() local
663 if (!msg) { in peak_canfd_start_xmit()
711 msg->client = priv->echo_idx; in peak_canfd_start_xmit()
[all …]
/openbmc/linux/drivers/firmware/imx/
H A Dimx-scu-soc.c36 struct imx_sc_msg_misc_get_soc_uid msg; in imx_scu_soc_uid() local
37 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_scu_soc_uid()
45 ret = imx_scu_call_rpc(imx_sc_soc_ipc_handle, &msg, true); in imx_scu_soc_uid()
51 *soc_uid = msg.uid_high; in imx_scu_soc_uid()
53 *soc_uid |= msg.uid_low; in imx_scu_soc_uid()
60 struct imx_sc_msg_misc_get_soc_id msg; in imx_scu_soc_id() local
61 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_scu_soc_id()
69 msg.data.req.control = IMX_SC_C_ID; in imx_scu_soc_id()
70 msg.data.req.resource = IMX_SC_R_SYSTEM; in imx_scu_soc_id()
72 ret = imx_scu_call_rpc(imx_sc_soc_ipc_handle, &msg, true); in imx_scu_soc_id()
[all …]

1...<<11121314151617181920>>...165