Searched refs:KVADDR_TO_NID (Results 1 – 9 of 9) sorted by relevance
43 #define KVADDR_TO_NID(kaddr) \ macro64 NODE_MEM_MAP(KVADDR_TO_NID((unsigned long)(kaddr)))81 #define kern_addr_valid(addr) ((KVADDR_TO_NID((unsigned long)addr) > \83 NODE_DATA(KVADDR_TO_NID((unsigned long)addr))->valid_addr_bitmap)))
79 #define KVADDR_TO_NID(kaddr) PHYSADDR_TO_NID(__pa(kaddr)) macro96 NODE_MEM_MAP(KVADDR_TO_NID((unsigned long)(kaddr)))103 #define LOCAL_BASE_ADDR(kaddr) ((unsigned long)__va(NODE_DATA(KVADDR_TO_NID(kaddr))->node_start_pad…109 NODE_DATA(KVADDR_TO_NID(kaddr))->valid_addr_bitmap)
82 #define KVADDR_TO_NID(addr) (((unsigned long)(addr) - PAGE_OFFSET) >> 27) macro93 #define ADDR_TO_MAPBASE(kaddr) NODE_MEM_MAP(KVADDR_TO_NID(kaddr))
99 #define KVADDR_TO_NID(addr) \ macro113 NODE_MEM_MAP(KVADDR_TO_NID((unsigned long)(kaddr)))
117 #define KVADDR_TO_NID(addr) \ macro131 NODE_MEM_MAP(KVADDR_TO_NID((unsigned long)(kaddr)))
67 #define KVADDR_TO_NID(kaddr) phys_to_nid(__pa(kaddr)) macro84 NODE_MEM_MAP(KVADDR_TO_NID((unsigned long)(kaddr)))91 #define LOCAL_BASE_ADDR(kaddr) ((unsigned long)__va(NODE_DATA(KVADDR_TO_NID(kaddr))->node_start_pad…
105 #define virt_addr_valid(kaddr) (KVADDR_TO_NID(kaddr) < NR_NODES)121 ({ unsigned int node = KVADDR_TO_NID(page); \
28 #define KVADDR_TO_NID(kaddr) PHYSADDR_TO_NID(__pa(kaddr)) macro
280 reserve_bootmem_node(NODE_DATA(KVADDR_TO_NID(initrd_start)), in setup_memory()