Home
last modified time | relevance | path

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

/linux-2.6.39/fs/udf/ !
Dnamei.c105 if (fibh->sbh == fibh->ebh) { in udf_write_fi()
137 if (fibh->sbh != fibh->ebh) in udf_write_fi()
139 mark_buffer_dirty_inode(fibh->sbh, inode); in udf_write_fi()
168 fibh->sbh = fibh->ebh = NULL; in udf_find_entry()
183 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_find_entry()
184 if (!fibh->sbh) in udf_find_entry()
201 if (fibh->sbh == fibh->ebh) { in udf_find_entry()
245 if (fibh->sbh != fibh->ebh) in udf_find_entry()
247 brelse(fibh->sbh); in udf_find_entry()
284 if (fibh.sbh != fibh.ebh) in udf_lookup()
[all …]
Ddirectory.c70 brelse(fibh->sbh); in udf_fileident_read()
71 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_fileident_read()
72 if (!fibh->sbh) in udf_fileident_read()
96 } else if (fibh->sbh != fibh->ebh) { in udf_fileident_read()
97 brelse(fibh->sbh); in udf_fileident_read()
98 fibh->sbh = fibh->ebh; in udf_fileident_read()
101 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read()
Ddir.c41 struct udf_fileident_bh fibh = { .sbh = NULL, .ebh = NULL}; in do_udf_readdir()
93 if (!(fibh.sbh = fibh.ebh = udf_tread(dir->i_sb, block))) { in do_udf_readdir()
129 if (fibh.sbh == fibh.ebh) { in do_udf_readdir()
178 if (fibh.sbh != fibh.ebh) in do_udf_readdir()
180 brelse(fibh.sbh); in do_udf_readdir()
Dudfdecl.h85 struct buffer_head *sbh; member
Dinode.c259 sfibh.sbh = sfibh.ebh = NULL; in udf_expand_dir_adinicb()
261 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
/linux-2.6.39/fs/nilfs2/ !
Dpage.c129 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
133 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
138 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
142 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
143 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
144 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
147 bits = sbh->b_state & ((1UL << BH_Uptodate) | (1UL << BH_Mapped)); in nilfs_copy_buffer()
281 struct buffer_head *dbh, *dbufs, *sbh, *sbufs; in nilfs_copy_page() local
286 sbh = sbufs = page_buffers(src); in nilfs_copy_page()
288 create_empty_buffers(dst, sbh->b_size, 0); in nilfs_copy_page()
[all …]
Dthe_nilfs.c468 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
473 &sbh[0]); in nilfs_load_super_block()
474 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
501 brelse(sbh[1]); in nilfs_load_super_block()
502 sbh[1] = NULL; in nilfs_load_super_block()
/linux-2.6.39/fs/bfs/ !
Dinode.c319 struct buffer_head *bh, *sbh; in bfs_fill_super() local
335 sbh = sb_bread(s, 0); in bfs_fill_super()
336 if (!sbh) in bfs_fill_super()
338 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
442 brelse(sbh); in bfs_fill_super()
452 brelse(sbh); in bfs_fill_super()
/linux-2.6.39/fs/ext3/ !
Dsuper.c2377 struct buffer_head *sbh = EXT3_SB(sb)->s_sbh; in ext3_commit_super() local
2380 if (!sbh) in ext3_commit_super()
2383 if (buffer_write_io_error(sbh)) { in ext3_commit_super()
2394 clear_buffer_write_io_error(sbh); in ext3_commit_super()
2395 set_buffer_uptodate(sbh); in ext3_commit_super()
2411 BUFFER_TRACE(sbh, "marking dirty"); in ext3_commit_super()
2412 mark_buffer_dirty(sbh); in ext3_commit_super()
2414 error = sync_dirty_buffer(sbh); in ext3_commit_super()
2415 if (buffer_write_io_error(sbh)) { in ext3_commit_super()
2418 clear_buffer_write_io_error(sbh); in ext3_commit_super()
[all …]
/linux-2.6.39/fs/reiserfs/ !
Dbitmap.c387 struct buffer_head *sbh, *bmbh; in _reiserfs_free_block() local
396 sbh = SB_BUFFER_WITH_SB(s); in _reiserfs_free_block()
422 reiserfs_prepare_for_journal(s, sbh, 1); in _reiserfs_free_block()
426 journal_mark_dirty(th, s, sbh); in _reiserfs_free_block()
/linux-2.6.39/fs/ext2/ !
Dsuper.c1133 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local
1135 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1146 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1147 set_buffer_uptodate(sbh); in ext2_clear_super_error()
/linux-2.6.39/fs/ext4/ !
Dsuper.c3991 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
3994 if (!sbh) in ext4_commit_super()
3996 if (buffer_write_io_error(sbh)) { in ext4_commit_super()
4007 clear_buffer_write_io_error(sbh); in ext4_commit_super()
4008 set_buffer_uptodate(sbh); in ext4_commit_super()
4036 BUFFER_TRACE(sbh, "marking dirty"); in ext4_commit_super()
4037 mark_buffer_dirty(sbh); in ext4_commit_super()
4039 error = sync_dirty_buffer(sbh); in ext4_commit_super()
4043 error = buffer_write_io_error(sbh); in ext4_commit_super()
4047 clear_buffer_write_io_error(sbh); in ext4_commit_super()
[all …]