Lines Matching refs:bd_page
1687 struct page *bd_page = NULL, *fs_page = NULL; in nilfs_segctor_prepare_write() local
1694 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1695 if (bd_page) { in nilfs_segctor_prepare_write()
1696 lock_page(bd_page); in nilfs_segctor_prepare_write()
1697 wait_on_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1698 clear_page_dirty_for_io(bd_page); in nilfs_segctor_prepare_write()
1699 set_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1700 unlock_page(bd_page); in nilfs_segctor_prepare_write()
1702 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1709 if (bh->b_page != bd_page) { in nilfs_segctor_prepare_write()
1710 lock_page(bd_page); in nilfs_segctor_prepare_write()
1711 wait_on_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1712 clear_page_dirty_for_io(bd_page); in nilfs_segctor_prepare_write()
1713 set_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1714 unlock_page(bd_page); in nilfs_segctor_prepare_write()
1715 bd_page = bh->b_page; in nilfs_segctor_prepare_write()
1726 if (bd_page) { in nilfs_segctor_prepare_write()
1727 lock_page(bd_page); in nilfs_segctor_prepare_write()
1728 wait_on_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1729 clear_page_dirty_for_io(bd_page); in nilfs_segctor_prepare_write()
1730 set_page_writeback(bd_page); in nilfs_segctor_prepare_write()
1731 unlock_page(bd_page); in nilfs_segctor_prepare_write()
1787 struct page *bd_page = NULL, *fs_page = NULL; in nilfs_abort_logs() local
1797 if (bh->b_page != bd_page) { in nilfs_abort_logs()
1798 if (bd_page) in nilfs_abort_logs()
1799 end_page_writeback(bd_page); in nilfs_abort_logs()
1800 bd_page = bh->b_page; in nilfs_abort_logs()
1808 if (bh->b_page != bd_page) { in nilfs_abort_logs()
1809 end_page_writeback(bd_page); in nilfs_abort_logs()
1810 bd_page = bh->b_page; in nilfs_abort_logs()
1821 if (bd_page) in nilfs_abort_logs()
1822 end_page_writeback(bd_page); in nilfs_abort_logs()
1869 struct page *bd_page = NULL, *fs_page = NULL; in nilfs_segctor_complete_write() local
1880 if (bh->b_page != bd_page) { in nilfs_segctor_complete_write()
1881 if (bd_page) in nilfs_segctor_complete_write()
1882 end_page_writeback(bd_page); in nilfs_segctor_complete_write()
1883 bd_page = bh->b_page; in nilfs_segctor_complete_write()
1908 if (bh->b_page != bd_page) { in nilfs_segctor_complete_write()
1909 end_page_writeback(bd_page); in nilfs_segctor_complete_write()
1910 bd_page = bh->b_page; in nilfs_segctor_complete_write()
1935 if (bd_page) in nilfs_segctor_complete_write()
1936 end_page_writeback(bd_page); in nilfs_segctor_complete_write()