Searched refs:a_ops (Results 1 – 16 of 16) sorted by relevance
/mm/ |
D | readahead.c | 125 if (mapping->a_ops->readpages) { in read_pages() 126 ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages); in read_pages() 136 mapping->a_ops->readpage(filp, page); in read_pages() 229 if (unlikely(!mapping->a_ops->readpage && !mapping->a_ops->readpages)) in force_page_cache_readahead() 594 if (!f.file->f_mapping || !f.file->f_mapping->a_ops || in ksys_readahead()
|
D | filemap.c | 246 freepage = mapping->a_ops->freepage; in page_cache_free_page() 814 void (*freepage)(struct page *) = mapping->a_ops->freepage; in replace_page_cache_page() 2081 !mapping->a_ops->is_partially_uptodate) in generic_file_buffered_read() 2091 if (!mapping->a_ops->is_partially_uptodate(page, in generic_file_buffered_read() 2188 error = mapping->a_ops->readpage(filp, page); in generic_file_buffered_read() 2303 retval = mapping->a_ops->direct_IO(iocb, iter); in generic_file_read_iter() 2571 error = mapping->a_ops->readpage(file, page); in filemap_fault() 2709 if (!mapping->a_ops->readpage) in generic_file_mmap() 2783 err = mapping->a_ops->readpage(data, page); in do_read_cache_page() 3126 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() 654 if (mapping->a_ops->freepage) in invalidate_complete_page2() 655 mapping->a_ops->freepage(page); in invalidate_complete_page2() 668 if (page->mapping != mapping || mapping->a_ops->launder_page == NULL) in do_launder_page() 670 return mapping->a_ops->launder_page(page); in do_launder_page()
|
D | page_io.c | 303 ret = mapping->a_ops->direct_IO(&kiocb, &from); in __swap_writepage() 381 ret = mapping->a_ops->readpage(swap_file, page); in swap_readpage() 443 return mapping->a_ops->set_page_dirty(page); in swap_set_page_dirty()
|
D | debug.c | 88 pr_warn("%ps name:\"%pd\"\n", mapping->a_ops, dentry); in __dump_page() 90 pr_warn("%ps\n", mapping->a_ops); in __dump_page()
|
D | page-writeback.c | 2303 int ret = mapping->a_ops->writepage(page, wbc); in __writepage() 2325 if (!mapping->a_ops->writepage) in generic_writepages() 2343 if (mapping->a_ops->writepages) in do_writepages() 2344 ret = mapping->a_ops->writepages(mapping, wbc); in do_writepages() 2381 ret = mapping->a_ops->writepage(page, &wbc); in write_one_page() 2555 int (*spd)(struct page *) = mapping->a_ops->set_page_dirty; in set_page_dirty()
|
D | migrate.c | 128 if (!mapping->a_ops->isolate_page(page, mode)) in isolate_movable_page() 156 mapping->a_ops->putback_page(page); in putback_movable_page() 860 if (!mapping->a_ops->writepage) in writeout() 878 rc = mapping->a_ops->writepage(page, &wbc); in writeout() 942 else if (mapping->a_ops->migratepage) in move_to_new_page() 950 rc = mapping->a_ops->migratepage(mapping, newpage, in move_to_new_page() 967 rc = mapping->a_ops->migratepage(mapping, newpage, in move_to_new_page()
|
D | vmscan.c | 861 if (mapping->a_ops->writepage == NULL) in pageout() 877 res = mapping->a_ops->writepage(page, &wbc); in pageout() 955 freepage = mapping->a_ops->freepage; in __remove_mapping() 1112 if (mapping && mapping->a_ops->is_dirty_writeback) in page_check_dirty_writeback() 1113 mapping->a_ops->is_dirty_writeback(page, dirty, writeback); in page_check_dirty_writeback() 1618 migrate_dirty = !mapping || mapping->a_ops->migratepage; in __isolate_lru_page()
|
D | shmem.c | 1089 if (inode->i_mapping->a_ops == &shmem_aops) { in shmem_evict_inode() 1808 if (mapping->a_ops != &shmem_aops) in shmem_getpage_gfp() 2272 inode->i_mapping->a_ops = &shmem_aops; in shmem_get_inode() 2302 return mapping->a_ops == &shmem_aops; in shmem_mapping() 3138 inode->i_mapping->a_ops = &shmem_aops; in shmem_symlink() 4223 BUG_ON(mapping->a_ops != &shmem_aops); in shmem_read_mapping_page_gfp()
|
D | swapfile.c | 2299 if (mapping->a_ops->swap_deactivate) in destroy_swap_extents() 2300 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents() 2394 if (mapping->a_ops->swap_activate) { in setup_swap_extents() 2395 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents() 3161 if (!mapping->a_ops->readpage) { in SYSCALL_DEFINE2()
|
D | memory-failure.c | 598 if (mapping->a_ops->error_remove_page) { in truncate_error_page() 599 int err = mapping->a_ops->error_remove_page(mapping, p); in truncate_error_page()
|
D | swap_state.c | 610 space->a_ops = &swap_aops; in init_swap_address_space()
|
D | compaction.c | 105 if (mapping && mapping->a_ops && mapping->a_ops->isolate_page) in PageMovable()
|
D | z3fold.c | 287 pool->inode->i_mapping->a_ops = &z3fold_aops; in z3fold_register_migration()
|
D | zsmalloc.c | 2146 pool->inode->i_mapping->a_ops = &zsmalloc_aops; in zs_register_migration()
|
D | memory.c | 546 mapping ? mapping->a_ops->readpage : NULL); in print_bad_pte()
|