Lines Matching defs:address
65 * the first mappable virtual address is 0
66 * (TASK_SIZE is the maximum virtual address space)
81 /* to align the pointer to a pointer address */
89 #define PAGE_PTR(address) \
90 ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)
182 /* the PTE needs a physical address */
210 /* the PTE contains a physical address */
216 /* permanent address of a page */
233 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
236 static inline pgd_t * pgd_offset(const struct mm_struct *mm, unsigned long address)
238 return mm->pgd + pgd_index(address);
242 #define pgd_offset_k(address) pgd_offset(&init_mm, address)
245 #define __pte_offset(address) \
246 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
247 #define pte_offset_kernel(dir, address) \
248 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
249 #define pte_offset_map(dir, address) \
250 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
251 #define pte_offset_map_nested(dir, address) pte_offset_map(dir, address)
276 unsigned long address, pte_t *ptep)