Lines Matching refs:pentry
347 struct pending_entry *pentry = NULL; in process_pending_queue() local
354 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
355 if (unlikely(!pentry->busy)) { in process_pending_queue()
360 info = (struct cpt_info_buffer *)pentry->post_arg; in process_pending_queue()
368 status = (union cpt_res_s *)pentry->completion_addr; in process_pending_queue()
375 pentry->completion_addr = NULL; in process_pending_queue()
376 pentry->busy = false; in process_pending_queue()
378 pentry->post_arg = NULL; in process_pending_queue()
389 pentry->completion_addr = NULL; in process_pending_queue()
390 pentry->busy = false; in process_pending_queue()
392 pentry->post_arg = NULL; in process_pending_queue()
407 pentry->completion_addr = NULL; in process_pending_queue()
408 pentry->busy = false; in process_pending_queue()
409 pentry->post_arg = NULL; in process_pending_queue()
419 pentry->callback(ccode, pentry->callback_arg); in process_pending_queue()
430 struct pending_entry *pentry = NULL; in process_request() local
504 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen); in process_request()
505 if (unlikely(!pentry)) { in process_request()
519 pentry->completion_addr = info->completion_addr; in process_request()
520 pentry->post_arg = (void *)info; in process_request()
521 pentry->callback = req->callback; in process_request()
522 pentry->callback_arg = req->callback_arg; in process_request()
523 info->pentry = pentry; in process_request()
524 pentry->busy = true; in process_request()
528 info->pentry = pentry; in process_request()