Home
last modified time | relevance | path

Searched refs:old (Results 1 – 13 of 13) sorted by relevance

/mm/
Dpage_cgroup.c411 unsigned short old, unsigned short new) in swap_cgroup_cmpxchg() argument
422 if (retval == old) in swap_cgroup_cmpxchg()
442 unsigned short old; in swap_cgroup_record() local
448 old = sc->id; in swap_cgroup_record()
452 return old; in swap_cgroup_record()
Dmempolicy.c713 struct mempolicy *old; in vma_replace_policy() local
731 old = vma->vm_policy; in vma_replace_policy()
733 mpol_put(old); in vma_replace_policy()
806 struct mempolicy *new, *old; in do_set_mempolicy() local
826 old = current->mempolicy; in do_set_mempolicy()
832 mpol_put(old); in do_set_mempolicy()
1397 nodemask_t *old; in SYSCALL_DEFINE4() local
1404 old = &scratch->mask1; in SYSCALL_DEFINE4()
1407 err = get_nodes(old, old_nodes, maxnode); in SYSCALL_DEFINE4()
1467 err = do_migrate_pages(mm, old, new, in SYSCALL_DEFINE4()
[all …]
Dpage-writeback.c851 unsigned long old = bdi->write_bandwidth; in bdi_update_write_bandwidth() local
877 if (avg > old && old >= (unsigned long)bw) in bdi_update_write_bandwidth()
878 avg -= (avg - old) >> 3; in bdi_update_write_bandwidth()
880 if (avg < old && old <= (unsigned long)bw) in bdi_update_write_bandwidth()
881 avg += (old - avg) >> 3; in bdi_update_write_bandwidth()
Dfilemap.c463 int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask) in replace_page_cache_page() argument
467 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page()
473 struct address_space *mapping = old->mapping; in replace_page_cache_page()
476 pgoff_t offset = old->index; in replace_page_cache_page()
484 __delete_from_page_cache(old, NULL); in replace_page_cache_page()
492 mem_cgroup_migrate(old, new, true); in replace_page_cache_page()
495 freepage(old); in replace_page_cache_page()
496 page_cache_release(old); in replace_page_cache_page()
Dfrontswap.c120 struct frontswap_ops *old = frontswap_ops; in frontswap_register_ops() local
139 return old; in frontswap_register_ops()
Dcleancache.c114 struct cleancache_ops *old = cleancache_ops; in cleancache_register_ops() local
133 return old; in cleancache_register_ops()
Dslub.c1823 struct page old; in deactivate_slab() local
1874 old.freelist = page->freelist; in deactivate_slab()
1875 old.counters = page->counters; in deactivate_slab()
1876 VM_BUG_ON(!old.frozen); in deactivate_slab()
1879 new.counters = old.counters; in deactivate_slab()
1882 set_freepointer(s, freelist, old.freelist); in deactivate_slab()
1885 new.freelist = old.freelist; in deactivate_slab()
1940 old.freelist, old.counters, in deactivate_slab()
1971 struct page old; in unfreeze_partials() local
1986 old.freelist = page->freelist; in unfreeze_partials()
[all …]
Dmigrate.c107 unsigned long addr, void *old) in remove_migration_pte() argument
143 migration_entry_to_page(entry) != old) in remove_migration_pte()
217 static void remove_migration_ptes(struct page *old, struct page *new) in remove_migration_ptes() argument
221 .arg = old, in remove_migration_ptes()
Dpercpu.c445 int *old = NULL, *new = NULL; in pcpu_extend_area_map() local
462 old = chunk->map; in pcpu_extend_area_map()
464 memcpy(new, old, old_size); in pcpu_extend_area_map()
477 pcpu_mem_free(old, old_size); in pcpu_extend_area_map()
Dinternal.h278 static inline void mlock_migrate_page(struct page *new, struct page *old) { } in mlock_migrate_page() argument
Dmmap.c1192 static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, str… in reusable_anon_vma() argument
1195 struct anon_vma *anon_vma = ACCESS_ONCE(old->anon_vma); in reusable_anon_vma()
1197 if (anon_vma && list_is_singular(&old->anon_vma_chain)) in reusable_anon_vma()
Dshmem.c354 void *old; in shmem_free_swap() local
357 old = radix_tree_delete_item(&mapping->page_tree, index, radswap); in shmem_free_swap()
359 if (old != radswap) in shmem_free_swap()
Dmemcontrol.c2338 struct mem_cgroup *old = stock->cached; in drain_stock() local
2343 res_counter_uncharge(&old->res, bytes); in drain_stock()
2345 res_counter_uncharge(&old->memsw, bytes); in drain_stock()