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()
47 static int sfi_table_is_type(struct sfi_table_header *sbh, const char *signature) in sfi_table_is_type() argument
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()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dpage.c100 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
104 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
109 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
113 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
114 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
115 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
118 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer()
199 struct buffer_head *dbh, *dbufs, *sbh; in nilfs_copy_page() local
204 sbh = page_buffers(src); in nilfs_copy_page()
206 create_empty_buffers(dst, sbh->b_size, 0); in nilfs_copy_page()
[all …]
H A Dthe_nilfs.c599 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
610 &sbh[0]); in nilfs_load_super_block()
611 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
638 brelse(sbh[1]); in nilfs_load_super_block()
639 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.c778 struct buffer_head *sbh = sbi->s_sbh; in update_super_work() local
784 if (jbd2_journal_get_write_access(handle, sbh)) { in update_super_work()
793 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in update_super_work()
796 clear_buffer_write_io_error(sbh); in update_super_work()
797 set_buffer_uptodate(sbh); in update_super_work()
800 if (jbd2_journal_dirty_metadata(handle, sbh)) { in update_super_work()
6116 struct buffer_head *sbh = sbi->s_sbh; in ext4_update_super() local
6118 lock_buffer(sbh); in ext4_update_super()
6184 unlock_buffer(sbh); in ext4_update_super()
6189 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
[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()