Lines Matching refs:bh
54 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create… in qnx4_get_block() argument
63 map_bh(bh, inode->i_sb, phys); in qnx4_get_block()
81 struct buffer_head *bh = NULL; in qnx4_block_map() local
97 bh = sb_bread(inode->i_sb, i_xblk - 1); in qnx4_block_map()
98 if ( !bh ) { in qnx4_block_map()
102 xblk = (struct qnx4_xblk*)bh->b_data; in qnx4_block_map()
116 brelse( bh ); in qnx4_block_map()
117 bh = NULL; in qnx4_block_map()
120 if ( bh ) in qnx4_block_map()
121 brelse( bh ); in qnx4_block_map()
153 struct buffer_head *bh; in qnx4_checkroot() local
164 bh = sb_bread(sb, rd + j); /* root dir, first block */ in qnx4_checkroot()
165 if (bh == NULL) in qnx4_checkroot()
167 rootdir = (struct qnx4_inode_entry *) bh->b_data; in qnx4_checkroot()
175 brelse(bh); in qnx4_checkroot()
181 brelse(bh); in qnx4_checkroot()
188 struct buffer_head *bh; in qnx4_fill_super() local
207 bh = sb_bread(s, 1); in qnx4_fill_super()
208 if (!bh) { in qnx4_fill_super()
214 errmsg = qnx4_checkroot(s, (struct qnx4_super_block *) bh->b_data); in qnx4_fill_super()
215 brelse(bh); in qnx4_fill_super()
262 struct buffer_head *bh; in qnx4_iget() local
287 if (!(bh = sb_bread(sb, block))) { in qnx4_iget()
293 raw_inode = ((struct qnx4_inode_entry *) bh->b_data) + in qnx4_iget()
325 brelse(bh); in qnx4_iget()
328 brelse(bh); in qnx4_iget()