Lines Matching defs:block
84 /* We'll need at least one command block per bin. Make sure that's
88 /* We'll also need space for at least one other data block */
308 struct data_block *block, *tmp;
310 for (block = list->head; block; block = tmp) {
311 tmp = block->next;
312 if (block != &list->first)
313 FREE(block);
342 struct cmd_block *block = lp_scene_alloc(scene, sizeof(struct cmd_block));
343 if (block) {
345 bin->tail->next = block;
346 bin->tail = block;
349 bin->head = block;
350 bin->tail = block;
352 //memset(block, 0, sizeof *block);
353 block->next = NULL;
354 block->count = 0;
356 return block;
369 struct data_block *block = MALLOC_STRUCT(data_block);
370 if (!block)
373 scene->scene_size += sizeof *block;
375 block->used = 0;
376 block->next = scene->data.head;
377 scene->data.head = block;
379 return block;
392 const struct data_block *block;
393 for (block = scene->data.head; block; block = block->next) {
394 size += block->used;
427 /* If the block is half-empty, then append the reference here.
433 /* Create a new block if no half-empty block was found.
451 /* Append the reference to the reference block.
491 /* If the block is half-empty, then append the reference here.
497 /* Create a new block if no half-empty block was found.
509 /* Append the reference to the reference block.