Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/erdma/
Derdma_cm.c101 INIT_LIST_HEAD(&cep->work_freelist); in erdma_cep_alloc()
121 list_for_each_safe(w, tmp, &cep->work_freelist) { in erdma_cm_free_work()
145 list_add(&work->list, &work->cep->work_freelist); in erdma_put_work()
189 if (!list_empty(&cep->work_freelist)) in __erdma_cep_dealloc()
204 if (!list_empty(&cep->work_freelist)) { in erdma_get_work()
205 work = list_entry(cep->work_freelist.next, struct erdma_cm_work, in erdma_get_work()
221 if (!(list_empty(&cep->work_freelist))) in erdma_cm_alloc_work()
227 list_add(&work->list, &cep->work_freelist); in erdma_cm_alloc_work()
Derdma_cm.h103 struct list_head work_freelist; member
/Linux-v6.1/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