Lines Matching refs:free
106 struct list_head free; member
138 struct list_head free; member
161 struct list_head free; member
222 struct list_head free; member
285 INIT_LIST_HEAD(&pool->free); in vsp1_dl_body_pool_create()
296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create()
336 if (!list_empty(&pool->free)) { in vsp1_dl_body_get()
337 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free); in vsp1_dl_body_get()
338 list_del(&dlb->free); in vsp1_dl_body_get()
366 list_add_tail(&dlb->free, &dlb->pool->free); in vsp1_dl_body_put()
437 INIT_LIST_HEAD(&pool->free); in vsp1_dl_cmd_pool_create()
479 list_add_tail(&cmd->free, &pool->free); in vsp1_dl_cmd_pool_create()
493 if (!list_empty(&pool->free)) { in vsp1_dl_ext_cmd_get()
494 cmd = list_first_entry(&pool->free, struct vsp1_dl_ext_cmd, in vsp1_dl_ext_cmd_get()
495 free); in vsp1_dl_ext_cmd_get()
496 list_del(&cmd->free); in vsp1_dl_ext_cmd_get()
515 list_add_tail(&cmd->free, &cmd->pool->free); in vsp1_dl_ext_cmd_put()
611 if (!list_empty(&dlm->free)) { in vsp1_dl_list_get()
612 dl = list_first_entry(&dlm->free, struct vsp1_dl_list, list); in vsp1_dl_list_get()
660 list_add_tail(&dl->list, &dl->dlm->free); in __vsp1_dl_list_put()
1106 INIT_LIST_HEAD(&dlm->free); in vsp1_dlm_create()
1140 list_add_tail(&dl->list, &dlm->free); in vsp1_dlm_create()
1162 list_for_each_entry_safe(dl, next, &dlm->free, list) { in vsp1_dlm_destroy()