Home
last modified time | relevance | path

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

123

/mm/
Dmaccess.c12 long ret; in probe_read_common() local
24 long ret; in probe_write_common() local
53 long ret; in __probe_kernel_read() local
79 long ret = -EFAULT; in __probe_user_read() local
106 long ret; in __probe_kernel_write() local
132 long ret = -EFAULT; in __probe_user_write() local
165 long ret; in strncpy_from_unsafe() local
206 long ret; in strncpy_from_unsafe_user() local
246 int ret; in strnlen_unsafe_user() local
Dpage-writeback.c518 int ret; in dirty_background_ratio_handler() local
530 int ret; in dirty_background_bytes_handler() local
543 int ret; in dirty_ratio_handler() local
558 int ret; in dirty_bytes_handler() local
677 int ret = 0; in bdi_set_min_ratio() local
698 int ret = 0; in bdi_set_max_ratio() local
1978 int ret; in dirty_writeback_centisecs_handler() local
2162 int ret = 0; in write_cache_pages() local
2303 int ret = mapping->a_ops->writepage(page, wbc); in __writepage() local
2322 int ret; in generic_writepages() local
[all …]
Dutil.c428 int ret = 0; in __account_locked_vm() local
469 int ret; in account_locked_vm() local
487 unsigned long ret; in vm_mmap_pgoff() local
541 void *ret; in kvmalloc_node() local
686 int ret; in __page_mapcount() local
714 int ret; in overcommit_ratio_handler() local
726 int ret; in overcommit_kbytes_handler() local
895 int ret; in memcmp_pages() local
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()
Dbacking-dev.c140 ssize_t ret; in read_ahead_kb_store() local
170 ssize_t ret; in min_ratio_store() local
189 ssize_t ret; in max_ratio_store() local
535 int ret = 0; in cgwb_create() local
696 int ret; in cgwb_bdi_init() local
850 int ret; in bdi_init() local
970 int ret; in bdi_register() local
1086 long ret; in congestion_wait() local
1117 long ret; in wait_iff_congested() local
Dfilemap.c366 int ret = 0; in filemap_check_errors() local
408 int ret; in __filemap_fdatawrite_range() local
940 int ret; in add_to_page_cache_lru() local
1140 int ret = 0; in wait_on_page_bit_common() local
1427 int ret; in __lock_page_or_retry() local
1730 unsigned int ret = 0; in find_get_entries() local
1797 unsigned ret = 0; in find_get_pages_range() local
1862 unsigned int ret = 0; in find_get_pages_contig() local
1919 unsigned ret = 0; in find_get_pages_range_tag() local
2038 unsigned long nr, ret; in generic_file_buffered_read() local
[all …]
Dpage_io.c161 int ret; in generic_swapfile_activate() local
247 int ret = 0; in swap_writepage() local
282 int ret; in __swap_writepage() local
354 int ret = 0; in swap_readpage() local
Dhuge_memory.c178 ssize_t ret = count; in enabled_store() local
219 int ret; in single_hugepage_flag_store() local
463 int ret = 0; in setup_transparent_hugepage() local
536 unsigned long len_pad, ret; in __thp_get_unmapped_area() local
569 unsigned long ret; in thp_get_unmapped_area() local
590 vm_fault_t ret = 0; in __do_huge_pmd_anonymous_page() local
734 vm_fault_t ret; in do_huge_pmd_anonymous_page() local
994 int ret = -ENOMEM; in copy_huge_pmd() local
1132 int ret; in copy_huge_pud() local
1215 vm_fault_t ret = 0; in do_huge_pmd_wp_page_fallback() local
[all …]
Dmmu_notifier.c165 int ret = 0; in __mmu_notifier_invalidate_range_start() local
252 int ret; in __mmu_notifier_register() local
335 int ret; in mmu_notifier_register() local
386 int ret; in mmu_notifier_get_locked() local
Dgup.c234 int ret; in follow_page_pte() local
243 int ret; in follow_page_pte() local
388 int ret; in follow_pmd_mask() local
569 int ret = -EFAULT; in get_gate_page() local
622 vm_fault_t ret; in faultin_page() local
784 long ret = 0, i = 0; in __get_user_pages() local
953 vm_fault_t ret, major = 0; in fixup_user_fault() local
1007 long ret, pages_done; in __get_user_pages_locked() local
1240 long ret = 0; in __mm_populate() local
1676 long ret; in get_user_pages_unlocked() local
[all …]
Dmemory.c965 int ret; in copy_page_range() local
1535 int ret, i; in __vm_map_pages() local
2217 vm_fault_t ret; in do_page_mkwrite() local
2517 vm_fault_t ret; in wp_pfn_shared() local
2534 vm_fault_t ret = VM_FAULT_WRITE; in wp_page_shared() local
2779 vm_fault_t ret = 0; in do_swap_page() local
2990 vm_fault_t ret = 0; in do_anonymous_page() local
3103 vm_fault_t ret; in __do_fault() local
3229 vm_fault_t ret; in do_set_pmd() local
3308 vm_fault_t ret; in alloc_set_pte() local
[all …]
Doom_kill.c89 bool ret = false; in oom_cpuset_eligible() local
515 bool ret = true; in __oom_reap_task_mm() local
569 bool ret = true; in oom_reap_task_mm() local
759 signed long ret; in oom_killer_disable() local
813 bool ret = true; in task_will_free_mem() local
Dcma.c154 int ret = cma_activate_area(&cma_areas[i]); in cma_init_reserved_areas() local
252 int ret = 0; in cma_declare_contiguous() local
428 int ret = -ENOMEM; in cma_alloc() local
546 int ret = it(&cma_areas[i], data); in cma_for_each_area() local
Dhmm.c104 int ret = 0; in hmm_invalidate_range_start() local
230 vm_fault_t ret; in hmm_vma_do_fault() local
301 int ret; in hmm_vma_walk_hole_() local
664 int ret; in hmm_vma_walk_pud() local
738 int ret = 0; in hmm_vma_walk_hugetlb_entry() local
897 int ret; in hmm_range_fault() local
968 long ret; in hmm_range_dma_map() local
Dmemory-failure.c213 int ret; in kill_proc() local
596 int ret = MF_FAILED; in truncate_error_page() local
1628 int ret; in __get_any_page() local
1658 int ret = __get_any_page(page, pfn, flags); in get_any_page() local
1685 int ret; in soft_offline_huge_page() local
1744 int ret; in __soft_offline_page() local
1824 int ret; in soft_offline_in_use_page() local
1896 int ret; in soft_offline_page() local
Dmemory_hotplug.c791 int ret; in online_pages() local
968 int ret = 1; in __try_online_node() local
994 int ret; in try_online_node() local
1031 int ret; in add_memory_resource() local
1106 int ret; in __add_memory() local
1309 int ret = 0; in do_migrate_range() local
1486 int ret, node, nr_isolate_pageblock; in __offline_pages() local
1629 int ret = !is_memblock_offlined(mem); in check_memblock_offlined_cb() local
1718 int ret; in __release_memory_resource() local
Dhugetlb_cgroup.c79 int ret; in hugetlb_cgroup_init() local
184 int ret = 0; in hugetlb_cgroup_charge_cgroup() local
291 int ret, idx; in hugetlb_cgroup_write() local
322 int ret = 0; in hugetlb_cgroup_reset() local
Dzswap.c509 int ret; in zswap_pool_create() local
671 int ret; in __zswap_param_set() local
851 int ret; in zswap_writeback_entry() local
948 int ret; in zswap_shrink() local
993 int ret; in zswap_frontswap_store() local
1137 int ret; in zswap_frontswap_load() local
1301 int ret; in init_zswap() local
Dnommu.c160 void *ret; in vmalloc_user() local
440 int ret; in mmap_init() local
789 int ret; in validate_mmap_request() local
981 int ret; in do_mmap_shared_file() local
1007 int ret, order; in do_mmap_private() local
1108 int ret; in do_mmap() local
1485 int ret; in do_munmap() local
1544 int ret; in vm_munmap() local
1633 unsigned long ret; in SYSCALL_DEFINE5() local
Dvmscan.c208 int id, ret = -ENOMEM; in prealloc_memcg_shrinker() local
556 unsigned long ret; in do_shrink_slab() local
597 unsigned long ret, freed = 0; in shrink_slab_memcg() local
699 unsigned long ret, freed = 0; in shrink_slab() local
1545 unsigned long ret; in reclaim_clean_pages_from_list() local
1576 int ret = -EINVAL; in __isolate_lru_page() local
1798 int ret = -EBUSY; in isolate_lru_page() local
3619 bool ret; in balance_pgdat() local
3920 bool ret; in kswapd() local
4082 int ret = 0; in kswapd_run() local
[all …]
Dmlock.c525 int ret = 0; in mlock_fixup() local
738 int ret; in SYSCALL_DEFINE2() local
802 int ret; in SYSCALL_DEFINE1() local
830 int ret; in SYSCALL_DEFINE0() local
Dmemcontrol.c382 int nid, size, ret = 0; in memcg_alloc_shrinker_maps() local
405 int size, old_size, ret = 0; in memcg_expand_shrinker_maps() local
1205 int ret = 0; in mem_cgroup_scan_tasks() local
1346 bool ret = false; in mem_cgroup_under_move() local
1585 bool ret; in mem_cgroup_out_of_memory() local
1880 enum oom_status ret; in mem_cgroup_oom() local
2174 bool ret = false; in consume_stock() local
2952 int ret; in __memcg_kmem_charge_memcg() local
2987 int ret = 0; in __memcg_kmem_charge() local
3109 int ret; in mem_cgroup_resize_max() local
[all …]
Dslab_common.c152 int ret = percpu_ref_init(&s->memcg_params.refcnt, in init_memcg_params() local
222 int ret = 0; in memcg_update_all_caches() local
986 int ret; in kmem_cache_shrink() local
1313 void *ret = NULL; in kmalloc_order() local
1333 void *ret = kmalloc_order(size, flags, order); in kmalloc_order_trace() local
1654 void *ret; in __do_krealloc() local
1709 void *ret; in krealloc() local
Dmempolicy.c159 static void mpol_relative_nodemask(nodemask_t *ret, const nodemask_t *orig, in mpol_relative_nodemask()
206 int ret; in mpol_set_nodemask() local
444 int ret = 0; in queue_pages_pmd() local
497 int ret; in queue_pages_pte_range() local
798 int ret; in do_set_mempolicy() local
1226 int ret; in do_mbind() local
1756 bool ret = false; in vma_policy_mof() local
2026 bool ret = true; in mempolicy_nodemask_intersects() local
2395 int ret = -1; in mpol_misplaced() local
2512 int ret = 0; in shared_policy_replace() 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

123