Home
last modified time | relevance | path

Searched refs:dbh (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/fs/nilfs2/
Dpage.c99 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
112 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
113 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
114 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
116 bh = dbh; in nilfs_copy_buffer()
118 while ((bh = bh->b_this_page) != dbh) { in nilfs_copy_buffer()
198 struct buffer_head *dbh, *dbufs, *sbh, *sbufs; in nilfs_copy_page() local
210 dbh = dbufs = page_buffers(dst); in nilfs_copy_page()
[all …]
/Linux-v5.15/fs/ocfs2/
Dquota_local.c974 struct buffer_head *bh = NULL, *dbh = NULL; in ocfs2_local_quota_add_chunk() local
1044 dbh = sb_getblk(sb, p_blkno); in ocfs2_local_quota_add_chunk()
1045 if (!dbh) { in ocfs2_local_quota_add_chunk()
1050 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), dbh); in ocfs2_local_quota_add_chunk()
1051 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1057 lock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1058 memset(dbh->b_data, 0, sb->s_blocksize - OCFS2_QBLK_RESERVED_SPACE); in ocfs2_local_quota_add_chunk()
1059 unlock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1060 ocfs2_journal_dirty(handle, dbh); in ocfs2_local_quota_add_chunk()
1087 brelse(dbh); in ocfs2_local_quota_add_chunk()
/Linux-v5.15/fs/udf/
Dinode.c332 struct buffer_head *dbh = NULL; in udf_expand_dir_adinicb() local
365 dbh = udf_tgetblk(inode->i_sb, newblock); in udf_expand_dir_adinicb()
366 if (!dbh) in udf_expand_dir_adinicb()
368 lock_buffer(dbh); in udf_expand_dir_adinicb()
369 memset(dbh->b_data, 0x00, inode->i_sb->s_blocksize); in udf_expand_dir_adinicb()
370 set_buffer_uptodate(dbh); in udf_expand_dir_adinicb()
371 unlock_buffer(dbh); in udf_expand_dir_adinicb()
372 mark_buffer_dirty_inode(dbh, inode); in udf_expand_dir_adinicb()
378 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
384 brelse(dbh); in udf_expand_dir_adinicb()
[all …]