Lines Matching refs:pentry
330 struct pending_entry *pentry = NULL;
337 pentry = &pqueue->head[pqueue->front];
338 if (unlikely(!pentry->busy)) {
343 info = (struct cpt_info_buffer *)pentry->post_arg;
351 status = (union cpt_res_s *)pentry->completion_addr;
358 pentry->completion_addr = NULL;
359 pentry->busy = false;
361 pentry->post_arg = NULL;
372 pentry->completion_addr = NULL;
373 pentry->busy = false;
375 pentry->post_arg = NULL;
390 pentry->completion_addr = NULL;
391 pentry->busy = false;
392 pentry->post_arg = NULL;
402 pentry->callback(ccode, pentry->callback_arg);
413 struct pending_entry *pentry = NULL;
485 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen);
486 if (unlikely(!pentry)) {
500 pentry->completion_addr = info->completion_addr;
501 pentry->post_arg = (void *)info;
502 pentry->callback = req->callback;
503 pentry->callback_arg = req->callback_arg;
504 info->pentry = pentry;
505 pentry->busy = true;
509 info->pentry = pentry;