Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 82) sorted by relevance

1234

/mm/
Dmaccess.c107 long ret; in copy_from_kernel_nofault() local
137 long ret; in copy_to_kernel_nofault() local
174 long ret; in strncpy_from_kernel_nofault() local
207 long ret = -EFAULT; in copy_from_user_nofault() local
234 long ret = -EFAULT; in copy_to_user_nofault() local
272 long ret; in strncpy_from_user_nofault() local
312 int ret; in strnlen_user_nofault() local
Dmmu_notifier.c279 bool ret; in mn_itree_release() local
460 bool ret; in mn_itree_invalidate() local
486 int ret = 0; in mn_hlist_invalidate_range_start() local
546 int ret; in __mmu_notifier_invalidate_range_start() local
670 int ret; in __mmu_notifier_register() local
770 int ret; in mmu_notifier_register() local
823 int ret; in mmu_notifier_get_locked() local
1046 int ret; in mmu_interval_notifier_insert() local
1069 int ret; in mmu_interval_notifier_insert_locked() local
1088 bool ret; in mmu_interval_seq_released() local
Doom_kill.c97 bool ret = false; in oom_cpuset_eligible() local
557 bool ret = true; in __oom_reap_task_mm() local
611 bool ret = true; in oom_reap_task_mm() local
815 signed long ret; in oom_killer_disable() local
869 bool ret = true; in task_will_free_mem() local
1158 int ret = false; in out_of_memory() local
1210 long ret = 0; in SYSCALL_DEFINE2() local
Dutil.c476 int ret = 0; in __account_locked_vm() local
517 int ret; in account_locked_vm() local
535 unsigned long ret; in vm_mmap_pgoff() local
590 void *ret; in kvmalloc_node() local
830 int ret; in __page_mapcount() local
857 int ret; in overcommit_ratio_handler() local
875 int ret; in overcommit_policy_handler() local
909 int ret; in overcommit_kbytes_handler() local
1079 int ret; in memcmp_pages() local
Dbacking-dev.c138 ssize_t ret; in read_ahead_kb_store() local
168 ssize_t ret; in min_ratio_store() local
187 ssize_t ret; in max_ratio_store() local
444 int ret = 0; in cgwb_create() local
605 int ret; in cgwb_bdi_init() local
725 int ret; in bdi_init() local
847 int ret; in bdi_register() local
969 long ret; in congestion_wait() local
1000 long ret; in wait_iff_congested() local
Dpage-writeback.c518 int ret; in dirty_background_ratio_handler() local
529 int ret; in dirty_background_bytes_handler() local
541 int ret; in dirty_ratio_handler() local
555 int ret; in dirty_bytes_handler() local
674 int ret = 0; in bdi_set_min_ratio() local
695 int ret = 0; in bdi_set_max_ratio() local
1996 int ret; in dirty_writeback_centisecs_handler() local
2178 int ret = 0; in write_cache_pages() local
2317 int ret = mapping->a_ops->writepage(page, wbc); in __writepage() local
2336 int ret; in generic_writepages() local
[all …]
Ddebug_page_ref.c22 void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test()
29 void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return()
43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze()
Dmemory.c992 int progress, ret = 0; in copy_pte_range() local
1198 int ret; in copy_page_range() local
1788 int ret; in insert_pages() local
1939 int ret, i; in __vm_map_pages() local
2639 bool ret = false; in pte_spinlock() local
2691 bool ret = false; in __pte_map_lock_speculative() local
2885 int ret = 0; in pte_unmap_same() local
2904 bool ret; in cow_user_page() local
3018 vm_fault_t ret; in do_page_mkwrite() local
3151 vm_fault_t ret = VM_FAULT_OOM; in wp_page_copy() local
[all …]
Dpage_io.c112 int ret; in generic_swapfile_activate() local
201 int ret = 0; in swap_writepage() local
258 int ret; in __swap_writepage() local
334 int ret = 0; in swap_readpage() local
Dfilemap.c372 int ret = 0; in filemap_check_errors() local
414 int ret; in __filemap_fdatawrite_range() local
945 int ret; in add_to_page_cache_lru() local
1358 int ret = 0; in __wait_on_page_locked_async() local
1597 int ret; in __lock_page_or_retry() local
1912 unsigned int ret = 0; in find_get_entries() local
1986 unsigned ret = 0; in find_get_pages_range() local
2051 unsigned int ret = 0; in find_get_pages_contig() local
2108 unsigned ret = 0; in find_get_pages_range_tag() local
2237 unsigned long nr, ret; in generic_file_buffered_read() local
[all …]
Dgup.c209 bool ret = try_get_page(page); in try_grab_page() local
433 int ret; in follow_page_pte() local
667 int ret; in follow_pmd_mask() local
848 int ret = -EFAULT; in get_gate_page() local
901 vm_fault_t ret; in faultin_page() local
1066 long ret = 0, i = 0; in __get_user_pages() local
1247 vm_fault_t ret, major = 0; in fixup_user_fault() local
1299 long ret, pages_done; in __get_user_pages_locked() local
1491 long ret = 0; in __mm_populate() local
1602 int ret; in get_dump_page() local
[all …]
Dfrontswap.c247 int ret = -1; in __frontswap_store() local
296 int ret = -1; in __frontswap_load() local
385 int ret = -EINVAL; in __frontswap_unuse_pages() local
449 int type, ret; in frontswap_shrink() local
Dhuge_memory.c190 ssize_t ret = count; in enabled_store() local
228 int ret; in single_hugepage_flag_store() local
450 int ret = 0; in setup_transparent_hugepage() local
534 unsigned long len_pad, ret; in __thp_get_unmapped_area() local
567 unsigned long ret; in thp_get_unmapped_area() local
587 vm_fault_t ret = 0; in __do_huge_pmd_anonymous_page() local
729 vm_fault_t ret; in do_huge_pmd_anonymous_page() local
1021 int ret = -ENOMEM; in copy_huge_pmd() local
1187 int ret; in copy_huge_pud() local
1578 bool ret = false; in madvise_free_huge_pmd() local
[all …]
Dmemory_hotplug.c785 int ret; in online_pages() local
961 int ret = 1; in __try_online_node() local
987 int ret; in try_online_node() local
1025 int ret; in add_memory_resource() local
1109 int ret; in __add_memory() local
1137 int ret; in add_memory_subsection() local
1324 int ret = 0; in do_migrate_range() local
1509 int ret, node; in offline_pages() local
1681 int ret = !is_memblock_offlined(mem); in check_memblock_offlined_cb() local
Dnommu.c169 void *ret; in __vmalloc_user_flags() local
421 int ret; in mmap_init() local
764 int ret; in validate_mmap_request() local
956 int ret; in do_mmap_shared_file() local
982 int ret, order; in do_mmap_private() local
1083 int ret; in do_mmap() local
1460 int ret; in do_munmap() local
1519 int ret; in vm_munmap() local
1608 unsigned long ret; in SYSCALL_DEFINE5() local
Dmempolicy.c185 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask()
232 int ret; in mpol_set_nodemask() local
476 int ret = 0; in queue_pages_pmd() local
529 int ret; in queue_pages_pte_range() local
590 int ret = 0; in queue_pages_hugetlb() local
873 int ret; in do_set_mempolicy() local
1282 int ret; in do_mbind() local
1843 bool ret = false; in vma_policy_mof() local
2111 bool ret = true; in mempolicy_nodemask_intersects() local
2483 int ret = -1; in mpol_misplaced() local
[all …]
Duserfaultfd.c62 int ret; in mfill_atomic_install_pte() local
132 int ret; in mcopy_atomic_pte() local
190 int ret; in mfill_zeropage_pte() local
228 int ret; in mcontinue_atomic_pte() local
Dmlock.c540 int ret = 0; in mlock_fixup() local
754 int ret; in SYSCALL_DEFINE2() local
818 int ret; in SYSCALL_DEFINE1() local
846 int ret; in SYSCALL_DEFINE0() local
Dmemcontrol.c304 int ret; in obj_cgroup_alloc() local
458 int nid, size, ret = 0; in memcg_alloc_shrinker_maps() local
481 int size, old_size, ret = 0; in memcg_expand_shrinker_maps() local
1317 int ret = 0; in mem_cgroup_scan_tasks() local
1490 bool ret = false; in mem_cgroup_under_move() local
1756 bool ret = true; in mem_cgroup_out_of_memory() local
1958 enum oom_status ret; in mem_cgroup_oom() local
2285 bool ret = false; in consume_stock() local
3082 int ret; in __memcg_kmem_charge() local
3130 int ret = 0; in __memcg_kmem_charge_page() local
[all …]
Dcma.c253 int ret = 0; in cma_declare_contiguous_nid() local
446 int ret = -ENOMEM; in cma_alloc() local
630 int ret = it(&cma_areas[i], data); in cma_for_each_area() local
Dvmscan.c235 int id, ret = -ENOMEM; in prealloc_memcg_shrinker() local
535 unsigned long ret; in do_shrink_slab() local
576 unsigned long ret, freed = 0; in shrink_slab_memcg() local
678 unsigned long ret, freed = 0; in shrink_slab() local
1026 int ret = 0; in page_check_references() local
1613 int ret = -EINVAL; in __isolate_lru_page() local
1832 int ret = -EBUSY; in isolate_lru_page() local
3697 bool ret; in balance_pgdat() local
4002 bool ret; in kswapd() local
4057 int ret = 0; in kswapd_per_node_run() local
[all …]
Dswapfile.c133 int ret = 0; in __try_to_reclaim_swap() local
1628 bool ret = false; in swap_page_trans_huge_swapped() local
1944 int ret = 1; in unuse_pte() local
1988 int ret = 0; in unuse_pte_range() local
2059 int ret; in unuse_pmd_range() local
2082 int ret; in unuse_pud_range() local
2104 int ret; in unuse_p4d_range() local
2124 int ret; in unuse_vma() local
2146 int ret = 0; in unuse_mm() local
2462 int ret; in setup_swap_extents() local
[all …]
Dslab_common.c537 int ret; in kmem_cache_shrink() local
850 void *ret = NULL; in kmalloc_order() local
873 void *ret = kmalloc_order(size, flags, order); in kmalloc_order_trace() local
1091 void *ret; in __do_krealloc() local
1134 void *ret; in krealloc() local
/mm/damon/
Ddbgfs.c29 ssize_t ret; in user_input_str() local
54 int ret; in dbgfs_attrs_read() local
72 ssize_t ret; in dbgfs_attrs_write() local
189 int pos = 0, parsed, ret; in str_to_schemes() local
246 ssize_t nr_schemes = 0, ret; in dbgfs_schemes_write() local
335 int pos = 0, parsed, ret; in str_to_target_ids() local
370 ssize_t ret; in dbgfs_target_ids_write() local
525 int pos = 0, parsed, ret; in set_init_regions() local
562 ssize_t ret = count; in dbgfs_init_regions_write() local
749 ssize_t ret; in dbgfs_mk_context_write() local
[all …]
/mm/kasan/
Dshadow.c193 void *ret; in kasan_mem_notifier() local
281 int ret; in kasan_populate_vmalloc() local
492 void *ret; in kasan_module_alloc() local

1234