Searched refs:mpd (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | mpage.c | 446 struct mpage_data *mpd = data; in __mpage_writepage() local 447 struct bio *bio = mpd->bio; in __mpage_writepage() 528 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in __mpage_writepage() 573 if (bio && mpd->last_block_in_bio != blocks[0] - 1) in __mpage_writepage() 630 mpd->last_block_in_bio = blocks[blocks_per_page - 1]; in __mpage_writepage() 638 if (mpd->use_writepage) { in __mpage_writepage() 649 mpd->bio = bio; in __mpage_writepage() 684 struct mpage_data mpd = { in mpage_writepages() local 691 ret = write_cache_pages(mapping, wbc, __mpage_writepage, &mpd); in mpage_writepages() 692 if (mpd.bio) in mpage_writepages() [all …]
|
/fs/ext4/ |
D | inode.c | 1398 static void mpage_release_unused_pages(struct mpage_da_data *mpd, in mpage_release_unused_pages() argument 1404 struct inode *inode = mpd->inode; in mpage_release_unused_pages() 1408 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages() 1411 index = mpd->first_page; in mpage_release_unused_pages() 1412 end = mpd->next_page - 1; in mpage_release_unused_pages() 1856 static int mpage_submit_page(struct mpage_da_data *mpd, struct page *page) in mpage_submit_page() argument 1859 loff_t size = i_size_read(mpd->inode); in mpage_submit_page() 1862 BUG_ON(page->index != mpd->first_page); in mpage_submit_page() 1868 err = ext4_bio_write_page(&mpd->io_submit, page, len, mpd->wbc, false); in mpage_submit_page() 1870 mpd->wbc->nr_to_write--; in mpage_submit_page() [all …]
|