Lines Matching refs:blk
32 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block() argument
42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block()
150 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header() argument
159 error = gfs2_replay_read_block(jd, blk, &bh); in get_log_header()
170 if (error || lh.lh_blkno != blk || lh.lh_hash != hash) in get_log_header()
191 static int find_good_lh(struct gfs2_jdesc *jd, unsigned int *blk, in find_good_lh() argument
194 unsigned int orig_blk = *blk; in find_good_lh()
198 error = get_log_header(jd, *blk, head); in find_good_lh()
202 if (++*blk == jd->jd_blocks) in find_good_lh()
203 *blk = 0; in find_good_lh()
205 if (*blk == orig_blk) { in find_good_lh()
225 unsigned int blk = head->lh_blkno; in jhead_scan() local
230 if (++blk == jd->jd_blocks) in jhead_scan()
231 blk = 0; in jhead_scan()
233 error = get_log_header(jd, blk, &lh); in jhead_scan()