Lines Matching refs:blocks
6 A :dfn:`memory slab` is a kernel object that allows memory blocks
8 All memory blocks in a memory slab have a single fixed size,
27 * The **number of blocks** available for allocation.
30 * A **buffer** that provides the memory for the memory slab's blocks.
31 It must be at least "block size" times "number of blocks" bytes long.
35 all memory blocks in the buffer are similarly aligned to this boundary,
39 its blocks as unused.
45 If all the blocks are currently in use, a thread can optionally wait
52 allows for a memory slab with smaller blocks and others with larger-sized
53 blocks. Alternatively, a memory pool object may be used.
58 A memory slab's buffer is an array of fixed-size blocks,
59 with no wasted space between the blocks.
61 The memory slab keeps track of unallocated blocks using a linked list;
73 The following code defines and initializes a memory slab that has 6 blocks
138 Use a memory slab to allocate and free memory in fixed-size blocks.
140 Use memory slab blocks when sending large amounts of data from one thread