Home
last modified time | relevance | path

Searched refs:bh_sr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/fs/nilfs2/
Dthe_nilfs.c108 struct buffer_head *bh_sr; in nilfs_load_super_root() local
116 err = nilfs_read_super_root_block(nilfs, sr_block, &bh_sr, 1); in nilfs_load_super_root()
128 rawi = (void *)bh_sr->b_data + NILFS_SR_DAT_OFFSET(inode_size); in nilfs_load_super_root()
133 rawi = (void *)bh_sr->b_data + NILFS_SR_CPFILE_OFFSET(inode_size); in nilfs_load_super_root()
138 rawi = (void *)bh_sr->b_data + NILFS_SR_SUFILE_OFFSET(inode_size); in nilfs_load_super_root()
144 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_load_super_root()
148 brelse(bh_sr); in nilfs_load_super_root()
Drecovery.c145 struct buffer_head *bh_sr; in nilfs_read_super_root_block() local
151 bh_sr = __bread(nilfs->ns_bdev, sr_block, nilfs->ns_blocksize); in nilfs_read_super_root_block()
152 if (unlikely(!bh_sr)) { in nilfs_read_super_root_block()
157 sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_read_super_root_block()
166 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes, in nilfs_read_super_root_block()
176 *pbh = bh_sr; in nilfs_read_super_root_block()
180 brelse(bh_sr); in nilfs_read_super_root_block()
Dsegment.c890 struct buffer_head *bh_sr; in nilfs_segctor_fill_in_super_root() local
894 bh_sr = NILFS_LAST_SEGBUF(&sci->sc_segbufs)->sb_super_root; in nilfs_segctor_fill_in_super_root()
895 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_segctor_fill_in_super_root()