Home
last modified time | relevance | path

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

1234

/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/swr/rasterizer/core/
H A Darena.h42 struct ArenaBlock struct
45 ArenaBlock* pNext = nullptr; argument
56 ArenaBlock* p = new (AlignedMalloc(size, align)) ArenaBlock(); in AllocateAligned()
61 void Free(ArenaBlock* pMem) in Free()
141 void Free(ArenaBlock* pMem) in Free()
265 ArenaBlock* pPrevBlock = in InsertCachedBlock()
267 ArenaBlock* pBlock = pPrevBlock->pNext; in InsertCachedBlock()
305 static ArenaBlock* SearchBlocks(ArenaBlock*& pPrevBlock, size_t blockSize, size_t align) in SearchBlocks()
308 ArenaBlock* pPotentialBlock = nullptr; in SearchBlocks()
309 ArenaBlock* pPotentialPrev = nullptr; in SearchBlocks()
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/src/tscore/
H A DArena.cc32 #define DEFAULT_BLOCK_SIZE (DEFAULT_ALLOC_SIZE - (sizeof(ArenaBlock) - 8))
39 static inline ArenaBlock *
42 ArenaBlock *blk; in blk_alloc()
45 blk = static_cast<ArenaBlock *>(defaultSizeArenaBlock.alloc_void()); in blk_alloc()
47 blk = static_cast<ArenaBlock *>(ats_malloc(size + sizeof(ArenaBlock) - 8)); in blk_alloc()
61 blk_free(ArenaBlock *blk) in blk_free()
77 block_alloc(ArenaBlock *block, size_t size, size_t alignment) in block_alloc()
97 ArenaBlock *b; in alloc()
132 ArenaBlock *b; in free()
151 ArenaBlock *b; in reset()
/dports/textproc/xalan-c/xalan_c-1.12/src/xalanc/PlatformSupport/
H A DArenaBlock.hpp38 class ArenaBlock : public ArenaBlockBase<ObjectType, SizeType> class
44 typedef ArenaBlock<ObjectType, SizeType> ThisType;
55 ArenaBlock( in ArenaBlock() function in XALAN_CPP_NAMESPACE::ArenaBlock
62 ~ArenaBlock() in ~ArenaBlock()
144 ArenaBlock(const ArenaBlock<ObjectType, SizeType>&);
146 ArenaBlock<ObjectType, SizeType>&
147 operator=(const ArenaBlock<ObjectType, SizeType>&);
150 operator==(const ArenaBlock<ObjectType, SizeType>&) const;
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/flow/
H A DArena.h108 Reference<struct ArenaBlock> impl;
112 ArenaBlock* next;
116 struct ArenaBlock : NonCopyable, ThreadSafeReferenceCounted<ArenaBlock> struct
188 static void dependOn( Reference<ArenaBlock>& self, ArenaBlock* other ) { in dependOn() argument
197 ArenaBlock* b = self.getPtr(); in allocate()
205 static ArenaBlock* create( int dataSize, Reference<ArenaBlock>& next ) { in create() argument
206 ArenaBlock* b; in create()
234 b->bigUsed = sizeof(ArenaBlock); in create()
242 b->bigUsed = sizeof(ArenaBlock); in create()
931 void ArenaBlock::destroy() {
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp55 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
62 ArenaBlock tmp; in init()
72 m_block_size = bs - ArenaBlock::HeaderSize; in init()
84 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
99 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
128 ArenaBlock * block = ah.m_current_block_ptr; in seize()
144 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
159 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp55 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
62 ArenaBlock tmp; in init()
72 m_block_size = bs - ArenaBlock::HeaderSize; in init()
84 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
99 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
128 ArenaBlock * block = ah.m_current_block_ptr; in seize()
144 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
159 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
133 ArenaBlock * block = ah.m_current_block_ptr; in seize()
149 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
164 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
137 ArenaBlock * block = ah.m_current_block_ptr;
154 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize;
176 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p);
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
133 ArenaBlock * block = ah.m_current_block_ptr; in seize()
149 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
164 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
133 ArenaBlock * block = ah.m_current_block_ptr; in seize()
149 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
164 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
133 ArenaBlock * block = ah.m_current_block_ptr; in seize()
149 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
164 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp60 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
67 ArenaBlock tmp; in init()
77 m_block_size = bs - ArenaBlock::HeaderSize; in init()
89 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
104 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
133 ArenaBlock * block = ah.m_current_block_ptr; in seize()
149 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
164 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp55 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
62 ArenaBlock tmp; in init()
72 m_block_size = bs - ArenaBlock::HeaderSize; in init()
84 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
99 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
128 ArenaBlock * block = ah.m_current_block_ptr; in seize()
144 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
159 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp55 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
62 ArenaBlock tmp; in init()
72 m_block_size = bs - ArenaBlock::HeaderSize; in init()
84 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
99 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
128 ArenaBlock * block = ah.m_current_block_ptr; in seize()
144 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
159 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/databases/mysql56-client/mysql-5.6.51/storage/ndb/src/kernel/vm/
H A DArenaPool.cpp55 Uint32 blocksz = ArenaBlock::computeBlockSizeInWords(sz); in init()
62 ArenaBlock tmp; in init()
72 m_block_size = bs - ArenaBlock::HeaderSize; in init()
84 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
99 Uint32 next = static_cast<ArenaBlock*>(curr.p)->m_next_block; in release()
128 ArenaBlock * block = ah.m_current_block_ptr; in seize()
144 (ptrI & POOL_RECORD_MASK) + pos + ArenaBlock::HeaderSize; in seize()
159 ah.m_current_block_ptr = static_cast<ArenaBlock*>(tmp.p); in seize()
/dports/textproc/sablotron/Sablot-1.0.3/src/engine/
H A Darena.cpp52 ArenaBlock* SabArena::newBlock(int size) in newBlock()
55 ArenaBlock *b = new ArenaBlock; in newBlock()
65 ArenaBlock *b, *b_was; in dispose()

1234