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