Lines Matching defs:blocks
141 * Split into power-of-two blocks, in case we are given a size that is
303 * drm_buddy_free_list - free blocks
306 * @objects: input list head to free blocks
405 * We really don't want to leave around a bunch of split blocks, since
407 * free the allocated blocks.
493 struct list_head *blocks)
548 list_splice_tail(&allocated, blocks);
553 * We really don't want to leave around a bunch of split blocks, since
555 * free the allocated blocks.
571 struct list_head *blocks)
579 return __alloc_range(mm, &dfs, start, size, blocks);
587 * @blocks: Input and output list of allocated blocks.
589 * On success will contain the newly allocated blocks
602 struct list_head *blocks)
610 if (!list_is_singular(blocks))
613 block = list_first_entry(blocks,
639 err = __alloc_range(mm, &dfs, new_start, new_size, blocks);
643 list_add(&block->link, blocks);
652 * drm_buddy_alloc_blocks - allocate power-of-two blocks
659 * @blocks: output list head to add allocated blocks
674 struct list_head *blocks,
703 return __drm_buddy_alloc_range(mm, start, size, blocks);
745 list_splice_tail(&allocated, blocks);
802 drm_printf(p, ", blocks: %llu\n", count);