Home | History | Annotate | Download | only in Python

Lines Matching refs:block

4 /* A simple arena block structure.

8 block.
20 /* Total number of bytes owned by this block available to pass out.
37 /* Pointer to the first allocatable byte owned by this block. Read-
41 } block;
49 /* Pointer to the first block allocated for the arena, never NULL.
50 It is used only to find the first block when the arena is
53 block *a_head;
55 /* Pointer to the block currently used for allocation. It's
57 call to block_alloc(), it means a new block has been allocated
60 block *a_cur;
78 static block *
81 /* Allocate header and block as one unit.
83 block *b = (block *)malloc(sizeof(block) + size);
95 block_free(block *b) {
97 block *next = b->ab_next;
104 block_alloc(block *b, size_t size)
111 the default block, allocate a one-off block that is
113 /* TODO(jhylton): Think about space waste at end of block */
114 block *newbl = block_new(
192 /* Reset cur if we allocated a new block. */