Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_cm.c102 INIT_LIST_HEAD(&cep->work_freelist); in erdma_cep_alloc()
122 list_for_each_safe(w, tmp, &cep->work_freelist) { in erdma_cm_free_work()
146 list_add(&work->list, &work->cep->work_freelist); in erdma_put_work()
190 if (!list_empty(&cep->work_freelist)) in __erdma_cep_dealloc()
205 if (!list_empty(&cep->work_freelist)) { in erdma_get_work()
206 work = list_entry(cep->work_freelist.next, struct erdma_cm_work, in erdma_get_work()
222 if (!(list_empty(&cep->work_freelist))) in erdma_cm_alloc_work()
228 list_add(&work->list, &cep->work_freelist); in erdma_cm_alloc_work()
H A Derdma_cm.h103 struct list_head work_freelist; member
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_cm.c173 INIT_LIST_HEAD(&cep->work_freelist); in siw_cep_alloc()
195 list_for_each_safe(w, tmp, &cep->work_freelist) { in siw_cm_free_work()
219 list_add(&work->list, &work->cep->work_freelist); in siw_put_work()
263 if (!list_empty(&cep->work_freelist)) in __siw_cep_dealloc()
280 if (!list_empty(&cep->work_freelist)) { in siw_get_work()
281 work = list_entry(cep->work_freelist.next, struct siw_cm_work, in siw_get_work()
296 if (!(list_empty(&cep->work_freelist))) in siw_cm_alloc_work()
302 list_add(&work->list, &cep->work_freelist); in siw_cm_alloc_work()
H A Dsiw_cm.h54 struct list_head work_freelist; member