Home
last modified time | relevance | path

Searched refs:mpd (Results 1 – 2 of 2) sorted by relevance

/fs/ext4/
Dinode.c1702 static void mpage_release_unused_pages(struct mpage_da_data *mpd, in mpage_release_unused_pages() argument
1708 struct inode *inode = mpd->inode; in mpage_release_unused_pages()
1712 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages()
1715 index = mpd->first_page; in mpage_release_unused_pages()
1716 end = mpd->next_page - 1; in mpage_release_unused_pages()
2217 static int mpage_submit_page(struct mpage_da_data *mpd, struct page *page) in mpage_submit_page() argument
2223 BUG_ON(page->index != mpd->first_page); in mpage_submit_page()
2238 size = i_size_read(mpd->inode); in mpage_submit_page()
2240 !ext4_verity_in_progress(mpd->inode)) in mpage_submit_page()
2244 err = ext4_bio_write_page(&mpd->io_submit, page, len, mpd->wbc, false); in mpage_submit_page()
[all …]
/fs/
Dmpage.c535 struct mpage_data *mpd = data; in __mpage_writepage() local
536 struct bio *bio = mpd->bio; in __mpage_writepage()
618 if (mpd->get_block(inode, block_in_file, &map_bh, 1)) in __mpage_writepage()
662 if (bio && mpd->last_block_in_bio != blocks[0] - 1) in __mpage_writepage()
705 mpd->last_block_in_bio = blocks[blocks_per_page - 1]; in __mpage_writepage()
713 if (mpd->use_writepage) { in __mpage_writepage()
724 mpd->bio = bio; in __mpage_writepage()
759 struct mpage_data mpd = { in mpage_writepages() local
766 ret = write_cache_pages(mapping, wbc, __mpage_writepage, &mpd); in mpage_writepages()
767 if (mpd.bio) { in mpage_writepages()
[all …]