Lines Matching refs:uint32

83 uint32 bbs_MemSeg_availableSize( struct bbs_Context* cpA,   in bbs_MemSeg_availableSize()
98 uint32 bbs_MemSeg_allocatedSize( struct bbs_Context* cpA, in bbs_MemSeg_allocatedSize()
113 uint32 bbs_MemSeg_usedSize( struct bbs_Context* cpA, in bbs_MemSeg_usedSize()
124 uint32 indexL = 0; in bbs_MemSeg_usedSize()
125 uint32 countL = 0; in bbs_MemSeg_usedSize()
128 uint32 sizeL = *( uint32* )( ptrA->memPtrE + indexL ); in bbs_MemSeg_usedSize()
146 uint32 bbs_MemSeg_blocks( struct bbs_Context* cpA, in bbs_MemSeg_blocks()
149 uint32 indexL = 0; in bbs_MemSeg_blocks()
150 uint32 countL = 0; in bbs_MemSeg_blocks()
156 uint32 sizeL = *( uint32* )( ptrA->memPtrE + indexL ); in bbs_MemSeg_blocks()
165 uint32 bbs_MemSeg_usedBlocks( struct bbs_Context* cpA, in bbs_MemSeg_usedBlocks()
168 uint32 indexL = 0; in bbs_MemSeg_usedBlocks()
169 uint32 countL = 0; in bbs_MemSeg_usedBlocks()
175 uint32 sizeL = *( uint32* )( ptrA->memPtrE + indexL ); in bbs_MemSeg_usedBlocks()
209 void* memPtrA, uint32 sizeA ) in bbs_MemSeg_create()
224 void* memPtrA, uint32 sizeA ) in bbs_MemSeg_createShared()
240 uint32 sizeA ) in bbs_MemSeg_alloc()
250 uint32 effSizeL = sizeA + ( sizeA & 1 ) + 2; /* effective block size */ in bbs_MemSeg_alloc()
252 *( ( uint32* )memPtrL ) = effSizeL; in bbs_MemSeg_alloc()
270 uint32 effSizeL = sizeA + ( sizeA & 1 ); /* effective block size */ in bbs_MemSeg_alloc()
283 uint32 actualBlockSizeL = 0; in bbs_MemSeg_alloc()
298 if( ( ( ( uint32 ) ptrA->memPtrE ) >> 16 ) != in bbs_MemSeg_alloc()
299 ( ( ( uint32 ) ptrA->memPtrE + ( ptrA->sizeE - 1 ) ) >> 16 ) ) in bbs_MemSeg_alloc()
330 uint32 indexL, sizeL; in bbs_MemSeg_free()
337 indexL = ( uint32 ) memPtrA - ( uint32 ) ptrA->memPtrE - 2; in bbs_MemSeg_free()
365 *( ( uint32* )memPtrL ) += 1; /* odd size value indicates unused memory block */ in bbs_MemSeg_free()
370 uint32 newAllocIndexL = 0; in bbs_MemSeg_free()
374 uint32 sizeL = *( uint32* )( ptrA->memPtrE + indexL ); in bbs_MemSeg_free()
397 uint32 indexL = 0; in bbs_MemSeg_checkConsistency()
403 uint32 sizeL = *( uint32* )( ptrA->memPtrE + indexL ); in bbs_MemSeg_checkConsistency()