Searched refs:ops (Results 1 – 11 of 11) sorted by relevance
/mm/ |
D | pagewalk.c | 26 const struct mm_walk_ops *ops = walk->ops; in walk_pte_range_inner() local 30 err = ops->pte_entry(pte, addr, addr + PAGE_SIZE, walk); in walk_pte_range_inner() 66 const struct mm_walk_ops *ops = walk->ops; in walk_pmd_range() local 75 if (ops->pte_hole) in walk_pmd_range() 76 err = ops->pte_hole(addr, next, depth, walk); in walk_pmd_range() 88 if (ops->pmd_entry) in walk_pmd_range() 89 err = ops->pmd_entry(pmd, addr, next, walk); in walk_pmd_range() 102 !(ops->pte_entry)) in walk_pmd_range() 124 const struct mm_walk_ops *ops = walk->ops; in walk_pud_range() local 133 if (ops->pte_hole) in walk_pud_range() [all …]
|
D | frontswap.c | 32 #define for_each_frontswap_ops(ops) \ argument 33 for ((ops) = frontswap_ops; (ops); (ops) = (ops)->next) 113 void frontswap_register_ops(struct frontswap_ops *ops) in frontswap_register_ops() argument 132 ops->init(i); in frontswap_register_ops() 140 ops->next = frontswap_ops; in frontswap_register_ops() 141 } while (cmpxchg(&frontswap_ops, ops->next, ops) != ops->next); in frontswap_register_ops() 161 ops->init(i); in frontswap_register_ops() 163 ops->invalidate_area(i); in frontswap_register_ops() 193 struct frontswap_ops *ops; in __frontswap_init() local 210 for_each_frontswap_ops(ops) in __frontswap_init() [all …]
|
D | mmu_notifier.c | 285 ret = interval_sub->ops->invalidate(interval_sub, &range, in mn_itree_release() 324 if (subscription->ops->release) in mn_hlist_release() 325 subscription->ops->release(subscription, mm); in mn_hlist_release() 382 if (subscription->ops->clear_flush_young) in __mmu_notifier_clear_flush_young() 383 young |= subscription->ops->clear_flush_young( in __mmu_notifier_clear_flush_young() 402 if (subscription->ops->clear_young) in __mmu_notifier_clear_young() 403 young |= subscription->ops->clear_young(subscription, in __mmu_notifier_clear_young() 421 if (subscription->ops->test_young) { in __mmu_notifier_test_young() 422 young = subscription->ops->test_young(subscription, mm, in __mmu_notifier_test_young() 443 if (subscription->ops->change_pte) in __mmu_notifier_change_pte() [all …]
|
D | memremap.c | 117 if (pgmap->ops && pgmap->ops->kill) in dev_pagemap_kill() 118 pgmap->ops->kill(pgmap); in dev_pagemap_kill() 125 if (pgmap->ops && pgmap->ops->cleanup) { in dev_pagemap_cleanup() 126 pgmap->ops->cleanup(pgmap); in dev_pagemap_cleanup() 332 if (!pgmap->ops || !pgmap->ops->migrate_to_ram) { in memremap_pages() 336 if (!pgmap->ops->page_free) { in memremap_pages() 364 if (pgmap->ops && (pgmap->ops->kill || pgmap->ops->cleanup)) in memremap_pages() 374 if (!pgmap->ops || !pgmap->ops->kill || !pgmap->ops->cleanup) { in memremap_pages() 530 page->pgmap->ops->page_free(page); in free_devmap_managed_page()
|
D | zpool.c | 24 const struct zpool_ops *ops; member 156 const struct zpool_ops *ops) in zpool_create_pool() argument 183 zpool->pool = driver->create(name, gfp, ops, zpool); in zpool_create_pool() 184 zpool->ops = ops; in zpool_create_pool() 185 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool()
|
D | zbud.c | 100 const struct zbud_ops *ops; member 306 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops) in zbud_create_pool() argument 320 pool->ops = ops; in zbud_create_pool() 508 if (!pool->ops || !pool->ops->evict || list_empty(&pool->lru) || in zbud_reclaim_page() 533 ret = pool->ops->evict(pool, first_handle); in zbud_reclaim_page() 538 ret = pool->ops->evict(pool, last_handle); in zbud_reclaim_page()
|
D | z3fold.c | 164 const struct z3fold_ops *ops; member 990 const struct z3fold_ops *ops) in z3fold_create_pool() argument 1027 pool->ops = ops; in z3fold_create_pool() 1341 if (!pool->ops || !pool->ops->evict || retries == 0) { in z3fold_reclaim_page() 1439 ret = pool->ops->evict(pool, middle_handle); in z3fold_reclaim_page() 1444 ret = pool->ops->evict(pool, first_handle); in z3fold_reclaim_page() 1449 ret = pool->ops->evict(pool, last_handle); in z3fold_reclaim_page()
|
D | cleancache.c | 51 int cleancache_register_ops(const struct cleancache_ops *ops) in cleancache_register_ops() argument 53 if (cmpxchg(&cleancache_ops, NULL, ops)) in cleancache_register_ops()
|
D | mmap.c | 3624 const struct vm_operations_struct *ops) in __install_special_mapping() argument 3639 vma->vm_ops = ops; in __install_special_mapping()
|
D | shmem.c | 3968 fc->ops = &shmem_fs_context_ops; in shmem_init_fs_context()
|
D | memory.c | 3661 ret = vmf->page->pgmap->ops->migrate_to_ram(vmf); in do_swap_page()
|