| /OK3568_Linux_fs/u-boot/arch/x86/cpu/tangier/ |
| H A D | sdram.c | 26 static int sfi_table_check(struct sfi_table_header *sbh) in sfi_table_check() argument 29 char *pos = (char *)sbh; in sfi_table_check() 32 if (sbh->len < SFI_TABLE_LENGTH) in sfi_table_check() 35 if (sbh->len > SFI_LENGTH) in sfi_table_check() 38 for (i = 0; i < sbh->len; i++) in sfi_table_check() 48 static int sfi_table_is_type(struct sfi_table_header *sbh, const char *signature) in sfi_table_is_type() argument 50 return !strncmp(sbh->sig, signature, SFI_SIGNATURE_SIZE) && in sfi_table_is_type() 51 !sfi_table_check(sbh); in sfi_table_is_type() 71 struct sfi_table_header *sbh; in sfi_search_mmap() local 83 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap() [all …]
|
| /OK3568_Linux_fs/kernel/fs/udf/ |
| H A D | namei.c | 103 if (fibh->sbh == fibh->ebh) { in udf_write_fi() 135 if (fibh->sbh != fibh->ebh) in udf_write_fi() 137 mark_buffer_dirty_inode(fibh->sbh, inode); in udf_write_fi() 189 fibh->sbh = fibh->ebh = NULL; in udf_find_entry() 207 fibh->sbh = fibh->ebh = udf_tread(sb, block); in udf_find_entry() 208 if (!fibh->sbh) { in udf_find_entry() 231 if (fibh->sbh == fibh->ebh) { in udf_find_entry() 288 if (fibh->sbh != fibh->ebh) in udf_find_entry() 290 brelse(fibh->sbh); in udf_find_entry() 317 if (fibh.sbh != fibh.ebh) in udf_lookup() [all …]
|
| H A D | directory.c | 71 brelse(fibh->sbh); in udf_fileident_read() 72 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_fileident_read() 73 if (!fibh->sbh) in udf_fileident_read() 97 } else if (fibh->sbh != fibh->ebh) { in udf_fileident_read() 98 brelse(fibh->sbh); in udf_fileident_read() 99 fibh->sbh = fibh->ebh; in udf_fileident_read() 102 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read()
|
| H A D | dir.c | 44 struct udf_fileident_bh fibh = { .sbh = NULL, .ebh = NULL}; in udf_readdir() 116 if (!(fibh.sbh = fibh.ebh = udf_tread(sb, block))) { in udf_readdir() 162 if (fibh.sbh == fibh.ebh) { in udf_readdir() 220 if (fibh.sbh != fibh.ebh) in udf_readdir() 222 brelse(fibh.sbh); in udf_readdir()
|
| H A D | udfdecl.h | 90 struct buffer_head *sbh; member
|
| H A D | inode.c | 374 sfibh.sbh = sfibh.ebh = NULL; in udf_expand_dir_adinicb() 376 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
|
| /OK3568_Linux_fs/kernel/fs/nilfs2/ |
| H A D | page.c | 99 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument 103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer() 108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer() 112 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; 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() 117 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer() 198 struct buffer_head *dbh, *dbufs, *sbh, *sbufs; in nilfs_copy_page() local 203 sbh = sbufs = page_buffers(src); in nilfs_copy_page() 205 create_empty_buffers(dst, sbh->b_size, 0); in nilfs_copy_page() [all …]
|
| H A D | the_nilfs.c | 491 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local 496 &sbh[0]); in nilfs_load_super_block() 497 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block() 524 brelse(sbh[1]); in nilfs_load_super_block() 525 sbh[1] = NULL; in nilfs_load_super_block()
|
| /OK3568_Linux_fs/kernel/fs/bfs/ |
| H A D | inode.c | 314 struct buffer_head *bh, *sbh; in bfs_fill_super() local 332 sbh = sb_bread(s, 0); in bfs_fill_super() 333 if (!sbh) in bfs_fill_super() 335 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super() 437 brelse(sbh); in bfs_fill_super() 445 brelse(sbh); in bfs_fill_super()
|
| /OK3568_Linux_fs/kernel/fs/reiserfs/ |
| H A D | bitmap.c | 422 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()
|
| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | super.c | 1226 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local 1228 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error() 1239 clear_buffer_write_io_error(sbh); in ext2_clear_super_error() 1240 set_buffer_uptodate(sbh); in ext2_clear_super_error()
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | super.c | 5511 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local 5514 if (!sbh) in ext4_commit_super() 5548 BUFFER_TRACE(sbh, "marking dirty"); in ext4_commit_super() 5551 lock_buffer(sbh); in ext4_commit_super() 5552 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in ext4_commit_super() 5563 clear_buffer_write_io_error(sbh); in ext4_commit_super() 5564 set_buffer_uptodate(sbh); in ext4_commit_super() 5566 mark_buffer_dirty(sbh); in ext4_commit_super() 5568 unlock_buffer(sbh); in ext4_commit_super() 5569 error = __sync_dirty_buffer(sbh, in ext4_commit_super() [all …]
|