/mm/ |
D | shmem.c | 585 int error, nr = hpage_nr_pages(page); in shmem_add_to_page_cache() local 603 error = 0; in shmem_add_to_page_cache() 607 error = -EEXIST; in shmem_add_to_page_cache() 610 if (!error) { in shmem_add_to_page_cache() 612 error = radix_tree_insert(&mapping->page_tree, in shmem_add_to_page_cache() 614 VM_BUG_ON(error); in shmem_add_to_page_cache() 619 error = radix_tree_insert(&mapping->page_tree, index, page); in shmem_add_to_page_cache() 621 error = shmem_radix_tree_replace(mapping, index, expected, in shmem_add_to_page_cache() 625 if (!error) { in shmem_add_to_page_cache() 637 return error; in shmem_add_to_page_cache() [all …]
|
D | madvise.c | 60 int error = 0; in madvise_behavior() local 79 error = -EINVAL; in madvise_behavior() 87 error = -EINVAL; in madvise_behavior() 100 error = -EINVAL; in madvise_behavior() 107 error = ksm_madvise(vma, start, end, behavior, &new_flags); in madvise_behavior() 108 if (error) { in madvise_behavior() 113 if (error == -ENOMEM) in madvise_behavior() 114 error = -EAGAIN; in madvise_behavior() 120 error = hugepage_madvise(vma, &new_flags, behavior); in madvise_behavior() 121 if (error) { in madvise_behavior() [all …]
|
D | mprotect.c | 374 int error; in mprotect_fixup() local 390 error = prot_none_walk(vma, start, end, newflags); in mprotect_fixup() 391 if (error) in mprotect_fixup() 392 return error; in mprotect_fixup() 431 error = split_vma(mm, vma, start, 1); in mprotect_fixup() 432 if (error) in mprotect_fixup() 437 error = split_vma(mm, vma, end, 0); in mprotect_fixup() 438 if (error) in mprotect_fixup() 470 return error; in mprotect_fixup() 481 int error = -EINVAL; in do_mprotect_pkey() local [all …]
|
D | msync.c | 38 int error = -EINVAL; in SYSCALL_DEFINE3() local 46 error = -ENOMEM; in SYSCALL_DEFINE3() 51 error = 0; in SYSCALL_DEFINE3() 65 error = -ENOMEM; in SYSCALL_DEFINE3() 78 error = -EBUSY; in SYSCALL_DEFINE3() 90 error = vfs_fsync_range(file, fstart, fend, 1); in SYSCALL_DEFINE3() 92 if (error || start >= end) in SYSCALL_DEFINE3() 98 error = 0; in SYSCALL_DEFINE3() 107 return error ? : unmapped_error; in SYSCALL_DEFINE3()
|
D | filemap.c | 121 int error; in page_cache_tree_insert() local 123 error = __radix_tree_create(&mapping->page_tree, page->index, 0, in page_cache_tree_insert() 125 if (error) in page_cache_tree_insert() 126 return error; in page_cache_tree_insert() 708 int error; in replace_page_cache_page() local 714 error = radix_tree_preload(gfp_mask & GFP_RECLAIM_MASK); in replace_page_cache_page() 715 if (!error) { in replace_page_cache_page() 729 error = page_cache_tree_insert(mapping, new, NULL); in replace_page_cache_page() 730 BUG_ON(error); in replace_page_cache_page() 747 return error; in replace_page_cache_page() [all …]
|
D | mmap.c | 766 int error; in __vma_adjust() local 769 error = anon_vma_clone(importer, exporter); in __vma_adjust() 770 if (error) in __vma_adjust() 771 return error; in __vma_adjust() 1645 int error; in mmap_region() local 1696 error = -ENOMEM; in mmap_region() 1710 error = deny_write_access(file); in mmap_region() 1711 if (error) in mmap_region() 1715 error = mapping_map_writable(file->f_mapping); in mmap_region() 1716 if (error) in mmap_region() [all …]
|
D | mlock.c | 581 int error; in apply_vma_lock_flags() local 607 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags() 608 if (error) in apply_vma_lock_flags() 618 error = -ENOMEM; in apply_vma_lock_flags() 622 return error; in apply_vma_lock_flags() 668 int error = -ENOMEM; in do_mlock() local 699 error = apply_vma_lock_flags(start, len, flags); in do_mlock() 702 if (error) in do_mlock() 703 return error; in do_mlock() 705 error = __mm_populate(start, len, 0); in do_mlock() [all …]
|
D | swap_state.c | 115 int error, i, nr = hpage_nr_pages(page); in __add_to_swap_cache() local 130 error = radix_tree_insert(&address_space->page_tree, in __add_to_swap_cache() 132 if (unlikely(error)) in __add_to_swap_cache() 135 if (likely(!error)) { in __add_to_swap_cache() 145 VM_BUG_ON(error == -EEXIST); in __add_to_swap_cache() 156 return error; in __add_to_swap_cache() 162 int error; in add_to_swap_cache() local 164 error = radix_tree_maybe_preload_order(gfp_mask, compound_order(page)); in add_to_swap_cache() 165 if (!error) { in add_to_swap_cache() 166 error = __add_to_swap_cache(page, entry); in add_to_swap_cache() [all …]
|
D | page_poison.c | 55 unsigned char error = a ^ b; in single_bit_flip() local 57 return error && !(error & (error - 1)); in single_bit_flip()
|
D | swapfile.c | 2881 int error; in claim_swapfile() local 2885 error = blkdev_get(p->bdev, in claim_swapfile() 2887 if (error < 0) { in claim_swapfile() 2889 return error; in claim_swapfile() 2892 error = set_blocksize(p->bdev, PAGE_SIZE); in claim_swapfile() 2893 if (error < 0) in claim_swapfile() 2894 return error; in claim_swapfile() 3114 int error; in SYSCALL_DEFINE2() local 3142 error = PTR_ERR(name); in SYSCALL_DEFINE2() 3148 error = PTR_ERR(swap_file); in SYSCALL_DEFINE2() [all …]
|
D | util.c | 649 goto error; in __vm_enough_memory() 662 goto error; in __vm_enough_memory() 682 error: in __vm_enough_memory()
|
D | page-writeback.c | 2167 int error; in write_cache_pages() local 2241 error = (*writepage)(page, wbc, data); in write_cache_pages() 2242 if (unlikely(error)) { in write_cache_pages() 2255 if (error == AOP_WRITEPAGE_ACTIVATE) { in write_cache_pages() 2257 error = 0; in write_cache_pages() 2259 ret = error; in write_cache_pages() 2265 ret = error; in write_cache_pages()
|
D | zswap.c | 526 goto error; in zswap_pool_create() 534 goto error; in zswap_pool_create() 540 goto error; in zswap_pool_create() 553 error: in zswap_pool_create()
|
D | percpu-km.c | 31 #error "contiguous percpu allocation is incompatible with paged first chunk"
|
D | rmap.c | 319 int error; in anon_vma_fork() local 332 error = anon_vma_clone(vma, pvma); in anon_vma_fork() 333 if (error) in anon_vma_fork() 334 return error; in anon_vma_fork()
|
D | slab.c | 1553 unsigned char error = 0; in dump_line() local 1559 error = data[offset + i]; in dump_line() 1567 error ^= POISON_FREE; in dump_line() 1568 if (!(error & (error - 1))) { in dump_line() 3583 goto error; in kmem_cache_alloc_bulk() 3598 error: in kmem_cache_alloc_bulk()
|
D | nobootmem.c | 27 #error CONFIG_HAVE_MEMBLOCK not defined
|
D | memory_hotplug.c | 1117 goto error; in add_memory_resource() 1124 goto error; in add_memory_resource() 1164 error: in add_memory_resource()
|
D | hmm.c | 900 goto error; in hmm_devmem_pages_create() 953 error: in hmm_devmem_pages_create()
|
D | slub.c | 3151 goto error; in kmem_cache_alloc_bulk() 3173 error: in kmem_cache_alloc_bulk() 3604 goto error; in kmem_cache_open() 3614 goto error; in kmem_cache_open() 3640 goto error; in kmem_cache_open() 3644 goto error; in kmem_cache_open() 3650 error: in kmem_cache_open()
|
D | nommu.c | 1401 error: in do_mmap() 1414 goto error; in do_mmap()
|
D | ksm.c | 952 goto error; in unmerge_and_remove_all_rmap_items() 978 error: in unmerge_and_remove_all_rmap_items()
|
D | memcontrol.c | 4313 long error = -ENOMEM; in mem_cgroup_css_alloc() local 4317 return ERR_PTR(error); in mem_cgroup_css_alloc() 4353 error = memcg_online_kmem(memcg); in mem_cgroup_css_alloc() 4354 if (error) in mem_cgroup_css_alloc()
|
D | vmscan.c | 582 struct page *page, int error) in handle_write_error() argument 586 mapping_set_error(mapping, error); in handle_write_error()
|
D | Kconfig | 511 This option does not affect warning and error messages.
|