Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/x86/cpu/tangier/
H A Dsdram.c25 static int sfi_table_check(struct sfi_table_header *sbh) in sfi_table_check() argument
28 char *pos = (char *)sbh; in sfi_table_check()
31 if (sbh->len < SFI_TABLE_LENGTH) in sfi_table_check()
34 if (sbh->len > SFI_LENGTH) in sfi_table_check()
37 for (i = 0; i < sbh->len; i++) in sfi_table_check()
49 return !strncmp(sbh->sig, signature, SFI_SIGNATURE_SIZE) && in sfi_table_is_type()
50 !sfi_table_check(sbh); in sfi_table_is_type()
70 struct sfi_table_header *sbh; in sfi_search_mmap() local
82 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap()
88 if (sfi_table_is_type(sbh, SFI_SIG_MMAP)) in sfi_search_mmap()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dpage.c108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); 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()
203 sbh = page_buffers(src); in nilfs_copy_page()
212 lock_buffer(sbh); in nilfs_copy_page()
214 dbh->b_state = sbh->b_state & mask; in nilfs_copy_page()
215 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_page()
216 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_page()
217 sbh = sbh->b_this_page; in nilfs_copy_page()
233 unlock_buffer(sbh); in nilfs_copy_page()
[all …]
H A Dthe_nilfs.c593 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
604 &sbh[0]); in nilfs_load_super_block()
605 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
632 brelse(sbh[1]); in nilfs_load_super_block()
633 sbh[1] = NULL; in nilfs_load_super_block()
/openbmc/linux/fs/bfs/
H A Dinode.c312 struct buffer_head *bh, *sbh; in bfs_fill_super() local
330 sbh = sb_bread(s, 0); in bfs_fill_super()
331 if (!sbh) in bfs_fill_super()
333 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
435 brelse(sbh); in bfs_fill_super()
443 brelse(sbh); in bfs_fill_super()
/openbmc/linux/fs/ext4/
H A Dsuper.c785 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in update_super_work()
789 set_buffer_uptodate(sbh); in update_super_work()
6103 lock_buffer(sbh); in ext4_update_super()
6169 unlock_buffer(sbh); in ext4_update_super()
6176 if (!sbh) in ext4_commit_super()
6183 lock_buffer(sbh); in ext4_commit_super()
6186 unlock_buffer(sbh); in ext4_commit_super()
6190 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in ext4_commit_super()
6204 get_bh(sbh); in ext4_commit_super()
6206 clear_buffer_dirty(sbh); in ext4_commit_super()
[all …]
/openbmc/linux/fs/reiserfs/
H A 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()
/openbmc/linux/fs/ext2/
H A Dsuper.c1227 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local
1229 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1240 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1241 set_buffer_uptodate(sbh); in ext2_clear_super_error()