Searched refs:work_freelist (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/erdma/ |
D | erdma_cm.c | 102 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()
|
D | erdma_cm.h | 103 struct list_head work_freelist; member
|
/linux-6.12.1/drivers/infiniband/sw/siw/ |
D | siw_cm.c | 167 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()
|
D | siw_cm.h | 54 struct list_head work_freelist; member
|