Lines Matching defs:Block
36 // Allocates a block of memory. If the buffer is out of directly available
41 // size: the size of the memory block to allocate.
44 // the offset of the allocated memory block.
47 // Frees a block of memory, pending the passage of a token. That memory won't
51 // offset: the offset of the memory block to free.
55 // Gets the size of the largest free block that is available without waiting.
58 // Gets the size of the largest free block that can be allocated if the
59 // caller can wait. Allocating a block of this size will succeed, but may
60 // block.
71 // Book-keeping sturcture that describes a block of memory.
72 struct Block {
73 Block(Offset _offset, unsigned int _size, State _state)
85 typedef std::deque<Block> Container;
128 // Allocates a block of memory. If the buffer is out of directly available
133 // size: the size of the memory block to allocate.
136 // the pointer to the allocated memory block, or NULL if out of
143 // Allocates a block of memory. If the buffer is out of directly available
152 // the pointer to the allocated memory block, or NULL if out of
158 // Frees a block of memory, pending the passage of a token. That memory won't
162 // pointer: the pointer to the memory block to free.
169 // Gets a pointer to a memory block given the base memory and the offset.
174 // Gets the offset to a memory block given the base memory and the address.
179 // Gets the size of the largest free block that is available without waiting.
184 // Gets the size of the largest free block that can be allocated if the