Lines Matching refs:pentry
86 static inline void free_pentry(struct otx_cpt_pending_entry *pentry)
88 pentry->completion_addr = NULL;
89 pentry->info = NULL;
90 pentry->callback = NULL;
91 pentry->areq = NULL;
92 pentry->resume_sender = false;
93 pentry->busy = false;
302 struct otx_cpt_pending_entry *pentry = NULL;
325 pentry = get_free_pending_entry(pqueue, pqueue->qlen);
327 while (unlikely(!pentry) && retry--) {
331 pentry = get_free_pending_entry(pqueue, pqueue->qlen);
334 if (unlikely(!pentry)) {
347 pentry->resume_sender = true;
349 pentry->resume_sender = false;
350 resume_sender = pentry->resume_sender;
353 pentry->completion_addr = info->completion_addr;
354 pentry->info = info;
355 pentry->callback = req->callback;
356 pentry->areq = req->areq;
357 pentry->busy = true;
358 info->pentry = pentry;
509 struct otx_cpt_pending_entry *pentry = NULL;
518 pentry = &pqueue->head[pqueue->front];
520 if (WARN_ON(!pentry)) {
526 if (unlikely(!pentry->busy)) {
531 if (unlikely(!pentry->callback)) {
536 cpt_info = pentry->info;
548 cpt_status = (union otx_cpt_res_s *) pentry->completion_addr;
588 callback = pentry->callback;
589 areq = pentry->areq;
590 free_pentry(pentry);