Home
last modified time | relevance | path

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

/Linux-v6.1/fs/nilfs2/
Dthe_nilfs.c99 struct buffer_head *bh_sr; in nilfs_load_super_root() local
107 err = nilfs_read_super_root_block(nilfs, sr_block, &bh_sr, 1); in nilfs_load_super_root()
119 rawi = (void *)bh_sr->b_data + NILFS_SR_DAT_OFFSET(inode_size); in nilfs_load_super_root()
124 rawi = (void *)bh_sr->b_data + NILFS_SR_CPFILE_OFFSET(inode_size); in nilfs_load_super_root()
129 rawi = (void *)bh_sr->b_data + NILFS_SR_SUFILE_OFFSET(inode_size); in nilfs_load_super_root()
135 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_load_super_root()
139 brelse(bh_sr); in nilfs_load_super_root()
Drecovery.c133 struct buffer_head *bh_sr; in nilfs_read_super_root_block() local
139 bh_sr = __bread(nilfs->ns_bdev, sr_block, nilfs->ns_blocksize); in nilfs_read_super_root_block()
140 if (unlikely(!bh_sr)) { in nilfs_read_super_root_block()
145 sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_read_super_root_block()
154 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes, in nilfs_read_super_root_block()
164 *pbh = bh_sr; in nilfs_read_super_root_block()
168 brelse(bh_sr); in nilfs_read_super_root_block()
Dsegment.c958 struct buffer_head *bh_sr; in nilfs_segctor_fill_in_super_root() local
962 bh_sr = NILFS_LAST_SEGBUF(&sci->sc_segbufs)->sb_super_root; in nilfs_segctor_fill_in_super_root()
963 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_segctor_fill_in_super_root()