Lines Matching refs:ops
112 tree->ops = NULL; in extent_io_tree_init()
333 if (tree->ops && tree->ops->set_bit_hook) { in set_state_cb()
334 tree->ops->set_bit_hook(tree->mapping->host, state->start, in set_state_cb()
343 if (tree->ops && tree->ops->clear_bit_hook) { in clear_state_cb()
344 tree->ops->clear_bit_hook(tree->mapping->host, state->start, in clear_state_cb()
1654 if (tree->ops && tree->ops->writepage_end_io_hook) { in end_bio_extent_writepage()
1655 ret = tree->ops->writepage_end_io_hook(page, start, in end_bio_extent_writepage()
1661 if (!uptodate && tree->ops && in end_bio_extent_writepage()
1662 tree->ops->writepage_io_failed_hook) { in end_bio_extent_writepage()
1663 ret = tree->ops->writepage_io_failed_hook(bio, page, in end_bio_extent_writepage()
1728 if (uptodate && tree->ops && tree->ops->readpage_end_io_hook) { in end_bio_extent_readpage()
1729 ret = tree->ops->readpage_end_io_hook(page, start, end, in end_bio_extent_readpage()
1734 if (!uptodate && tree->ops && in end_bio_extent_readpage()
1735 tree->ops->readpage_io_failed_hook) { in end_bio_extent_readpage()
1736 ret = tree->ops->readpage_io_failed_hook(bio, page, in end_bio_extent_readpage()
1851 if (tree->ops && tree->ops->submit_bio_hook) in submit_one_bio()
1852 tree->ops->submit_bio_hook(page->mapping->host, rw, bio, in submit_one_bio()
1890 (tree->ops && tree->ops->merge_bio_hook && in submit_extent_page()
1891 tree->ops->merge_bio_hook(page, offset, page_size, bio, in submit_extent_page()
2061 if (tree->ops && tree->ops->readpage_io_hook) { in __extent_read_full_page()
2062 ret = tree->ops->readpage_io_hook(page, cur, in __extent_read_full_page()
2177 tree->ops->fill_delalloc(inode, page, delalloc_start, in __extent_writepage()
2195 if (tree->ops && tree->ops->writepage_start_hook) { in __extent_writepage()
2196 ret = tree->ops->writepage_start_hook(page, start, in __extent_writepage()
2216 if (tree->ops && tree->ops->writepage_end_io_hook) in __extent_writepage()
2217 tree->ops->writepage_end_io_hook(page, start, in __extent_writepage()
2230 if (tree->ops && tree->ops->writepage_end_io_hook) in __extent_writepage()
2231 tree->ops->writepage_end_io_hook(page, cur, in __extent_writepage()
2271 if (!compressed && tree->ops && in __extent_writepage()
2272 tree->ops->writepage_end_io_hook) in __extent_writepage()
2273 tree->ops->writepage_end_io_hook(page, cur, in __extent_writepage()
2298 if (tree->ops && tree->ops->writepage_io_hook) { in __extent_writepage()
2299 ret = tree->ops->writepage_io_hook(page, cur, in __extent_writepage()
2407 if (tree->ops && tree->ops->write_cache_pages_lock_hook) in extent_write_cache_pages()
2408 tree->ops->write_cache_pages_lock_hook(page); in extent_write_cache_pages()
2533 if (tree->ops && tree->ops->writepage_end_io_hook) in extent_write_locked_range()
2534 tree->ops->writepage_end_io_hook(page, start, in extent_write_locked_range()