Home
last modified time | relevance | path

Searched refs:work_freelist (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/sw/siw/
Dsiw_cm.c170 INIT_LIST_HEAD(&cep->work_freelist); in siw_cep_alloc()
192 list_for_each_safe(w, tmp, &cep->work_freelist) { in siw_cm_free_work()
216 list_add(&work->list, &work->cep->work_freelist); in siw_put_work()
260 if (!list_empty(&cep->work_freelist)) in __siw_cep_dealloc()
277 if (!list_empty(&cep->work_freelist)) { in siw_get_work()
278 work = list_entry(cep->work_freelist.next, struct siw_cm_work, in siw_get_work()
293 if (!(list_empty(&cep->work_freelist))) in siw_cm_alloc_work()
299 list_add(&work->list, &cep->work_freelist); in siw_cm_alloc_work()
Dsiw_cm.h54 struct list_head work_freelist; member