Searched refs:data_bh (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | inline.c | 1205 struct buffer_head *data_bh = NULL; in ext4_convert_inline_data_nolock() local 1247 data_bh = sb_getblk(inode->i_sb, map.m_pblk); in ext4_convert_inline_data_nolock() 1248 if (!data_bh) { in ext4_convert_inline_data_nolock() 1253 lock_buffer(data_bh); in ext4_convert_inline_data_nolock() 1254 error = ext4_journal_get_create_access(handle, data_bh); in ext4_convert_inline_data_nolock() 1256 unlock_buffer(data_bh); in ext4_convert_inline_data_nolock() 1260 memset(data_bh->b_data, 0, inode->i_sb->s_blocksize); in ext4_convert_inline_data_nolock() 1263 memcpy(data_bh->b_data, buf, inline_size); in ext4_convert_inline_data_nolock() 1264 set_buffer_uptodate(data_bh); in ext4_convert_inline_data_nolock() 1265 unlock_buffer(data_bh); in ext4_convert_inline_data_nolock() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | inline.c | 1177 struct buffer_head *data_bh = NULL; in ext4_convert_inline_data_nolock() local 1219 data_bh = sb_getblk(inode->i_sb, map.m_pblk); in ext4_convert_inline_data_nolock() 1220 if (!data_bh) { in ext4_convert_inline_data_nolock() 1225 lock_buffer(data_bh); in ext4_convert_inline_data_nolock() 1226 error = ext4_journal_get_create_access(handle, inode->i_sb, data_bh, in ext4_convert_inline_data_nolock() 1229 unlock_buffer(data_bh); in ext4_convert_inline_data_nolock() 1233 memset(data_bh->b_data, 0, inode->i_sb->s_blocksize); in ext4_convert_inline_data_nolock() 1236 memcpy(data_bh->b_data, buf, inline_size); in ext4_convert_inline_data_nolock() 1237 set_buffer_uptodate(data_bh); in ext4_convert_inline_data_nolock() 1238 unlock_buffer(data_bh); in ext4_convert_inline_data_nolock() [all...] |
Completed in 4 milliseconds