Home
last modified time | relevance | path

Searched refs:__pg (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/
Dmemory_model.h45 ({ const struct page *__pg = (pg); \
46 struct pglist_data *__pgdat = NODE_DATA(page_to_nid(__pg)); \
47 (unsigned long)(__pg - __pgdat->node_mem_map) + \
63 ({ const struct page *__pg = (pg); \
64 int __sec = page_to_section(__pg); \
65 (unsigned long)(__pg - __section_mem_map_addr(__nr_to_section(__sec))); \
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_types.h178 #define __pg(x) __pgprot(x) macro
182 #define PAGE_NONE __pg( 0| 0| 0|___A| 0| 0| 0|___G)
183 #define PAGE_SHARED __pg(__PP|__RW|_USR|___A|__NX| 0| 0| 0)
184 #define PAGE_SHARED_EXEC __pg(__PP|__RW|_USR|___A| 0| 0| 0| 0)
185 #define PAGE_COPY_NOEXEC __pg(__PP| 0|_USR|___A|__NX| 0| 0| 0)
186 #define PAGE_COPY_EXEC __pg(__PP| 0|_USR|___A| 0| 0| 0| 0)
187 #define PAGE_COPY __pg(__PP| 0|_USR|___A|__NX| 0| 0| 0)
188 #define PAGE_READONLY __pg(__PP| 0|_USR|___A|__NX| 0| 0| 0)
189 #define PAGE_READONLY_EXEC __pg(__PP| 0|_USR|___A| 0| 0| 0| 0)