Home
last modified time | relevance | path

Searched refs:sbh (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/fs/udf/
Dnamei.c102 if (fibh->sbh == fibh->ebh) { in udf_write_fi()
134 if (fibh->sbh != fibh->ebh) in udf_write_fi()
136 mark_buffer_dirty_inode(fibh->sbh, inode); in udf_write_fi()
166 fibh->sbh = fibh->ebh = NULL; in udf_find_entry()
181 fibh->sbh = fibh->ebh = udf_tread(sb, block); in udf_find_entry()
182 if (!fibh->sbh) in udf_find_entry()
199 if (fibh->sbh == fibh->ebh) { in udf_find_entry()
243 if (fibh->sbh != fibh->ebh) in udf_find_entry()
245 brelse(fibh->sbh); in udf_find_entry()
281 if (fibh.sbh != fibh.ebh) in udf_lookup()
[all …]
Ddirectory.c69 brelse(fibh->sbh); in udf_fileident_read()
70 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_fileident_read()
71 if (!fibh->sbh) in udf_fileident_read()
95 } else if (fibh->sbh != fibh->ebh) { in udf_fileident_read()
96 brelse(fibh->sbh); in udf_fileident_read()
97 fibh->sbh = fibh->ebh; in udf_fileident_read()
100 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read()
Ddir.c42 struct udf_fileident_bh fibh = { .sbh = NULL, .ebh = NULL}; in udf_readdir()
98 if (!(fibh.sbh = fibh.ebh = udf_tread(sb, block))) { in udf_readdir()
136 if (fibh.sbh == fibh.ebh) { in udf_readdir()
183 if (fibh.sbh != fibh.ebh) in udf_readdir()
185 brelse(fibh.sbh); in udf_readdir()
Dudfdecl.h94 struct buffer_head *sbh; member
Dinode.c376 sfibh.sbh = sfibh.ebh = NULL; in udf_expand_dir_adinicb()
378 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
/linux-4.1.27/fs/nilfs2/
Dpage.c114 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
118 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
123 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
127 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
128 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
129 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
132 bits = sbh->b_state & ((1UL << BH_Uptodate) | (1UL << BH_Mapped)); in nilfs_copy_buffer()
213 struct buffer_head *dbh, *dbufs, *sbh, *sbufs; in nilfs_copy_page() local
218 sbh = sbufs = page_buffers(src); in nilfs_copy_page()
220 create_empty_buffers(dst, sbh->b_size, 0); in nilfs_copy_page()
[all …]
Dthe_nilfs.c501 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
506 &sbh[0]); in nilfs_load_super_block()
507 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
534 brelse(sbh[1]); in nilfs_load_super_block()
535 sbh[1] = NULL; in nilfs_load_super_block()
/linux-4.1.27/fs/bfs/
Dinode.c322 struct buffer_head *bh, *sbh; in bfs_fill_super() local
338 sbh = sb_bread(s, 0); in bfs_fill_super()
339 if (!sbh) in bfs_fill_super()
341 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
444 brelse(sbh); in bfs_fill_super()
454 brelse(sbh); in bfs_fill_super()
/linux-4.1.27/fs/ext3/
Dsuper.c2449 struct buffer_head *sbh = EXT3_SB(sb)->s_sbh; in ext3_commit_super() local
2452 if (!sbh) in ext3_commit_super()
2455 if (buffer_write_io_error(sbh)) { in ext3_commit_super()
2466 clear_buffer_write_io_error(sbh); in ext3_commit_super()
2467 set_buffer_uptodate(sbh); in ext3_commit_super()
2483 BUFFER_TRACE(sbh, "marking dirty"); in ext3_commit_super()
2484 mark_buffer_dirty(sbh); in ext3_commit_super()
2486 error = sync_dirty_buffer(sbh); in ext3_commit_super()
2487 if (buffer_write_io_error(sbh)) { in ext3_commit_super()
2490 clear_buffer_write_io_error(sbh); in ext3_commit_super()
[all …]
/linux-4.1.27/fs/reiserfs/
Dbitmap.c422 struct buffer_head *sbh, *bmbh; in _reiserfs_free_block() local
429 sbh = SB_BUFFER_WITH_SB(s); in _reiserfs_free_block()
455 reiserfs_prepare_for_journal(s, sbh, 1); in _reiserfs_free_block()
459 journal_mark_dirty(th, sbh); in _reiserfs_free_block()
/linux-4.1.27/fs/ext2/
Dsuper.c1167 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local
1169 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1180 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1181 set_buffer_uptodate(sbh); in ext2_clear_super_error()
/linux-4.1.27/fs/ext4/
Dsuper.c4616 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
4619 if (!sbh || block_device_ejected(sb)) in ext4_commit_super()
4621 if (buffer_write_io_error(sbh)) { in ext4_commit_super()
4632 clear_buffer_write_io_error(sbh); in ext4_commit_super()
4633 set_buffer_uptodate(sbh); in ext4_commit_super()
4663 BUFFER_TRACE(sbh, "marking dirty"); in ext4_commit_super()
4665 mark_buffer_dirty(sbh); in ext4_commit_super()
4667 error = sync_dirty_buffer(sbh); in ext4_commit_super()
4671 error = buffer_write_io_error(sbh); in ext4_commit_super()
4675 clear_buffer_write_io_error(sbh); in ext4_commit_super()
[all …]