Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/erdma/
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()
Derdma_cm.h103 struct list_head work_freelist; member
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_cm.c167 INIT_LIST_HEAD(&cep->work_freelist); in siw_cep_alloc()
189 list_for_each_safe(w, tmp, &cep->work_freelist) { in siw_cm_free_work()
213 list_add(&work->list, &work->cep->work_freelist); in siw_put_work()
257 if (!list_empty(&cep->work_freelist)) in __siw_cep_dealloc()
274 if (!list_empty(&cep->work_freelist)) { in siw_get_work()
275 work = list_entry(cep->work_freelist.next, struct siw_cm_work, in siw_get_work()
290 if (!(list_empty(&cep->work_freelist))) in siw_cm_alloc_work()
296 list_add(&work->list, &cep->work_freelist); in siw_cm_alloc_work()
Dsiw_cm.h54 struct list_head work_freelist; member