Home
last modified time | relevance | path

Searched full:response (Results 1 – 25 of 3423) sorted by relevance

12345678910>>...137

/openbmc/qemu/tests/qtest/
H A Dtest-netfilter.c18 QDict *response; in add_one_netfilter() local
20 response = qmp("{'execute': 'object-add'," in add_one_netfilter()
29 g_assert(response); in add_one_netfilter()
30 g_assert(!qdict_haskey(response, "error")); in add_one_netfilter()
31 qobject_unref(response); in add_one_netfilter()
33 response = qmp("{'execute': 'object-del'," in add_one_netfilter()
37 g_assert(response); in add_one_netfilter()
38 g_assert(!qdict_haskey(response, "error")); in add_one_netfilter()
39 qobject_unref(response); in add_one_netfilter()
45 QDict *response; in remove_netdev_with_one_netfilter() local
[all …]
H A Dpvpanic-test.c18 QDict *response, *data; in test_panic_nopause() local
28 response = qtest_qmp_eventwait_ref(qts, "GUEST_PANICKED"); in test_panic_nopause()
29 g_assert(qdict_haskey(response, "data")); in test_panic_nopause()
30 data = qdict_get_qdict(response, "data"); in test_panic_nopause()
33 qobject_unref(response); in test_panic_nopause()
41 QDict *response, *data; in test_panic() local
51 response = qtest_qmp_eventwait_ref(qts, "GUEST_PANICKED"); in test_panic()
52 g_assert(qdict_haskey(response, "data")); in test_panic()
53 data = qdict_get_qdict(response, "data"); in test_panic()
56 qobject_unref(response); in test_panic()
[all …]
/openbmc/u-boot/drivers/fastboot/
H A Dfb_getvar.c14 static void getvar_version(char *var_parameter, char *response);
15 static void getvar_bootloader_version(char *var_parameter, char *response);
16 static void getvar_downloadsize(char *var_parameter, char *response);
17 static void getvar_serialno(char *var_parameter, char *response);
18 static void getvar_version_baseband(char *var_parameter, char *response);
19 static void getvar_product(char *var_parameter, char *response);
20 static void getvar_current_slot(char *var_parameter, char *response);
21 static void getvar_slot_suffixes(char *var_parameter, char *response);
22 static void getvar_has_slot(char *var_parameter, char *response);
24 static void getvar_partition_type(char *part_name, char *response);
[all …]
H A Dfb_command.c43 void (*dispatch)(char *cmd_parameter, char *response);
95 * @response: Pointer to fastboot response buffer
99 int fastboot_handle_command(char *cmd_string, char *response) in fastboot_handle_command() argument
111 response); in fastboot_handle_command()
120 fastboot_fail("unrecognized command", response); in fastboot_handle_command()
125 * okay() - Send bare OKAY response
128 * @response: Pointer to fastboot response buffer
130 * Send a bare OKAY fastboot response. This is used where the command is
131 * valid, but all the work is done after the response has been sent (e.g.
134 static void okay(char *cmd_parameter, char *response) in okay() argument
[all …]
H A Dfb_mmc.c101 u32 download_bytes, char *response) in write_raw_image() argument
112 fastboot_fail("too large for partition", response); in write_raw_image()
122 fastboot_fail("failed writing to device", response); in write_raw_image()
128 fastboot_okay(NULL, response); in write_raw_image()
144 char *response) in fb_mmc_get_boot_header() argument
155 fastboot_fail("invalid number of boot sectors: 0", response); in fb_mmc_get_boot_header()
164 response); in fb_mmc_get_boot_header()
172 fastboot_fail("boot partition not initialized", response); in fb_mmc_get_boot_header()
191 char *response) in fb_mmc_update_zimage() argument
211 fastboot_fail("cannot find boot partition", response); in fb_mmc_update_zimage()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io.cpp72 …to open the XDMA device for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
86 …to mmap the XDMA device for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
103 …te terminus data to socket at address '{ADDRESS}' and length '{LENGTH}' with response code '{RC}'", in transferHostDataToSocket()
115 … socket, closing socket for transferring remote terminus data to socket with response code '{RC}'", in transferHostDataToSocket()
153 … open the XDMA device for data transfer between BMC and remote terminus with response code '{RC}'", in transferDataHost()
167 … mmap the XDMA device for data transfer between BMC and remote terminus with response code '{RC}'", in transferDataHost()
220 …minus for upstream '{UPSTREAM}' of length '{LENGTH}' at address '{ADDRESS}', response code '{RC}'", in transferDataHost()
263 "Failed to encode response for command {COMMAND}, response code '{RC}'", in encodeRWResponseHandler()
274 error("Failed to encode read file response, response code '{RC}'", "RC", in encodeReadResponseHandler()
285 error("Failed to encode write file response, response code '{RC}'", in encodeWriteResponseHandler()
[all …]
/openbmc/pldm/fw-update/
H A Ddevice_updater.hpp44 * derived from GetFirmwareParameters response
68 /** @brief Handler for RequestUpdate command response
70 * The response of the RequestUpdate is processed and if the response
74 * @param[in] response - PLDM response message
75 * @param[in] respMsgLen - Response message length
77 void requestUpdate(mctp_eid_t eid, const pldm_msg* response,
80 /** @brief Handler for PassComponentTable command response
82 * The response of the PassComponentTable is processed. If the response
90 * If the response indicates component may be updateable, continue
94 * @param[in] response - PLDM response message
[all …]
H A Ddevice_updater.cpp54 "Failed to encode request update request for endpoint ID '{EID}', response code '{RC}'", in startFwUpdateFlow()
65 "Failed to send request update for endpoint ID '{EID}', response code '{RC}'", in startFwUpdateFlow()
70 void DeviceUpdater::requestUpdate(mctp_eid_t eid, const pldm_msg* response, in requestUpdate() argument
73 if (response == nullptr || !respMsgLen) in requestUpdate()
76 error("No response received for request update for endpoint ID '{EID}'", in requestUpdate()
85 auto rc = decode_request_update_resp(response, respMsgLen, &completionCode, in requestUpdate()
90 … "Failed to decode request update response for endpoint ID '{EID}', response code '{RC}'", in requestUpdate()
97 "Failure in request update response for endpoint ID '{EID}', completion code '{CC}'", in requestUpdate()
182 … "Failed to encode pass component table req for endpoint ID '{EID}', response code '{RC}'", in sendPassCompTableRequest()
194 … "Failed to send pass component table request for endpoint ID '{EID}', response code '{RC}'", in sendPassCompTableRequest()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_response.hpp31 struct Response struct
36 http::response<bmcweb::HttpBody> response; member
42 return response.base(); in fields()
47 return response.base(); in fields()
65 Response() = default;
66 Response(Response&& res) noexcept : in Response() function
67 response(std::move(res.response)), jsonValue(std::move(res.jsonValue)), in Response()
78 ~Response() = default;
80 Response(const Response&) = delete;
81 Response& operator=(const Response& r) = delete;
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_avb.py33 response = u_boot_console.run_command('avb init %s' %str(mmc_dev))
34 assert response == ''
35 response = u_boot_console.run_command('avb verify')
36 assert response.find(success_str)
45 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
46 assert response == ''
48 response = u_boot_console.run_command('mmc rescan; mmc dev %s' %
50 assert response.find('is current device')
77 response = u_boot_console.run_command('avb init %s' % str(mmc_dev))
78 assert response == ''
[all …]
H A Dtest_bind.py8 def in_tree(response, name, uclass, drv, depth, last_child): argument
9 lines = [x.strip() for x in response.splitlines()]
29 response = u_boot_console.run_command('bind /bind-test generic_simple_bus')
30 assert response == ''
37 response = u_boot_console.run_command('unbind /bind-test/bind-test-child1')
38 assert response == ''
45 response = u_boot_console.run_command('bind /bind-test/bind-test-child1 phy_sandbox')
46 assert response == ''
53 response = u_boot_console.run_command('unbind /bind-test/bind-test-child2')
54 assert response == ''
[all …]
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.h21 * Module for constructing NC-SI response commands on the NIC
37 * Build the header for the response to the command in the buffer.
41 * response_buf: buffer, where to put the response. Must be big enough to fit
42 * the response.
43 * response_code: Response Code. Must be zero for ACK.
57 * response_buf: buffer, where to put the response. Must be big enough to fit
58 * the response.
60 * Returns the size of the response in the buffer.
71 * response_buf: buffer, where to put the response. Must be big enough to fit
72 * the response.
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dclient.py18 response = await self.invoke(
21 if response:
22 return response["value"]
25 response = await self.invoke(
28 if response:
29 return response["value"]
32 response = await self.invoke(
35 if response:
36 return response["value"]
39 response = await self.invoke(
[all …]
/openbmc/linux/drivers/greybus/
H A Dcontrol.c22 struct gb_control_version_response response; in gb_control_get_version() local
30 &request, sizeof(request), &response, in gb_control_get_version()
31 sizeof(response)); in gb_control_get_version()
39 if (response.major > request.major) { in gb_control_get_version()
42 response.major, request.major); in gb_control_get_version()
46 control->protocol_major = response.major; in gb_control_get_version()
47 control->protocol_minor = response.minor; in gb_control_get_version()
49 dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major, in gb_control_get_version()
50 response.minor); in gb_control_get_version()
60 struct gb_control_bundle_version_response response; in gb_control_get_bundle_version() local
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/
H A Dmemory.json10 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_DRAM AND REMOTE_FWD",
19 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_LLC_MISS",
28 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = OTHER_LOCAL_DRAM",
37 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = REMOTE_DRAM",
46 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_DRAM AND REMOTE_FWD",
55 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_LLC_MISS",
64 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = OTHER_LOCAL_DRAM",
73 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = REMOTE_DRAM",
82 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_DRAM AND REMOTE_FWD",
91 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_LLC_MISS",
[all …]
H A Dcache.json815 … "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ALL_LOCAL_DRAM AND REMOTE_CACHE_HIT",
824 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_CACHE_DRAM",
833 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_LOCATION",
842 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = IO_CSR_MMIO",
851 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = LLC_HIT_NO_OTHER_CORE",
860 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = LLC_HIT_OTHER_CORE_HIT",
869 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = LLC_HIT_OTHER_CORE_HITM",
878 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = LOCAL_CACHE",
887 … "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = LOCAL_DRAM AND REMOTE_CACHE_HIT",
896 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = REMOTE_CACHE_HITM",
[all …]
/openbmc/linux/drivers/media/usb/as102/
H A Das10x_cmd.h88 /* response */
90 /* response identifier */
103 /* response */
105 /* response identifier */
120 /* response */
122 /* response identifier */
124 /* response error */
135 /* response */
137 /* response identifier */
139 /* response error */
[all …]
/openbmc/linux/arch/s390/pci/
H A Dpci_clp.c101 struct clp_rsp_query_pci_grp *response) in clp_store_query_pci_fngrp() argument
103 zdev->tlb_refresh = response->refresh; in clp_store_query_pci_fngrp()
104 zdev->dma_mask = response->dasm; in clp_store_query_pci_fngrp()
105 zdev->msi_addr = response->msia; in clp_store_query_pci_fngrp()
106 zdev->max_msi = response->noi; in clp_store_query_pci_fngrp()
107 zdev->fmb_update = response->mui; in clp_store_query_pci_fngrp()
108 zdev->version = response->version; in clp_store_query_pci_fngrp()
109 zdev->maxstbl = response->maxstbl; in clp_store_query_pci_fngrp()
110 zdev->dtsm = response->dtsm; in clp_store_query_pci_fngrp()
112 switch (response->version) { in clp_store_query_pci_fngrp()
[all …]
/openbmc/u-boot/include/
H A Dfastboot.h44 * fastboot_response() - Writes a response of the form "$tag$reason".
46 * @tag: The first part of the response
47 * @response: Pointer to fastboot response buffer
50 void fastboot_response(const char *tag, char *response,
55 * fastboot_fail() - Write a FAIL response of the form "FAIL$reason".
58 * @response: Pointer to fastboot response buffer
60 void fastboot_fail(const char *reason, char *response);
63 * fastboot_okay() - Write an OKAY response of the form "OKAY$reason".
66 * @response: Pointer to fastboot response buffer
68 void fastboot_okay(const char *reason, char *response);
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dredfish_plus.py53 … - Automatic valid_status_codes processing (i.e. an exception will be raised if the rest response
62 Perform redfish rest request and return response.
98response = bmc_redfish.get("/redfish/v1/Managers/${MANAGER_ID}/EthernetInterfaces", [200, 201])
100 …If this call to the get method generates a response.status equal to anything other than 200 or 201,
106 …${response}= BMC_Redfish.Get /redfish/v1/Managers/${MANAGER_ID}/EthernetInterfaces valid_status…
123 response = func(*args, **kwargs)
124 valid_http_status_code(response.status, valid_status_codes)
125 return response
181 response = requests.get(
188 response.status = response.status_code
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/
H A Dtest_views.py67 response = self.client.get(reverse('all-projects'), follow=True)
68 self.assertEqual(response.status_code, 200)
69 self.assertTrue(response['Content-Type'].startswith('text/html'))
70 self.assertTemplateUsed(response, "projects-toastertable.html")
75 response = self.client.get(url, {"format": "json"}, follow=True)
76 self.assertEqual(response.status_code, 200)
77 self.assertTrue(response['Content-Type'].startswith(
80 data = json.loads(response.content.decode('utf-8'))
103 def basic_reponse_check(response, url): argument
104 """Check data structure of http response."""
[all …]
/openbmc/pldm/requester/
H A DREADME.md6 - Register a PLDM request and the response handler to be invoked on receiving
7 the response.
8 - The handling of the request and response is asynchronous. This means the PLDM
9 daemon is not blocked till the response is received for a request.
11 - Request retries based on the time-out waiting for a response.
22 PLDM request message (PLDM header and payload) and response function handler are
31 The signature of the response function handler:
34 void handler(mctp_eid_t eid, const pldm_msg* response, size_t respMsgLen)
37 - If the response is received before instance ID expiration:
38 - If the response matches with an outstanding request then the response
[all …]
/openbmc/phosphor-webui/app/common/services/
H A DuserModel.js18 APIUtils.login(username, password, function(response, error) { argument
19 if (response &&
20 (response.status == APIUtils.API_RESPONSE.SUCCESS_STATUS ||
21 response.status === undefined)) {
25 response && response.data && response.data.data &&
26 response.data.data.description) {
27 callback(false, response.data.data.description);
28 } else if (response && response.statusText) {
29 callback(false, response.statusText);
46 APIUtils.logout(function(response, error) { argument
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dpayload_cmds.cpp30 auto response = in activatePayload() local
33 response->completionCode = IPMI_CC_OK; in activatePayload()
38 response->completionCode = IPMI_CC_INVALID_FIELD_REQUEST; in activatePayload()
46 response->completionCode = IPMI_CC_PAYLOAD_TYPE_DISABLED; in activatePayload()
53 response->completionCode = IPMI_CC_INVALID_FIELD_REQUEST; in activatePayload()
61 response->completionCode = IPMI_CC_PAYLOAD_WITHOUT_ENCRYPTION; in activatePayload()
68 response->completionCode = IPMI_CC_INSUFFICIENT_PRIVILEGE; in activatePayload()
80 response->completionCode = IPMI_CC_PAYLOAD_TYPE_DISABLED; in activatePayload()
87 response->completionCode = IPMI_CC_PAYLOAD_ALREADY_ACTIVE; in activatePayload()
103 response->completionCode = IPMI_CC_UNSPECIFIED_ERROR; in activatePayload()
[all …]
/openbmc/libpldm/tests/oem/ibm/
H A Dfileio.cpp93 pldm_msg* response = reinterpret_cast<pldm_msg*>(responseMsg.data()); in TEST() local
97 PLDM_SUCCESS, length, response); in TEST()
100 ASSERT_EQ(response->hdr.request, PLDM_RESPONSE); in TEST()
101 ASSERT_EQ(response->hdr.instance_id, 0); in TEST()
102 ASSERT_EQ(response->hdr.type, PLDM_OEM); in TEST()
103 ASSERT_EQ(response->hdr.command, PLDM_READ_FILE_INTO_MEMORY); in TEST()
104 ASSERT_EQ(response->payload[0], PLDM_SUCCESS); in TEST()
105 ASSERT_EQ(0, memcmp(response->payload + sizeof(response->payload[0]), in TEST()
110 PLDM_SUCCESS, length, response); in TEST()
113 ASSERT_EQ(response->hdr.request, PLDM_RESPONSE); in TEST()
[all …]

12345678910>>...137