Home
last modified time | relevance | path

Searched refs:maxSize (Results 1 – 14 of 14) sorted by relevance

/openbmc/telemetry/src/utils/
H A Dcircular_vector.hpp9 vec(externalVec), maxSize(maxSizeIn) in CircularVector()
15 if (maxSize == 0) in emplace()
19 if (vec.size() == maxSize) in emplace()
27 idx = (idx + 1) == maxSize ? 0 : (idx + 1); in emplace()
39 maxSize = newMaxSize; in clearAndResize()
44 return vec.size() == maxSize; in isFull()
59 return maxSize; in size()
64 size_t maxSize = 0; member in CircularVector
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_by_type.cpp38 while (length > dma::maxSize) in transferFileData()
40 auto rc = xdmaInterface.transferDataHost(fd, offset, dma::maxSize, in transferFileData()
46 offset += dma::maxSize; in transferFileData()
47 length -= dma::maxSize; in transferFileData()
48 address += dma::maxSize; in transferFileData()
59 while (length > dma::maxSize) in transferFileDataToSocket()
62 xdmaInterface.transferHostDataToSocket(fd, dma::maxSize, address); in transferFileDataToSocket()
67 length -= dma::maxSize; in transferFileDataToSocket()
68 address += dma::maxSize; in transferFileDataToSocket()
H A Dfile_io.hpp35 constexpr size_t maxSize = DMA_MAXSIZE; variable
127 while (length > dma::maxSize) in transferAll()
129 auto rc = intf->transferDataHost(fd(), offset, dma::maxSize, address, in transferAll()
138 offset += dma::maxSize; in transferAll()
139 length -= dma::maxSize; in transferAll()
140 address += dma::maxSize; in transferAll()
/openbmc/phosphor-ipmi-blobs/
H A Dprocess.cpp127 std::span<const uint8_t> data, size_t maxSize) in processBlobCommand() argument
155 if (replyLength > maxSize) in processBlobCommand()
176 Resp handleBlobCommand(uint8_t cmd, std::vector<uint8_t> data, size_t maxSize) in handleBlobCommand() argument
180 data, maxSize); in handleBlobCommand()
H A Dprocess.hpp41 std::span<const uint8_t> data, size_t maxSize);
47 Resp handleBlobCommand(uint8_t cmd, std::vector<uint8_t> data, size_t maxSize);
/openbmc/phosphor-webui/app/common/directives/
H A DdirPagination.js273 {maxSize: '=?', onPageChange: '&?', paginationId: '=?', autoHide: '=?'}, property in dirPaginationControlsDirective.DDO.scope
314 if (!scope.maxSize) {
315 scope.maxSize = 9;
325 var paginationRange = Math.max(scope.maxSize, 5);
332 paginationRange = Math.max(scope.maxSize, 5);
/openbmc/bmcweb/http/
H A Dhttp_body.hpp173 getWithMaxSize(boost::beast::error_code& ec, size_t maxSize) in getWithMaxSize() argument
179 size_t toReturn = std::min(maxSize, remain); in getWithMaxSize()
188 size_t readReq = std::min(fileReadBuf.size(), maxSize); in getWithMaxSize()
/openbmc/qemu/qga/
H A Dcommands-windows-ssh.c107 DWORD maxSize = MAX_PATH; in get_ssh_folder() local
108 g_autofree char *profilesDir = g_new0(char, maxSize); in get_ssh_folder()
116 BOOL ret = GetProfilesDirectory(profilesDir, &maxSize); in get_ssh_folder()
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp137 length = maxSize; in TEST()
147 length = maxSize + minSize; in TEST()
148 EXPECT_CALL(dmaObj, transferDataHost(_, 0, maxSize, 0, true)).Times(1); in TEST()
149 EXPECT_CALL(dmaObj, transferDataHost(_, maxSize, minSize, maxSize, true)) in TEST()
159 length = 3 * maxSize; in TEST()
199 length = maxSize + minSize; in TEST()
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1282 unsigned int maxSize, unsigned int *realSize) in matroxfb_getmemory() argument
1294 maxSize &= ~0x1FFFFF; /* must be X*2MB (really it must be 2 or X*4MB) */ in matroxfb_getmemory()
1296 if (maxSize < 0x0200000) return 0; in matroxfb_getmemory()
1297 if (maxSize > 0x2000000) maxSize = 0x2000000; in matroxfb_getmemory()
1304 for (offs = 0x100000; offs < maxSize; offs += 0x200000) in matroxfb_getmemory()
1306 for (offs = 0x100000; offs < maxSize; offs += 0x200000) in matroxfb_getmemory()
1309 for (offs = 0x100000; offs < maxSize; offs += 0x200000) { in matroxfb_getmemory()
1317 for (offs2 = 0x100000; offs2 < maxSize; offs2 += 0x200000) in matroxfb_getmemory()
/openbmc/pldm/libpldmresponder/
H A Dfru.cpp453 constexpr uint32_t maxSize = 0xFFFFFFFF; in getFRURecordTableMetadata() local
463 request->hdr.instance_id, PLDM_SUCCESS, major, minor, maxSize, in getFRURecordTableMetadata()
/openbmc/pldm/host-bmc/
H A Dhost_pdr_handler.cpp358 size_t maxSize = PLDM_PDR_REPOSITORY_CHG_EVENT_MIN_LENGTH + in sendPDRRepositoryChgEvent() local
362 eventDataVec.resize(maxSize); in sendPDRRepositoryChgEvent()
370 &firstEntry, eventData, &actualSize, maxSize); in sendPDRRepositoryChgEvent()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dui-bootstrap-tpls-0.11.0.js8maxSize)?c.$parent.$eval(e.maxSize):b.maxSize,l=angular.isDefined(e.rotate)?c.$parent.$eval(e.rota…
H A Dui-bootstrap-tpls-0.11.0.min.js8maxSize)?c.$parent.$eval(e.maxSize):b.maxSize,l=angular.isDefined(e.rotate)?c.$parent.$eval(e.rota…