27
27
28
28
/**
29
29
* gmap_alloc - allocate and initialize a guest address space
30
- * @mm: pointer to the parent mm_struct
31
30
* @limit: maximum address of the gmap address space
32
31
*
33
32
* Returns a guest address space structure.
@@ -504,7 +503,7 @@ EXPORT_SYMBOL_GPL(gmap_translate);
504
503
505
504
/**
506
505
* gmap_unlink - disconnect a page table from the gmap shadow tables
507
- * @gmap : pointer to guest mapping meta data structure
506
+ * @mm : pointer to the parent mm_struct
508
507
* @table: pointer to the host page table
509
508
* @vmaddr: vm address associated with the host page table
510
509
*/
@@ -527,7 +526,7 @@ static void gmap_pmdp_xchg(struct gmap *gmap, pmd_t *old, pmd_t new,
527
526
unsigned long gaddr );
528
527
529
528
/**
530
- * gmap_link - set up shadow page tables to connect a host to a guest address
529
+ * __gmap_link - set up shadow page tables to connect a host to a guest address
531
530
* @gmap: pointer to guest mapping meta data structure
532
531
* @gaddr: guest address
533
532
* @vmaddr: vm address
@@ -1971,7 +1970,7 @@ int gmap_shadow_sgt(struct gmap *sg, unsigned long saddr, unsigned long sgt,
1971
1970
EXPORT_SYMBOL_GPL (gmap_shadow_sgt );
1972
1971
1973
1972
/**
1974
- * gmap_shadow_lookup_pgtable - find a shadow page table
1973
+ * gmap_shadow_pgt_lookup - find a shadow page table
1975
1974
* @sg: pointer to the shadow guest address space structure
1976
1975
* @saddr: the address in the shadow aguest address space
1977
1976
* @pgt: parent gmap address of the page table to get shadowed
@@ -2165,7 +2164,7 @@ int gmap_shadow_page(struct gmap *sg, unsigned long saddr, pte_t pte)
2165
2164
}
2166
2165
EXPORT_SYMBOL_GPL (gmap_shadow_page );
2167
2166
2168
- /**
2167
+ /*
2169
2168
* gmap_shadow_notify - handle notifications for shadow gmap
2170
2169
*
2171
2170
* Called with sg->parent->shadow_lock.
@@ -2225,7 +2224,7 @@ static void gmap_shadow_notify(struct gmap *sg, unsigned long vmaddr,
2225
2224
/**
2226
2225
* ptep_notify - call all invalidation callbacks for a specific pte.
2227
2226
* @mm: pointer to the process mm_struct
2228
- * @addr : virtual address in the process address space
2227
+ * @vmaddr : virtual address in the process address space
2229
2228
* @pte: pointer to the page table entry
2230
2229
* @bits: bits from the pgste that caused the notify call
2231
2230
*
0 commit comments