Lines Matching refs:pentry
334 struct pending_entry *pentry = NULL;
341 pentry = &pqueue->head[pqueue->front];
342 if (unlikely(!pentry->busy)) {
347 info = (struct cpt_info_buffer *)pentry->post_arg;
355 status = (union cpt_res_s *)pentry->completion_addr;
362 pentry->completion_addr = NULL;
363 pentry->busy = false;
365 pentry->post_arg = NULL;
376 pentry->completion_addr = NULL;
377 pentry->busy = false;
379 pentry->post_arg = NULL;
394 pentry->completion_addr = NULL;
395 pentry->busy = false;
396 pentry->post_arg = NULL;
406 pentry->callback(ccode, pentry->callback_arg);
417 struct pending_entry *pentry = NULL;
489 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen);
490 if (unlikely(!pentry)) {
504 pentry->completion_addr = info->completion_addr;
505 pentry->post_arg = (void *)info;
506 pentry->callback = req->callback;
507 pentry->callback_arg = req->callback_arg;
508 info->pentry = pentry;
509 pentry->busy = true;
513 info->pentry = pentry;