Lines Matching defs:chunk
2172 * Utility routine to carve a slice off a chunk of allocated memory,
2173 * updating the chunk descriptor accordingly. The size of the slice
2177 bge_slice_chunk(dma_area_t *slice, dma_area_t *chunk,
2184 ASSERT(totsize <= chunk->alength);
2186 *slice = *chunk;
2192 chunk->mem_va = (caddr_t)chunk->mem_va + totsize;
2193 chunk->alength -= totsize;
2194 chunk->offset += totsize;
2195 chunk->cookie.dmac_laddress += totsize;
2196 chunk->cookie.dmac_size -= totsize;