/mm/ |
D | vmalloc.c | 58 static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end) in vunmap_pte_range() 69 static void vunmap_pmd_range(pud_t *pud, unsigned long addr, unsigned long end) in vunmap_pmd_range() 83 static void vunmap_pud_range(pgd_t *pgd, unsigned long addr, unsigned long end) in vunmap_pud_range() 97 static void vunmap_page_range(unsigned long addr, unsigned long end) in vunmap_page_range() 112 static int vmap_pte_range(pmd_t *pmd, unsigned long addr, in vmap_pte_range() 138 static int vmap_pmd_range(pud_t *pud, unsigned long addr, in vmap_pmd_range() 155 static int vmap_pud_range(pgd_t *pgd, unsigned long addr, in vmap_pud_range() 183 unsigned long addr = start; in vmap_page_range_noflush() local 217 unsigned long addr = (unsigned long)x; in is_vmalloc_or_module_addr() local 229 unsigned long addr = (unsigned long) vmalloc_addr; in vmalloc_to_page() local [all …]
|
D | pagewalk.c | 6 static int walk_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in walk_pte_range() 27 static int walk_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in walk_pmd_range() 72 static int walk_pud_range(pgd_t *pgd, unsigned long addr, unsigned long end, in walk_pud_range() 101 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end() 109 unsigned long addr, unsigned long end, in walk_hugetlb_range() 132 unsigned long addr, unsigned long end, in walk_hugetlb_range() 167 int walk_page_range(unsigned long addr, unsigned long end, in walk_page_range()
|
D | nommu.c | 239 void vfree(const void *addr) in vfree() 275 struct page *vmalloc_to_page(const void *addr) in vmalloc_to_page() 281 unsigned long vmalloc_to_pfn(const void *addr) in vmalloc_to_pfn() 287 long vread(char *buf, char *addr, unsigned long count) in vread() 297 long vwrite(char *buf, char *addr, unsigned long count) in vwrite() 439 void vunmap(const void *addr) in vunmap() 496 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page() 835 struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) in find_vma() 863 struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr) in find_extend_vma() 882 unsigned long addr, in find_vma_exact() [all …]
|
D | memory.c | 391 unsigned long addr) in free_pte_range() 400 unsigned long addr, unsigned long end, in free_pmd_range() 433 unsigned long addr, unsigned long end, in free_pud_range() 469 unsigned long addr, unsigned long end, in free_pgd_range() 531 unsigned long addr = vma->vm_start; in free_pgtables() local 644 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte() 748 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page() 805 unsigned long addr, int *rss) in copy_one_pte() 888 unsigned long addr, unsigned long end) in copy_pte_range() 951 unsigned long addr, unsigned long end) in copy_pmd_range() [all …]
|
D | mincore.c | 23 unsigned long addr, unsigned long end, in mincore_hugetlb_page_range() 98 unsigned long addr, unsigned long end, in mincore_unmapped_range() 117 unsigned long addr, unsigned long end, in mincore_pte_range() 160 unsigned long addr, unsigned long end, in mincore_pmd_range() 185 unsigned long addr, unsigned long end, in mincore_pud_range() 203 unsigned long addr, unsigned long end, in mincore_page_range() 225 static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec) in do_mincore()
|
D | mmap.c | 53 #define arch_mmap_check(addr, len, flags) (0) argument 57 #define arch_rebalance_pgtables(addr, len) (addr) argument 582 static int find_vma_links(struct mm_struct *mm, unsigned long addr, in find_vma_links() 617 unsigned long addr, unsigned long end) in count_vma_pages_range() 1073 struct vm_area_struct *prev, unsigned long addr, in vma_merge() 1296 unsigned long do_mmap_pgoff(struct file *file, unsigned long addr, in do_mmap_pgoff() 1444 SYSCALL_DEFINE6(mmap_pgoff, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument 1496 unsigned long addr; member 1571 unsigned long mmap_region(struct file *file, unsigned long addr, in mmap_region() 1954 arch_get_unmapped_area(struct file *filp, unsigned long addr, in arch_get_unmapped_area() [all …]
|
D | sparse-vmemmap.c | 101 pte_t * __meminit vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node) in vmemmap_pte_populate() 115 pmd_t * __meminit vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node) in vmemmap_pmd_populate() 127 pud_t * __meminit vmemmap_pud_populate(pgd_t *pgd, unsigned long addr, int node) in vmemmap_pud_populate() 139 pgd_t * __meminit vmemmap_pgd_populate(unsigned long addr, int node) in vmemmap_pgd_populate() 154 unsigned long addr = start; in vmemmap_populate_basepages() local
|
D | fremap.c | 32 unsigned long addr, pte_t *ptep) in zap_pte() 73 unsigned long addr, unsigned long pgoff, pgprot_t prot) in install_file_pte() 102 int generic_file_remap_pages(struct vm_area_struct *vma, unsigned long addr, in generic_file_remap_pages() 226 unsigned long addr; in SYSCALL_DEFINE5() local
|
D | gup.c | 666 struct page *get_dump_page(unsigned long addr) in get_dump_page() 719 static int gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, in gup_pte_range() 778 static int gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, in gup_pte_range() 785 static int gup_huge_pmd(pmd_t orig, pmd_t *pmdp, unsigned long addr, in gup_huge_pmd() 832 static int gup_huge_pud(pud_t orig, pud_t *pudp, unsigned long addr, in gup_huge_pud() 874 static int gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end, in gup_pmd_range() 908 static int gup_pud_range(pgd_t *pgdp, unsigned long addr, unsigned long end, in gup_pud_range() 940 unsigned long addr, len, end; in __get_user_pages_fast() local
|
D | mremap.c | 31 static pmd_t *get_old_pmd(struct mm_struct *mm, unsigned long addr) in get_old_pmd() 53 unsigned long addr) in alloc_new_pmd() 336 static struct vm_area_struct *vma_to_resize(unsigned long addr, in vma_to_resize() 395 static unsigned long mremap_to(unsigned long addr, unsigned long old_len, in mremap_to() 476 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument
|
D | mprotect.c | 40 unsigned long addr, int prot_numa, spinlock_t **ptl) in lock_pte_protection() 61 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range() 134 pud_t *pud, unsigned long addr, unsigned long end, in change_pmd_range() 191 pgd_t *pgd, unsigned long addr, unsigned long end, in change_pud_range() 211 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection_range()
|
D | mempolicy.c | 485 unsigned long addr, unsigned long end, in queue_pages_pte_range() 552 unsigned long addr, unsigned long end, in queue_pages_pmd_range() 580 unsigned long addr, unsigned long end, in queue_pages_pud_range() 602 unsigned long addr, unsigned long end, in queue_pages_pgd_range() 632 unsigned long addr, unsigned long end) in change_prot_numa() 644 unsigned long addr, unsigned long end) in change_prot_numa() 866 static int lookup_node(struct mm_struct *mm, unsigned long addr) in lookup_node() 881 unsigned long addr, unsigned long flags) in do_get_mempolicy() 1486 unsigned long, addr, unsigned long, flags) in SYSCALL_DEFINE5() argument 1514 compat_ulong_t, addr, compat_ulong_t, flags) in COMPAT_SYSCALL_DEFINE5() argument [all …]
|
D | early_ioremap.c | 159 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap() 235 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap() 242 void __init early_memunmap(void *addr, unsigned long size) in early_memunmap()
|
D | vmacache.c | 58 void vmacache_update(unsigned long addr, struct vm_area_struct *newvma) in vmacache_update() 84 struct vm_area_struct *vmacache_find(struct mm_struct *mm, unsigned long addr) in vmacache_find()
|
D | percpu-vm.c | 133 static void __pcpu_unmap_pages(unsigned long addr, int nr_pages) in __pcpu_unmap_pages() 191 static int __pcpu_map_pages(unsigned long addr, struct page **pages, in __pcpu_map_pages() 357 static struct page *pcpu_addr_to_page(void *addr) in pcpu_addr_to_page()
|
D | debug-pagealloc.c | 26 void *addr = kmap_atomic(page); in poison_page() local 77 void *addr; in unpoison_page() local
|
D | iov_iter.c | 453 unsigned long addr; in get_pages_iovec() local 481 unsigned long addr; in get_pages_alloc_iovec() local 520 unsigned long addr = (unsigned long)iov->iov_base + offset; in iov_iter_npages_iovec() local 553 char *addr = kmap_atomic(page); in memzero_page() local 859 size_t copy_to_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() 868 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter()
|
D | util.c | 254 unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, in vm_mmap_pgoff() 274 unsigned long vm_mmap(struct file *file, unsigned long addr, in vm_mmap() 287 void kvfree(const void *addr) in kvfree()
|
D | ksm.c | 364 static int break_ksm(struct vm_area_struct *vma, unsigned long addr) in break_ksm() 413 unsigned long addr) in find_mergeable_vma() 429 unsigned long addr = rmap_item->address; in break_cow() local 462 unsigned long addr = rmap_item->address; in get_mergeable_page() local 685 unsigned long addr; in unmerge_ksm_pages() local 832 void *addr = kmap_atomic(page); in calc_checksum() local 860 unsigned long addr; in write_protect_page() local 937 unsigned long addr; in replace_page() local 1510 unsigned long addr) in get_next_rmap_item()
|
D | percpu.c | 87 #define __addr_to_pcpu_ptr(addr) \ argument 100 #define __addr_to_pcpu_ptr(addr) (void __percpu *)(addr) argument 193 static bool pcpu_addr_in_first_chunk(void *addr) in pcpu_addr_in_first_chunk() 200 static bool pcpu_addr_in_reserved_chunk(void *addr) in pcpu_addr_in_reserved_chunk() 836 static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr) in pcpu_chunk_addr_search() 1251 void *addr; in free_percpu() local 1299 bool is_kernel_percpu_address(unsigned long addr) in is_kernel_percpu_address() 1340 phys_addr_t per_cpu_ptr_to_phys(void *addr) in per_cpu_ptr_to_phys()
|
D | nobootmem.c | 39 u64 addr; in __alloc_memory_core_early() local 70 void __init free_bootmem_late(unsigned long addr, unsigned long size) in free_bootmem_late() 216 void __init free_bootmem(unsigned long addr, unsigned long size) in free_bootmem()
|
D | slub.c | 197 unsigned long addr; /* Called from address */ member 273 static inline int slab_index(void *p, struct kmem_cache *s, void *addr) in slab_index() 444 void *addr = page_address(page); in get_map() local 501 static void print_section(char *text, u8 *addr, unsigned int length) in print_section() 521 enum track_item alloc, unsigned long addr) in set_track() 627 u8 *addr = page_address(page); in print_trailer() local 1044 void *object, unsigned long addr) in alloc_debug_processing() 1080 unsigned long addr, unsigned long *flags) in free_debug_processing() 1224 struct page *page, void *object, unsigned long addr) { return 0; } in alloc_debug_processing() 1228 unsigned long addr, unsigned long *flags) { return NULL; } in free_debug_processing() [all …]
|
D | memblock.c | 280 phys_addr_t *addr) in get_allocated_memblock_reserved_regions_info() 292 phys_addr_t *addr) in get_allocated_memblock_memory_regions_info() 326 phys_addr_t old_size, new_size, addr; in memblock_double_array() local 1376 static int __init_memblock memblock_search(struct memblock_type *type, phys_addr_t addr) in memblock_search() 1394 int __init memblock_is_reserved(phys_addr_t addr) in memblock_is_reserved() 1399 int __init_memblock memblock_is_memory(phys_addr_t addr) in memblock_is_memory()
|
D | hugetlb.c | 1358 struct vm_area_struct *vma, unsigned long addr) in vma_needs_reservation() 1377 struct vm_area_struct *vma, unsigned long addr) in vma_commit_reservation() 1391 unsigned long addr, int avoid_reserve) in alloc_huge_page() 1454 unsigned long addr, int avoid_reserve) in alloc_huge_page_noerr() 1468 void *addr; in alloc_bootmem_huge_page() local 2581 unsigned long addr; in copy_hugetlb_page_range() local 3565 unsigned long addr, pgoff_t idx) in page_table_shareable() 3588 static int vma_shareable(struct vm_area_struct *vma, unsigned long addr) in vma_shareable() 3611 pte_t *huge_pmd_share(struct mm_struct *mm, unsigned long addr, pud_t *pud) in huge_pmd_share() 3670 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep) in huge_pmd_unshare() [all …]
|
D | swap_state.c | 305 struct vm_area_struct *vma, unsigned long addr) in read_swap_cache_async() 458 struct vm_area_struct *vma, unsigned long addr) in swapin_readahead()
|