Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 25 of 25) sorted by relevance

/openbmc/phosphor-host-ipmid/test/
H A Doemrouter_unittest.cpp72 *dataLen = 2; in RegisterTwoWays()
92 *dataLen = 0; in RegisterTwoWays()
114 size_t dataLen; in TEST() local
118 dataLen = 3; in TEST()
133 size_t dataLen; in TEST() local
138 dataLen = 5; in TEST()
144 dataLen = 5; in TEST()
155 size_t dataLen; in TEST() local
160 dataLen = 2; in TEST()
166 dataLen = 3; in TEST()
[all …]
/openbmc/phosphor-pid-control/ipmi/
H A Dmanualcmds.cpp43 const uint8_t* reqBuf, uint8_t* replyBuf, size_t* dataLen) in getFailsafeModeState() argument
47 if (*dataLen < sizeof(struct FanCtrlRequest)) in getFailsafeModeState()
63 *dataLen = sizeof(uint8_t); in getFailsafeModeState()
74 const uint8_t* reqBuf, uint8_t* replyBuf, size_t* dataLen) in getManualModeState() argument
78 if (*dataLen < sizeof(struct FanCtrlRequest)) in getManualModeState()
94 *dataLen = sizeof(uint8_t); in getManualModeState()
107 const size_t* dataLen) in setManualModeState() argument
109 if (*dataLen < sizeof(struct FanCtrlRequestSet)) in setManualModeState()
126 const uint8_t* reqBuf, uint8_t* replyCmdBuf, size_t* dataLen) in manualModeControl() argument
129 if (*dataLen < sizeof(struct FanCtrlRequest)) in manualModeControl()
[all …]
H A Dmanualcmds.hpp26 size_t* dataLen);
29 size_t* dataLen);
32 const size_t* dataLen);
40 size_t* dataLen);
/openbmc/phosphor-ipmi-blobs/test/
H A Dipmi_close_unittest.cpp20 size_t dataLen; in TEST() local
27 dataLen = sizeof(req); in TEST()
28 request.resize(dataLen); in TEST()
29 std::memcpy(request.data(), &req, dataLen); in TEST()
41 size_t dataLen; in TEST() local
48 dataLen = sizeof(req); in TEST()
49 request.resize(dataLen); in TEST()
50 std::memcpy(request.data(), &req, dataLen); in TEST()
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp311 if (*dataLen != 4) in ipmiStorageReadFRUData()
313 *dataLen = 0; in ipmiStorageReadFRUData()
362 *dataLen >= in ipmiStorageWriteFRUData()
366 *dataLen = 0; in ipmiStorageWriteFRUData()
436 *dataLen = 1; in ipmiStorageWriteFRUData()
560 if (*dataLen) in ipmiStorageReserveSDR()
562 *dataLen = 0; in ipmiStorageReserveSDR()
571 *dataLen = 2; in ipmiStorageReserveSDR()
587 *dataLen = 0; in ipmiStorageGetSDR()
814 *dataLen = 2 + in ipmiStorageGetSDR()
[all …]
H A Dbiccommands.cpp159 uint8_t dataLen, std::vector<uint8_t> data) in ipmiOemPostCodeHandler() argument
176 for (unsigned int index = 0; index < dataLen; index++) in ipmiOemPostCodeHandler()
H A Doemcommands.cpp1710 int dataLen = strToBytes(str, res); in ipmiOemQGetProcInfo() local
1711 std::vector<uint8_t> response(&res[0], &res[dataLen]); in ipmiOemQGetProcInfo()
/openbmc/ipmi-fru-parser/
H A Dwritefrudata.cpp490 int ipmiPopulateFruAreas(uint8_t* fruData, const size_t dataLen, in ipmiPopulateFruAreas() argument
504 if (areaOffset && (dataLen < (areaOffset + 2))) in ipmiPopulateFruAreas()
509 entry("SIZE=%d", dataLen)); in ipmiPopulateFruAreas()
536 if (dataLen < (areaLen + areaOffset)) in ipmiPopulateFruAreas()
539 entry("SIZE=%d", dataLen)); in ipmiPopulateFruAreas()
609 if (dataLen >= sizeof(commonHdr)) in ipmiValidateCommonHeader()
633 size_t dataLen = 0; in validateFRUArea() local
674 dataLen = std::ftell(fruFilePointer); in validateFRUArea()
676 auto fruData = std::vector<uint8_t>(dataLen, 0); in validateFRUArea()
692 rc = ipmiValidateCommonHeader(fruData.data(), dataLen); in validateFRUArea()
[all …]
H A Dstrgfnhandler.cpp24 ipmi_data_len_t dataLen, ipmi_context_t /*context*/) in ipmiStorageWriteFruData() argument
45 len = ((size_t)*dataLen) - (sizeof(write_fru_data_t) - 1); in ipmiStorageWriteFruData()
48 *dataLen = 0; in ipmiStorageWriteFruData()
96 *dataLen = 1; in ipmiStorageWriteFruData()
/openbmc/intel-ipmi-oem/include/
H A DspiDev.hpp51 void spiReadData(uint32_t startAddr, size_t dataLen, void* dataRes) in spiReadData() argument
60 if (read(fd, dataRes, dataLen) != static_cast<ssize_t>(dataLen)) in spiReadData()
/openbmc/intel-ipmi-oem/src/
H A Doemcommands.cpp327 *dataLen = 0; in ipmiOEMGetChassisIdentifier()
339 *dataLen = 0; in ipmiOEMGetChassisIdentifier()
353 *dataLen = 0; in ipmiOEMSetSystemGUID()
357 *dataLen = 0; in ipmiOEMSetSystemGUID()
440 if ((*dataLen < 2ul) || (*dataLen != (1ul + data->biosIDLength))) in ipmiOEMSetBIOSID()
442 *dataLen = 0; in ipmiOEMSetBIOSID()
463 *dataLen = 1; in ipmiOEMSetBIOSID()
697 *dataLen = 1; in ipmiOEMGetAICFRU()
907 *dataLen = 0; in ipmiOEMSetPowerRestoreDelay()
1084 *dataLen = 0; in ipmiOEMGetShutdownPolicy()
[all …]
/openbmc/qemu/hw/scsi/
H A Dvmw_pvscsi.h301 uint64_t dataLen; member
357 uint64_t dataLen; member
H A Dvmw_pvscsi.c469 trace_pvscsi_complete_request(r->cmp.context, r->cmp.dataLen, in pvscsi_complete_request()
680 uint64_t data_length = r->req.dataLen; in pvscsi_convert_sglist()
708 qemu_sglist_add(&r->sgl, r->req.dataAddr, r->req.dataLen); in pvscsi_build_sglist()
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp83 const uint16_t dataLen = command[1] << 8 | command[2]; in send() local
102 dataLen, "DATA", dataString); in send()
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSDRSensor.cpp234 int dataLen = sdrDataBytes[sdr::dataLengthByte]; in checkSDRData() local
241 int strAddr = dataLen + ((dataLen / (sdr::perCountByte)) * 4) - in checkSDRData()
/openbmc/linux/drivers/scsi/
H A Dvmw_pvscsi.h324 u64 dataLen; member
376 u64 dataLen; member
H A Dvmw_pvscsi.c355 e->dataLen = bufflen; in pvscsi_map_buffers()
593 if (e->dataLen && (e->dataLen < scsi_bufflen(cmd))) in pvscsi_complete_request()
594 scsi_set_resid(cmd, scsi_bufflen(cmd) - e->dataLen); in pvscsi_complete_request()
601 scsi_set_resid(cmd, scsi_bufflen(cmd) - e->dataLen); in pvscsi_complete_request()
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp346 long int dataLen = BIO_get_mem_data(bufio, &data); in generateSslCertificate() local
347 buffer += std::string_view(data, static_cast<size_t>(dataLen)); in generateSslCertificate()
357 dataLen = BIO_get_mem_data(bufio, &data); in generateSslCertificate()
358 buffer += std::string_view(data, static_cast<size_t>(dataLen)); in generateSslCertificate()
/openbmc/google-ipmi-sys/
H A Dgoogle_accel_oob.cpp155 size_t ReadNameHeader(const uint8_t* reqBuf, size_t dataLen, size_t payloadSize, in ReadNameHeader() argument
163 if (dataLen < minDataLen) in ReadNameHeader()
/openbmc/phosphor-net-ipmid/
H A Dmessage_parsers.hpp270 uint8_t dataLen; member
H A Dmessage_parsers.cpp450 header->ping.dataLen = in flatten()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Smbios/
H A DMDR_V2.interface.yaml91 - name: dataLen
/openbmc/smbios-mdr/include/
H A Dmdrv2.hpp153 bool sendDataInformation(uint8_t idIndex, uint8_t flag, uint32_t dataLen,
/openbmc/smbios-mdr/src/
H A Dmdrv2.cpp312 uint32_t dataLen, uint32_t dataVer, in sendDataInformation() argument
321 if (smbiosDir.dir[idIndex].common.dataSetSize != dataLen) in sendDataInformation()
324 smbiosDir.dir[idIndex].common.dataSetSize = dataLen; in sendDataInformation()
/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.cpp1450 ipmi_data_len_t dataLen, ipmi_context_t) in ipmicmdPlatformEvent() argument
1456 size_t paraLen = *dataLen; in ipmicmdPlatformEvent()
1458 *dataLen = 0; in ipmicmdPlatformEvent()