/openbmc/qemu/hw/scsi/ |
H A D | mptendian.c | 63 void mptsas_fix_scsi_io_reply_endianness(MPIMsgSCSIIOReply *reply) in mptsas_fix_scsi_io_reply_endianness() argument 65 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_io_reply_endianness() 66 reply->IOCStatus = cpu_to_le16(reply->IOCStatus); in mptsas_fix_scsi_io_reply_endianness() 67 reply->IOCLogInfo = cpu_to_le32(reply->IOCLogInfo); in mptsas_fix_scsi_io_reply_endianness() 68 reply->TransferCount = cpu_to_le32(reply->TransferCount); in mptsas_fix_scsi_io_reply_endianness() 69 reply->SenseCount = cpu_to_le32(reply->SenseCount); in mptsas_fix_scsi_io_reply_endianness() 70 reply->ResponseInfo = cpu_to_le32(reply->ResponseInfo); in mptsas_fix_scsi_io_reply_endianness() 71 reply->TaskTag = cpu_to_le16(reply->TaskTag); in mptsas_fix_scsi_io_reply_endianness() 80 void mptsas_fix_scsi_task_mgmt_reply_endianness(MPIMsgSCSITaskMgmtReply *reply) in mptsas_fix_scsi_task_mgmt_reply_endianness() argument 82 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_task_mgmt_reply_endianness() [all …]
|
H A D | mptsas.c | 103 static void mptsas_post_reply(MPTSASState *s, MPIDefaultReply *reply) in mptsas_post_reply() argument 115 pci_dma_write(pci, addr_lo | s->host_mfa_high_addr, reply, in mptsas_post_reply() 116 MIN(s->reply_frame_size, 4 * reply->MsgLength)); in mptsas_post_reply() 128 void mptsas_reply(MPTSASState *s, MPIDefaultReply *reply) in mptsas_reply() argument 131 /* The reply is sent out in 16 bit chunks, while the size in mptsas_reply() 132 * in the reply is in 32 bit units. in mptsas_reply() 136 s->doorbell_reply_size = reply->MsgLength * 2; in mptsas_reply() 137 memcpy(s->doorbell_reply, reply, s->doorbell_reply_size * 2); in mptsas_reply() 141 mptsas_post_reply(s, reply); in mptsas_reply() 152 /* The reply is just the message context ID (bit 31 = clear). */ in mptsas_turbo_reply() [all …]
|
H A D | mptsas.h | 85 void mptsas_fix_scsi_io_reply_endianness(MPIMsgSCSIIOReply *reply); 87 void mptsas_fix_scsi_task_mgmt_reply_endianness(MPIMsgSCSITaskMgmtReply *reply); 89 void mptsas_fix_ioc_init_reply_endianness(MPIMsgIOCInitReply *reply); 91 void mptsas_fix_ioc_facts_reply_endianness(MPIMsgIOCFactsReply *reply); 93 void mptsas_fix_config_reply_endianness(MPIMsgConfigReply *reply); 95 void mptsas_fix_port_facts_reply_endianness(MPIMsgPortFactsReply *reply); 97 void mptsas_fix_port_enable_reply_endianness(MPIMsgPortEnableReply *reply); 99 void mptsas_fix_event_notification_reply_endianness(MPIMsgEventNotifyReply *reply); 101 void mptsas_reply(MPTSASState *s, MPIDefaultReply *reply);
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 270 reply: &get-reply 279 reply: *get-reply 297 reply: 303 reply: 325 reply: &sb-get-reply 331 reply: *sb-get-reply 352 reply: &sb-pool-get-reply 358 reply: *sb-pool-get-reply 380 reply: &sb-port-pool-get-reply 386 reply: *sb-port-pool-get-reply [all …]
|
/openbmc/qemu/nbd/ |
H A D | client.c | 101 /* Technically, a compliant server is supposed to reply to us; but in nbd_send_opt_abort() 103 * to disconnect without waiting for the server reply, so we don't in nbd_send_opt_abort() 110 /* Receive the header of an option reply, which should match the given 115 NBDOptionReply *reply, Error **errp) in nbd_receive_option_reply() argument 117 QEMU_BUILD_BUG_ON(sizeof(*reply) != 20); in nbd_receive_option_reply() 118 if (nbd_read(ioc, reply, sizeof(*reply), "option reply", errp) < 0) { in nbd_receive_option_reply() 122 reply->magic = be64_to_cpu(reply->magic); in nbd_receive_option_reply() 123 reply->option = be32_to_cpu(reply->option); in nbd_receive_option_reply() 124 reply->type = be32_to_cpu(reply->type); in nbd_receive_option_reply() 125 reply->length = be32_to_cpu(reply->length); in nbd_receive_option_reply() [all …]
|
/openbmc/google-ipmi-sys/test/ |
H A D | google_accel_oob_unittest.cpp | 38 struct Reply in TEST() struct 58 ASSERT_EQ(reply_buff.size(), sizeof(Reply)); in TEST() 60 auto* reply = reinterpret_cast<const Reply*>(reply_buff.data()); in TEST() local 61 EXPECT_EQ(reply->count, kTestDeviceCount); in TEST() 73 struct Reply in TEST() struct 100 ASSERT_GE(reply_buff.size(), sizeof(Reply)); in TEST() 102 auto* reply = reinterpret_cast<const Reply*>(reply_buff.data()); in TEST() local 103 EXPECT_EQ(reply->index, kTestDeviceIndex); in TEST() 104 EXPECT_EQ(reply->length, kTestDeviceName.length()); in TEST() 105 EXPECT_STREQ(reply->name, kTestDeviceName.c_str()); in TEST() [all …]
|
/openbmc/google-ipmi-sys/ |
H A D | google_accel_oob.cpp | 49 struct Reply in accelOobDeviceCount() struct 61 if (data.size_bytes() + sizeof(Reply) > MAX_IPMI_BUFFER) in accelOobDeviceCount() 65 "AccelOob DeviceCount command too large for reply buffer: " in accelOobDeviceCount() 67 data.size_bytes(), sizeof(Reply), MAX_IPMI_BUFFER); in accelOobDeviceCount() 73 std::vector<uint8_t> replyBuf(sizeof(Reply)); in accelOobDeviceCount() 74 auto* reply = reinterpret_cast<Reply*>(replyBuf.data()); in accelOobDeviceCount() local 75 reply->count = count; in accelOobDeviceCount() 89 struct Reply in accelOobDeviceName() struct 102 if (data.size_bytes() + sizeof(Reply) > MAX_IPMI_BUFFER) in accelOobDeviceName() 106 "AccelOob DeviceName command too large for reply buffer: " in accelOobDeviceName() [all …]
|
H A D | bios_setting.cpp | 68 // Reply format is: Length of the payload (1 byte) + payload in readBiosSetting() 69 std::vector<std::uint8_t> reply; in readBiosSetting() local 70 reply.reserve(1 + settingsLength); in readBiosSetting() 71 reply.emplace_back(static_cast<uint8_t>(settingsLength)); in readBiosSetting() 72 reply.insert(reply.end(), biosSettings.begin(), biosSettings.end()); in readBiosSetting() 74 return ::ipmi::responseSuccess(SysOEMCommands::SysReadBiosSetting, reply); in readBiosSetting() 118 // Reply format is: Length of the payload written in writeBiosSetting() 119 std::vector<std::uint8_t> reply; in writeBiosSetting() local 120 reply.reserve(1); in writeBiosSetting() 121 reply.emplace_back(static_cast<uint8_t>(payloadSize)); in writeBiosSetting() [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | meter.c | 232 static int ovs_meter_cmd_reply_stats(struct sk_buff *reply, u32 meter_id, in ovs_meter_cmd_reply_stats() argument 239 if (nla_put_u32(reply, OVS_METER_ATTR_ID, meter_id)) in ovs_meter_cmd_reply_stats() 242 if (nla_put(reply, OVS_METER_ATTR_STATS, in ovs_meter_cmd_reply_stats() 246 if (nla_put_u64_64bit(reply, OVS_METER_ATTR_USED, meter->used, in ovs_meter_cmd_reply_stats() 250 nla = nla_nest_start_noflag(reply, OVS_METER_ATTR_BANDS); in ovs_meter_cmd_reply_stats() 259 band_nla = nla_nest_start_noflag(reply, OVS_BAND_ATTR_UNSPEC); in ovs_meter_cmd_reply_stats() 260 if (!band_nla || nla_put(reply, OVS_BAND_ATTR_STATS, in ovs_meter_cmd_reply_stats() 264 nla_nest_end(reply, band_nla); in ovs_meter_cmd_reply_stats() 266 nla_nest_end(reply, nla); in ovs_meter_cmd_reply_stats() 278 struct sk_buff *reply; in ovs_meter_cmd_features() local [all …]
|
/openbmc/u-boot/net/ |
H A D | nfs.c | 151 * it (if the BOOTP/DHCP reply didn't give one, just use an empty in rpc_add_credentials() 428 Handlers for the reply from server 439 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in rpc_lookup_reply() 441 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply() 444 if (rpc_pkt.u.reply.rstatus || in rpc_lookup_reply() 445 rpc_pkt.u.reply.verifier || in rpc_lookup_reply() 446 rpc_pkt.u.reply.astatus) in rpc_lookup_reply() 451 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply() 454 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply() 469 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply() [all …]
|
/openbmc/phosphor-host-ipmid/test/ |
H A D | oemrouter_unittest.cpp | 70 // Generate reply. in RegisterTwoWays() 90 // Generate reply. in RegisterTwoWays() 112 uint8_t reply[256]; in TEST() 118 EXPECT_EQ(0, wildHandler(NETFUN_OEM_GROUP, 0x78, msgPlain, reply, &dataLen, in TEST() 121 EXPECT_EQ(replyPlain[0], reply[0]); in TEST() 122 EXPECT_EQ(replyPlain[1], reply[1]); in TEST() 123 EXPECT_EQ(replyPlain[2], reply[2]); in TEST() 124 EXPECT_EQ(replyPlain[3], reply[3]); in TEST() 125 EXPECT_EQ(replyPlain[4], reply[4]); in TEST() 131 uint8_t reply[25 in TEST() 113 uint8_t reply[256]; TEST() local 132 uint8_t reply[256]; TEST() local 154 uint8_t reply[256]; TEST() local [all...] |
/openbmc/linux/net/bridge/ |
H A D | br_arp_nd_proxy.c | 184 /* its our local ip, so don't proxy reply in br_do_proxy_suppress_arp() 255 struct sk_buff *reply; in br_nd_send() local 270 reply = alloc_skb(len, GFP_ATOMIC); in br_nd_send() 271 if (!reply) in br_nd_send() 274 reply->protocol = htons(ETH_P_IPV6); in br_nd_send() 275 reply->dev = dev; in br_nd_send() 276 skb_reserve(reply, LL_RESERVED_SPACE(dev)); in br_nd_send() 277 skb_push(reply, sizeof(struct ethhdr)); in br_nd_send() 278 skb_set_mac_header(reply, 0); in br_nd_send() 287 kfree_skb(reply); in br_nd_send() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | icm.c | 54 * @reply: Reply from ICM firmware is placed here 59 struct icm_usb4_switch_op_response reply; member 458 struct icm_fr_pkg_driver_ready_response reply; in icm_fr_driver_ready() local 464 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready() 465 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready() 471 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready() 479 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local 488 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch() 490 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch() 495 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_broadcast.sh | 174 log_info "ping $dip, expected reply from $from" 188 log_test "h1 -> net2: reply from r1 (not forwarding)" 190 log_test "h1 -> net3: reply from r1 (not forwarding)" 192 log_test "h1 -> net1: reply from r1 (not dropping)" 194 log_test "h1 -> 255.255.255.255: reply from r1 (not forwarding)" 197 log_test "h2 -> net1: reply from r1 (not forwarding)" 199 log_test "h2 -> net3: reply from r1 (not forwarding)" 201 log_test "h2 -> net2: reply from r1 (not dropping)" 203 log_test "h2 -> 255.255.255.255: reply from r1 (not forwarding)" 209 log_test "h1 -> net2: reply from h2 (forwarding)" [all …]
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | ipc.c | 45 struct catpt_ipc_msg *reply) in catpt_ipc_msg_init() argument 50 ipc->rx.size = reply ? reply->size : 0; in catpt_ipc_msg_init() 79 /* wait for delayed reply */ in catpt_wait_msg_completion() 87 struct catpt_ipc_msg *reply, int timeout) in catpt_dsp_do_send_msg() argument 96 (reply && reply->size > ipc->config.outbox_size)) in catpt_dsp_do_send_msg() 100 catpt_ipc_msg_init(ipc, reply); in catpt_dsp_do_send_msg() 114 if (reply) { in catpt_dsp_do_send_msg() 115 reply->header = ipc->rx.header; in catpt_dsp_do_send_msg() 117 if (!ret && reply->data) in catpt_dsp_do_send_msg() 118 memcpy(reply->data, ipc->rx.data, reply->size); in catpt_dsp_do_send_msg() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-ipc.c | 99 struct sof_ipc_reply reply; in acp_dsp_ipc_get_reply() local 105 * Sometimes, there is unexpected reply ipc arriving. The reply in acp_dsp_ipc_get_reply() 117 * memory windows are powered off before sending IPC reply, in acp_dsp_ipc_get_reply() 121 reply.error = 0; in acp_dsp_ipc_get_reply() 122 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in acp_dsp_ipc_get_reply() 123 reply.hdr.size = sizeof(reply); in acp_dsp_ipc_get_reply() 124 memcpy(msg->reply_data, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 127 /* get IPC reply from DSP in the mailbox */ in acp_dsp_ipc_get_reply() 128 acp_mailbox_read(sdev, offset, &reply, sizeof(reply)); in acp_dsp_ipc_get_reply() 129 if (reply.error < 0) { in acp_dsp_ipc_get_reply() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 60 struct cmsg_reply_map_simple *reply) in nfp_bpf_ctrl_rc_to_errno() argument 74 rc = be32_to_cpu(reply->rc); in nfp_bpf_ctrl_rc_to_errno() 86 struct cmsg_reply_map_alloc_tbl *reply; in nfp_bpf_ctrl_alloc_map() local 104 sizeof(*reply)); in nfp_bpf_ctrl_alloc_map() 108 reply = (void *)skb->data; in nfp_bpf_ctrl_alloc_map() 109 err = nfp_bpf_ctrl_rc_to_errno(bpf, &reply->reply_hdr); in nfp_bpf_ctrl_alloc_map() 113 tid = be32_to_cpu(reply->tid); in nfp_bpf_ctrl_alloc_map() 124 struct cmsg_reply_map_free_tbl *reply; in nfp_bpf_ctrl_free_map() local 139 sizeof(*reply)); in nfp_bpf_ctrl_free_map() 145 reply = (void *)skb->data; in nfp_bpf_ctrl_free_map() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-ioc-receive.rst | 55 3. the reply to an earlier non-blocking transmit (the ``sequence`` field will 64 of 2-byte messages). Note that the CEC kernel framework will also reply 71 If a non-blocking transmit also specified waiting for a reply, then 72 the reply will arrive in a later message. The ``sequence`` field can 115 filled in by the driver with the length of the reply message if ``reply`` was set. 122 then it will be replaced by 1000 if the ``reply`` is non-zero or 123 ignored if ``reply`` is 0. 131 In addition, if a non-blocking transmit will wait for a reply (ii.e. ``timeout`` 132 was not 0), then the ``sequence`` field of the reply will be set to the sequence 143 the payload of the reply message if ``timeout`` was set. [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | rave-sp.c | 93 * struct rave_sp_reply - Reply as per RAVE device protocol 95 * @length: Expected reply length 96 * @data: Buffer to store reply payload in 97 * @code: Expected reply code 98 * @ackid: Expected reply ACK ID 99 * @received: Successful reply reception completion 177 * @ackid: ACK ID used in last reply sent to the device 179 * @reply_lock: Lock protecting @reply 180 * @reply: Pointer to memory to store reply payload 194 struct rave_sp_reply *reply; member [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.c | 2042 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument 2053 wil->reply_buf = reply; in wmi_call() 2137 } __packed reply = { in wmi_led_cfg() local 2155 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg() 2160 if (reply.evt.status) { in wmi_led_cfg() 2162 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg() 2182 } __packed reply = { in wmi_rbufcap_cfg() local 2187 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg() 2192 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg() 2194 reply.evt.status); in wmi_rbufcap_cfg() [all …]
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 30 #define CEXXC_MAX_ICA_RESPONSE_SIZE 0x77c /* max size type86 v2 reply */ 545 * Copy results from a type 86 ICA reply message back to user space. 548 * @reply: reply AP message. 570 struct ap_message *reply, in convert_type86_ica() argument 574 struct type86x_reply *msg = reply->msg; in convert_type86_ica() 615 * Copy results from a type 86 XCRB reply message back to user space. 618 * @reply: reply AP message. 624 struct ap_message *reply, in convert_type86_xcrb() argument 627 struct type86_fmt2_msg *msg = reply->msg; in convert_type86_xcrb() 628 char *data = reply->msg; in convert_type86_xcrb() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-ipc.c | 27 * interrupt and send reply msg to dsp in hda_dsp_ipc_host_done() 44 * set DONE bit - tell DSP we have received the reply msg in hda_dsp_ipc_dsp_done() 45 * from DSP, and processed it, don't send more reply to host in hda_dsp_ipc_dsp_done() 125 struct sof_ipc_reply reply; in hda_dsp_ipc_get_reply() local 129 * Sometimes, there is unexpected reply ipc arriving. The reply in hda_dsp_ipc_get_reply() 142 * memory windows are powered off before sending IPC reply, in hda_dsp_ipc_get_reply() 146 reply.error = 0; in hda_dsp_ipc_get_reply() 147 reply.hdr.cmd = SOF_IPC_GLB_REPLY; in hda_dsp_ipc_get_reply() 148 reply.hdr.size = sizeof(reply); in hda_dsp_ipc_get_reply() 149 memcpy(msg->reply_data, &reply, sizeof(reply)); in hda_dsp_ipc_get_reply() [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | qmp_client.py | 75 :param received: The raw RPC error reply received. 96 terminated before a reply was received. 129 i.e. A reply has arrived from the server, but it is missing the "ID" 139 An execution reply was successfully routed, but not understood. 144 A reply message is malformed if it is missing either the 'return' or 149 :param msg: The malformed reply that was received. 223 # Incoming RPC reply messages. 305 reply = await self._recv() 306 assert 'return' in reply 307 assert 'error' not in reply [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | mconsole_user.c | 40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument 45 iov.iov_base = reply; in mconsole_reply_v0() 46 iov.iov_len = strlen(reply); in mconsole_reply_v0() 134 struct mconsole_reply reply; in mconsole_reply_len() local 138 reply.err = err; in mconsole_reply_len() 145 if (len == total) reply.more = more; in mconsole_reply_len() 146 else reply.more = 1; in mconsole_reply_len() 148 memcpy(reply.data, str, len); in mconsole_reply_len() 149 reply.data[len] = '\0'; in mconsole_reply_len() 152 reply.len = len + 1; in mconsole_reply_len() [all …]
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_sendto.c | 48 * RPC server when an RPC Reply is ready to be transmitted to a client. 51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA 52 * transport header, post all Write WRs needed for this Reply, then post 56 * svc_rdma_sendto must fully transmit the Reply before returning, as 64 * The I/O that performs Reply transmission is asynchronous, and may 79 * The ownership of all of the Reply's pages are transferred into that 83 * Send completion handler finally releases the Reply's pages. 94 * handler releases the Reply's pages. 96 * the Reply's pages. 354 * svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list [all …]
|