Lines Matching refs:dbh
100 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
104 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
109 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
113 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
114 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
115 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
117 bh = dbh; in nilfs_copy_buffer()
119 while ((bh = bh->b_this_page) != dbh) { in nilfs_copy_buffer()
199 struct buffer_head *dbh, *dbufs, *sbh, *sbufs; in nilfs_copy_page() local
211 dbh = dbufs = page_buffers(dst); in nilfs_copy_page()
214 lock_buffer(dbh); in nilfs_copy_page()
215 dbh->b_state = sbh->b_state & mask; in nilfs_copy_page()
216 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_page()
217 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_page()
219 dbh = dbh->b_this_page; in nilfs_copy_page()
220 } while (dbh != dbufs); in nilfs_copy_page()
235 unlock_buffer(dbh); in nilfs_copy_page()
237 dbh = dbh->b_this_page; in nilfs_copy_page()
238 } while (dbh != dbufs); in nilfs_copy_page()