@@ -231,7 +231,7 @@ struct qp_guest_endpoint {
231
231
u64 num_ppns ;
232
232
void * produce_q ;
233
233
void * consume_q ;
234
- struct PPNSet ppn_set ;
234
+ struct ppn_set ppn_set ;
235
235
};
236
236
237
237
struct qp_list {
@@ -461,7 +461,7 @@ static int __qp_memcpy_from_queue(void *dest,
461
461
static int qp_alloc_ppn_set (void * prod_q ,
462
462
u64 num_produce_pages ,
463
463
void * cons_q ,
464
- u64 num_consume_pages , struct PPNSet * ppn_set )
464
+ u64 num_consume_pages , struct ppn_set * ppn_set )
465
465
{
466
466
u32 * produce_ppns ;
467
467
u32 * consume_ppns ;
@@ -532,7 +532,7 @@ static int qp_alloc_ppn_set(void *prod_q,
532
532
/*
533
533
* Frees the two list of PPNs for a queue pair.
534
534
*/
535
- static void qp_free_ppn_set (struct PPNSet * ppn_set )
535
+ static void qp_free_ppn_set (struct ppn_set * ppn_set )
536
536
{
537
537
if (ppn_set -> initialized ) {
538
538
/* Do not call these functions on NULL inputs. */
@@ -546,7 +546,7 @@ static void qp_free_ppn_set(struct PPNSet *ppn_set)
546
546
* Populates the list of PPNs in the hypercall structure with the PPNS
547
547
* of the produce queue and the consume queue.
548
548
*/
549
- static int qp_populate_ppn_set (u8 * call_buf , const struct PPNSet * ppn_set )
549
+ static int qp_populate_ppn_set (u8 * call_buf , const struct ppn_set * ppn_set )
550
550
{
551
551
memcpy (call_buf , ppn_set -> produce_ppns ,
552
552
ppn_set -> num_produce_pages * sizeof (* ppn_set -> produce_ppns ));
0 commit comments