Searched refs:a_ops (Results 1 – 16 of 16) sorted by relevance
/mm/ |
D | debug.c | 120 const struct address_space_operations *a_ops; in __dump_page() local 131 get_kernel_nofault(a_ops, &mapping->a_ops)) { in __dump_page() 137 pr_warn("aops:%ps\n", a_ops); in __dump_page() 144 a_ops, host); in __dump_page() 149 pr_warn("aops:%ps ino:%lx\n", a_ops, ino); in __dump_page() 156 a_ops, ino, dentry_ptr); in __dump_page() 164 a_ops, ino, &dentry); in __dump_page()
|
D | readahead.c | 130 const struct address_space_operations *aops = rac->mapping->a_ops; in read_pages() 229 if (mapping->a_ops->readpages) { in page_cache_ra_unbounded() 291 if (unlikely(!mapping->a_ops->readpage && !mapping->a_ops->readpages && in force_page_cache_ra() 292 !mapping->a_ops->readahead)) in force_page_cache_ra() 639 if (!f.file->f_mapping || !f.file->f_mapping->a_ops || in ksys_readahead()
|
D | filemap.c | 252 freepage = mapping->a_ops->freepage; in page_cache_free_page() 798 void (*freepage)(struct page *) = mapping->a_ops->freepage; in replace_page_cache_page() 2292 !mapping->a_ops->is_partially_uptodate) in generic_file_buffered_read() 2302 if (!mapping->a_ops->is_partially_uptodate(page, in generic_file_buffered_read() 2412 error = mapping->a_ops->readpage(filp, page); in generic_file_buffered_read() 2547 retval = mapping->a_ops->direct_IO(iocb, iter); in generic_file_read_iter() 2877 error = mapping->a_ops->readpage(file, page); in filemap_fault() 3125 if (!mapping->a_ops->readpage) in generic_file_mmap() 3199 err = mapping->a_ops->readpage(data, page); in do_read_cache_page() 3328 const struct address_space_operations *aops = mapping->a_ops; in pagecache_write_begin() [all …]
|
D | truncate.c | 157 invalidatepage = page->mapping->a_ops->invalidatepage; in do_invalidatepage() 673 if (mapping->a_ops->freepage) in invalidate_complete_page2() 674 mapping->a_ops->freepage(page); in invalidate_complete_page2() 687 if (page->mapping != mapping || mapping->a_ops->launder_page == NULL) in do_launder_page() 689 return mapping->a_ops->launder_page(page); in do_launder_page()
|
D | page_io.c | 280 ret = mapping->a_ops->direct_IO(&kiocb, &from); in __swap_writepage() 361 ret = mapping->a_ops->readpage(swap_file, page); in swap_readpage() 424 return mapping->a_ops->set_page_dirty(page); in swap_set_page_dirty()
|
D | page-writeback.c | 2317 int ret = mapping->a_ops->writepage(page, wbc); in __writepage() 2339 if (!mapping->a_ops->writepage) in generic_writepages() 2357 if (mapping->a_ops->writepages) in do_writepages() 2358 ret = mapping->a_ops->writepages(mapping, wbc); in do_writepages() 2395 ret = mapping->a_ops->writepage(page, &wbc); in write_one_page() 2569 int (*spd)(struct page *) = mapping->a_ops->set_page_dirty; in set_page_dirty()
|
D | migrate.c | 106 if (!mapping->a_ops->isolate_page(page, mode)) in isolate_movable_page() 134 mapping->a_ops->putback_page(page); in putback_movable_page() 859 if (!mapping->a_ops->writepage) in writeout() 877 rc = mapping->a_ops->writepage(page, &wbc); in writeout() 941 else if (mapping->a_ops->migratepage) in move_to_new_page() 949 rc = mapping->a_ops->migratepage(mapping, newpage, in move_to_new_page() 966 rc = mapping->a_ops->migratepage(mapping, newpage, in move_to_new_page()
|
D | vmscan.c | 847 if (mapping->a_ops->writepage == NULL) in pageout() 863 res = mapping->a_ops->writepage(page, &wbc); in pageout() 943 freepage = mapping->a_ops->freepage; in __remove_mapping() 1115 if (mapping && mapping->a_ops->is_dirty_writeback) in page_check_dirty_writeback() 1116 mapping->a_ops->is_dirty_writeback(page, dirty, writeback); in page_check_dirty_writeback() 1655 migrate_dirty = !mapping || mapping->a_ops->migratepage; in __isolate_lru_page()
|
D | shmem.c | 1167 if (inode->i_mapping->a_ops == &shmem_aops) { in shmem_evict_inode() 1888 if (mapping->a_ops != &shmem_aops) in shmem_getpage_gfp() 2340 inode->i_mapping->a_ops = &shmem_aops; in shmem_get_inode() 2370 return mapping->a_ops == &shmem_aops; in shmem_mapping() 3150 inode->i_mapping->a_ops = &shmem_aops; in shmem_symlink() 4307 BUG_ON(mapping->a_ops != &shmem_aops); in shmem_read_mapping_page_gfp()
|
D | swapfile.c | 2375 if (mapping->a_ops->swap_deactivate) in destroy_swap_extents() 2376 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents() 2470 if (mapping->a_ops->swap_activate) { in setup_swap_extents() 2471 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents() 3267 if (!mapping->a_ops->readpage) { in SYSCALL_DEFINE2()
|
D | memory-failure.c | 625 if (mapping->a_ops->error_remove_page) { in truncate_error_page() 626 int err = mapping->a_ops->error_remove_page(mapping, p); in truncate_error_page()
|
D | swap_state.c | 725 space->a_ops = &swap_aops; in init_swap_address_space()
|
D | compaction.c | 128 if (mapping && mapping->a_ops && mapping->a_ops->isolate_page) in PageMovable()
|
D | z3fold.c | 386 pool->inode->i_mapping->a_ops = &z3fold_aops; in z3fold_register_migration()
|
D | zsmalloc.c | 2130 pool->inode->i_mapping->a_ops = &zsmalloc_aops; in zs_register_migration()
|
D | memory.c | 591 mapping ? mapping->a_ops->readpage : NULL); in print_bad_pte()
|