OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ControlBlock
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_buffer_queue.h
34
///
ControlBlock
represents the memory layout of how we interpret the backing
36
///
ControlBlock
has the reference count as the first member, sized according
43
struct
ControlBlock
{
63
ControlBlock
*BackingStore = nullptr;
64
ControlBlock
*ExtentsBackingStore = nullptr;
144
// The collocated
ControlBlock
and buffer storage.
145
ControlBlock
*BackingStore;
147
// The collocated
ControlBlock
and extents storage.
148
ControlBlock
*ExtentsBackingStore;
xray_buffer_queue.cc
31
BufferQueue::
ControlBlock
*allocControlBlock(size_t Size, size_t Count) {
33
allocateBuffer((sizeof(BufferQueue::
ControlBlock
) - 1) + (Size * Count));
35
: reinterpret_cast<BufferQueue::
ControlBlock
*>(B);
38
void deallocControlBlock(BufferQueue::
ControlBlock
*C, size_t Size,
41
(sizeof(BufferQueue::
ControlBlock
) - 1) + (Size * Count));
44
void decRefCount(BufferQueue::
ControlBlock
*C, size_t Size, size_t Count) {
51
void incRefCount(BufferQueue::
ControlBlock
*C) {
114
// First, we initialize the refcount in the
ControlBlock
, which we treat as
120
// store. Each buffer will start at the `Data` member of the
ControlBlock
, and
Completed in 12 milliseconds
Indexes created Wed Oct 01 19:09:53 GMT 2025