Home
last modified time | relevance | path

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

/linux-6.6.21/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; in nilfs_copy_page() local
210 dbh = dbufs = page_buffers(dst); in nilfs_copy_page()
[all …]
/linux-6.6.21/fs/udf/
Dnamei.c138 struct buffer_head *dbh = NULL; in udf_expand_dir_adinicb() local
169 dbh = sb_getblk(inode->i_sb, newblock); in udf_expand_dir_adinicb()
170 if (!dbh) in udf_expand_dir_adinicb()
172 lock_buffer(dbh); in udf_expand_dir_adinicb()
173 memcpy(dbh->b_data, iinfo->i_data, inode->i_size); in udf_expand_dir_adinicb()
174 memset(dbh->b_data + inode->i_size, 0, in udf_expand_dir_adinicb()
176 set_buffer_uptodate(dbh); in udf_expand_dir_adinicb()
177 unlock_buffer(dbh); in udf_expand_dir_adinicb()
193 brelse(dbh); in udf_expand_dir_adinicb()
205 impuse = dbh->b_data + iter.pos + in udf_expand_dir_adinicb()
[all …]
/linux-6.6.21/fs/ocfs2/
Dquota_local.c969 struct buffer_head *bh = NULL, *dbh = NULL; in ocfs2_local_quota_add_chunk() local
1039 dbh = sb_getblk(sb, p_blkno); in ocfs2_local_quota_add_chunk()
1040 if (!dbh) { in ocfs2_local_quota_add_chunk()
1045 ocfs2_set_new_buffer_uptodate(INODE_CACHE(lqinode), dbh); in ocfs2_local_quota_add_chunk()
1046 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh, in ocfs2_local_quota_add_chunk()
1052 lock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1053 memset(dbh->b_data, 0, sb->s_blocksize - OCFS2_QBLK_RESERVED_SPACE); in ocfs2_local_quota_add_chunk()
1054 unlock_buffer(dbh); in ocfs2_local_quota_add_chunk()
1055 ocfs2_journal_dirty(handle, dbh); in ocfs2_local_quota_add_chunk()
1082 brelse(dbh); in ocfs2_local_quota_add_chunk()