Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nilfs2/
Dpage.c100 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()
[all …]
/linux-4.19.296/fs/ocfs2/
Dquota_local.c972 struct buffer_head *bh = NULL, *dbh = NULL; in ocfs2_local_quota_add_chunk() local
1042 dbh = sb_getblk(sb, p_blkno); in ocfs2_local_quota_add_chunk()
1043 if (!dbh) { in ocfs2_local_quota_add_chunk()
1048 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), dbh); in ocfs2_local_quota_add_chunk()
1049 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1055 lock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1056 memset(dbh->b_data, 0, sb->s_blocksize - OCFS2_QBLK_RESERVED_SPACE); in ocfs2_local_quota_add_chunk()
1057 unlock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1058 ocfs2_journal_dirty(handle, dbh); in ocfs2_local_quota_add_chunk()
1085 brelse(dbh); in ocfs2_local_quota_add_chunk()
/linux-4.19.296/fs/udf/
Dinode.c324 struct buffer_head *dbh = NULL; in udf_expand_dir_adinicb() local
357 dbh = udf_tgetblk(inode->i_sb, newblock); in udf_expand_dir_adinicb()
358 if (!dbh) in udf_expand_dir_adinicb()
360 lock_buffer(dbh); in udf_expand_dir_adinicb()
361 memset(dbh->b_data, 0x00, inode->i_sb->s_blocksize); in udf_expand_dir_adinicb()
362 set_buffer_uptodate(dbh); in udf_expand_dir_adinicb()
363 unlock_buffer(dbh); in udf_expand_dir_adinicb()
364 mark_buffer_dirty_inode(dbh, inode); in udf_expand_dir_adinicb()
370 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
376 brelse(dbh); in udf_expand_dir_adinicb()
[all …]