Lines Matching defs:free
96 * @free: entry in the pool free body list
107 struct list_head free;
127 * @free: List of free DLB entries
128 * @lock: Protects the free list
139 struct list_head free;
151 * @free: Free pool entries
152 * @lock: Protects the free list
162 struct list_head free;
212 * @lock: protects the free, active, queued, and pending lists
213 * @free: array of all free display lists
227 struct list_head free;
292 INIT_LIST_HEAD(&pool->free);
303 list_add_tail(&dlb->free, &pool->free);
343 if (!list_empty(&pool->free)) {
344 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free);
345 list_del(&dlb->free);
373 list_add_tail(&dlb->free, &dlb->pool->free);
444 INIT_LIST_HEAD(&pool->free);
486 list_add_tail(&cmd->free, &pool->free);
500 if (!list_empty(&pool->free)) {
501 cmd = list_first_entry(&pool->free, struct vsp1_dl_ext_cmd,
502 free);
503 list_del(&cmd->free);
522 list_add_tail(&cmd->free, &cmd->pool->free);
604 * vsp1_dl_list_get - Get a free display list
607 * Get a display list from the pool of free lists and return it.
620 if (!list_empty(&dlm->free)) {
621 dl = list_first_entry(&dlm->free, struct vsp1_dl_list, list);
673 * Return the display list to the 'free' pool. If the list had already
679 list_add_tail(&dl->list, &dl->dlm->free);
686 * Release the display list and return it to the pool of free lists.
1097 list_count = list_count_nodes(&dlm->free);
1134 INIT_LIST_HEAD(&dlm->free);
1168 list_add_tail(&dl->list, &dlm->free);
1192 list_for_each_entry_safe(dl, next, &dlm->free, list) {