On 05.02.2025 17:58, Oleksii Kurochko wrote: > > On 2/4/25 2:56 PM, Jan Beulich wrote: >> On 03.02.2025 14:12, Oleksii Kurochko wrote: >>> @@ -160,6 +158,18 @@ static inline struct page_info *virt_to_page(const >>> void *v) >>> >>> pte_t * pt_walk(vaddr_t va, unsigned int *pte_level); >>> >>> +static inline mfn_t vmap_to_mfn_(vaddr_t va) >> Btw., for static functions (and variables) a prefixing underscore is >> fine to use. Its identifiers that don't have file scope which shouldn't. > > Should it be used a single underscore prefixing or a double one?
Never use double underscores as an identifier prefix of your own. Only the compiler (and in principle the library, if there was one) may use such. Jan
