Home
last modified time | relevance | path

Searched refs:reqBytes (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/opencsd/decoder/source/mem_acc/
H A Dtrc_mem_acc_cache.cpp66 uint32_t bytesRead = 0, reqBytes = *numBytes; in readBytesFromCache() local
75 if (blockInCache(address, reqBytes)) in readBytesFromCache()
77 bytesRead = reqBytes; in readBytesFromCache()
78 … memcpy(byteBuffer, &m_mru[m_mru_idx].data[address - m_mru[m_mru_idx].st_addr], reqBytes); in readBytesFromCache()
80 … << m_mru_idx << "[addr:0x" << std::hex << address << ", bytes: " << std::dec << reqBytes << "]\n"; in readBytesFromCache()
89 …emAccCache:: miss [addr:0x" << std::hex << address << ", bytes: " << std::dec << reqBytes << "]\n"; in readBytesFromCache()
123 if (blockInPage(address, reqBytes)) /* check we got the data we needed */ in readBytesFromCache()
125 bytesRead = reqBytes; in readBytesFromCache()
126 … memcpy(byteBuffer, &m_mru[m_mru_idx].data[address - m_mru[m_mru_idx].st_addr], reqBytes); in readBytesFromCache()
H A Dtrc_mem_acc_cb.cpp22 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf… in readBytes() argument
26 return m_p_CBclass->readBytes(address,memSpace,reqBytes,byteBuffer); in readBytes()
28 return m_p_CBfn(m_p_cbfn_context, address,memSpace,reqBytes,byteBuffer); in readBytes()
30 return m_p_CBIDfn(m_p_cbfn_context, address, memSpace, trcID, reqBytes, byteBuffer); in readBytes()
H A Dtrc_mem_acc_file.cpp202 …nst ocsd_mem_space_acc_t mem_space, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf… in readBytes() argument
210 …bytesRead = TrcMemAccessorBase::bytesInRange(address,reqBytes); // get avialable bytes in range. in readBytes()
222 bytesRead = bytesInRange(address,reqBytes); in readBytes()
330 …t32_t TrcMemAccessorFile::bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const in bytesInRange()
334 bytesInRange = TrcMemAccessorBase::bytesInRange(s_address,reqBytes); in bytesInRange()
339 bytesInRange = p_region->bytesInRange(s_address,reqBytes); in bytesInRange()
H A Dtrc_mem_acc_bufptr.cpp44 …nst ocsd_mem_space_acc_t mem_space, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf… in readBytes() argument
47 uint32_t bytesRead = bytesInRange(address,reqBytes); // check bytes available in readBytes()
/freebsd/contrib/opencsd/decoder/include/mem_acc/
H A Dtrc_mem_acc_cache.h80 …bool blockInCache(const ocsd_vaddr_t address, const uint32_t reqBytes); // run through each page t…
81 bool blockInPage(const ocsd_vaddr_t address, const uint32_t reqBytes);
113 inline bool TrcMemAccCache::blockInPage(const ocsd_vaddr_t address, const uint32_t reqBytes) in blockInPage() argument
116 m_mru[m_mru_idx].st_addr + m_mru[m_mru_idx].valid_len >= (address + reqBytes)) in blockInPage()
121 inline bool TrcMemAccCache::blockInCache(const ocsd_vaddr_t address, const uint32_t reqBytes) in blockInCache() argument
126 if (blockInPage(address, reqBytes)) in blockInCache()
H A Dtrc_mem_acc_base.h110 … virtual const uint32_t bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const;
132 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf…
192 …t32_t TrcMemAccessorBase::bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const in bytesInRange() argument
199 if(bytesInRange > reqBytes) in bytesInRange()
200 bytesInRange = reqBytes; in bytesInRange()
H A Dtrc_mem_acc_file.h59 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf… in readBytes() argument
80 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf…
156 … virtual const uint32_t bytesInRange(const ocsd_vaddr_t s_address, const uint32_t reqBytes) const;
H A Dtrc_mem_acc_cb_if.h66 …_vaddr_t s_address, const ocsd_mem_space_acc_t memSpace, const uint32_t reqBytes, uint8_t *byteBuf…
H A Dtrc_mem_acc_bufptr.h67 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf…
H A Dtrc_mem_acc_cb.h52 …onst ocsd_mem_space_acc_t memSpace, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf…
/freebsd/contrib/opencsd/decoder/include/opencsd/
H A Docsd_if_types.h465 …d_vaddr_t address, const ocsd_mem_space_acc_t mem_space, const uint32_t reqBytes, uint8_t *byteBuf…
489 …nst ocsd_mem_space_acc_t mem_space, const uint8_t trcID, const uint32_t reqBytes, uint8_t *byteBuf…