Searched refs:rc (Results 1 – 10 of 10) sorted by relevance
/mm/ |
D | process_vm_access.c | 88 ssize_t rc = 0; in process_vm_rw_single_vec() local 97 while (!rc && nr_pages && iov_iter_count(iter)) { in process_vm_rw_single_vec() 114 rc = process_vm_rw_pages(process_pages, in process_vm_rw_single_vec() 125 return rc; in process_vm_rw_single_vec() 154 ssize_t rc = 0; in process_vm_rw_core() local 196 rc = -ESRCH; in process_vm_rw_core() 202 rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH; in process_vm_rw_core() 207 if (rc == -EACCES) in process_vm_rw_core() 208 rc = -EPERM; in process_vm_rw_core() 212 for (i = 0; i < riovcnt && iov_iter_count(iter) && !rc; i++) in process_vm_rw_core() [all …]
|
D | migrate.c | 601 int rc; in migrate_page() local 605 rc = migrate_page_move_mapping(mapping, newpage, page, NULL, mode, 0); in migrate_page() 607 if (rc != MIGRATEPAGE_SUCCESS) in migrate_page() 608 return rc; in migrate_page() 625 int rc; in buffer_migrate_page() local 632 rc = migrate_page_move_mapping(mapping, newpage, page, head, mode, 0); in buffer_migrate_page() 634 if (rc != MIGRATEPAGE_SUCCESS) in buffer_migrate_page() 635 return rc; in buffer_migrate_page() 687 int rc; in writeout() local 707 rc = mapping->a_ops->writepage(page, &wbc); in writeout() [all …]
|
D | balloon_compaction.c | 200 int rc = -EAGAIN; in balloon_page_migrate() local 212 return rc; in balloon_page_migrate() 216 rc = balloon->migratepage(balloon, newpage, page, mode); in balloon_page_migrate() 219 return rc; in balloon_page_migrate()
|
D | percpu.c | 1973 int group, i, rc; in pcpu_embed_first_chunk() local 1985 rc = -ENOMEM; in pcpu_embed_first_chunk() 2002 rc = -ENOMEM; in pcpu_embed_first_chunk() 2049 rc = -EINVAL; in pcpu_embed_first_chunk() 2058 rc = pcpu_setup_first_chunk(ai, base); in pcpu_embed_first_chunk() 2070 return rc; in pcpu_embed_first_chunk() 2102 int unit, i, j, rc; in pcpu_page_first_chunk() local 2150 rc = __pcpu_map_pages(unit_addr, &pages[unit * unit_pages], in pcpu_page_first_chunk() 2152 if (rc < 0) in pcpu_page_first_chunk() 2153 panic("failed to map percpu area, err=%d\n", rc); in pcpu_page_first_chunk() [all …]
|
D | compaction.c | 1334 int rc = COMPACT_DEFERRED; in try_to_compact_pages() local 1359 rc = max(status, rc); in try_to_compact_pages() 1426 if (rc > COMPACT_SKIPPED && all_zones_contended) in try_to_compact_pages() 1429 return rc; in try_to_compact_pages()
|
D | memory_hotplug.c | 794 int rc = -EINVAL; in set_online_page_callback() local 801 rc = 0; in set_online_page_callback() 807 return rc; in set_online_page_callback() 813 int rc = -EINVAL; in restore_online_page_callback() local 820 rc = 0; in restore_online_page_callback() 826 return rc; in restore_online_page_callback()
|
D | slab_common.c | 476 int rc; in memcg_cleanup_cache_params() local 483 rc = __memcg_cleanup_cache_params(s); in memcg_cleanup_cache_params() 486 return rc; in memcg_cleanup_cache_params()
|
D | page_alloc.c | 5877 int rc; in module_init() local 5879 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in module_init() 5880 if (rc) in module_init() 5881 return rc; in module_init() 5895 int rc; in sysctl_min_unmapped_ratio_sysctl_handler() local 5897 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler() 5898 if (rc) in sysctl_min_unmapped_ratio_sysctl_handler() 5899 return rc; in sysctl_min_unmapped_ratio_sysctl_handler() 5911 int rc; in sysctl_min_slab_ratio_sysctl_handler() local 5913 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_slab_ratio_sysctl_handler() [all …]
|
D | slab.c | 2414 int rc = __kmem_cache_shrink(cachep); in __kmem_cache_shutdown() local 2416 if (rc) in __kmem_cache_shutdown() 2417 return rc; in __kmem_cache_shutdown()
|
D | slub.c | 4759 int rc = kmem_cache_shrink(s); in shrink_store() local 4761 if (rc) in shrink_store() 4762 return rc; in shrink_store()
|