Changeset 93710 in vbox for trunk/include
- Timestamp:
- Feb 11, 2022 11:10:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149881
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/hardavlslaballocator.h ¶
r93671 r93710 137 137 } 138 138 139 inline bool isIntValid(uint32_t a_idxNode1) 139 inline bool isIntValid(uint32_t a_idxNode1) RT_NOEXCEPT 140 140 { 141 141 return a_idxNode1 <= m_cNodes; … … 180 180 return NULL; 181 181 } 182 183 182 }; 184 183 184 185 /** 186 * Placeholder structure for ring-3 slab allocator. 187 */ 188 typedef struct RTCHardAvlTreeSlabAllocatorR3_T 189 { 190 /** Pointer to an array of nodes. */ 191 RTR3PTR m_paNodes; 192 /** Node allocation bitmap: 1 = free, 0 = allocated. */ 193 RTR3PTR m_pbmAlloc; 194 /** Max number of nodes in m_paNodes and valid bits in m_pbmAlloc. */ 195 uint32_t m_cNodes; 196 /** Pointer error counter. */ 197 uint32_t m_cErrors; 198 /** Allocation hint. */ 199 uint32_t m_idxAllocHint; 200 uint32_t m_uPadding; 201 } RTCHardAvlTreeSlabAllocatorR3_T; 202 AssertCompileSize(RTCHardAvlTreeSlabAllocatorR3_T, 203 sizeof(RTCHardAvlTreeSlabAllocator<RTUINT128U>) - (sizeof(void *) - sizeof(RTR3PTR)) * 2); 204 185 205 /** @} */ 186 206
Note:
See TracChangeset
for help on using the changeset viewer.