Lines Matching defs:blkno
253 * @blkno: The device block number we want to write to
261 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno,
267 bio->bi_iter.bi_sector = blkno << sdp->sd_fsb2bb_shift;
278 * @blkno: The device block number we want to write to
292 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno,
303 if (blkno == nblk && !flush)
308 *biop = gfs2_log_alloc_bio(sdp, blkno, end_io);
318 * @blkno: block number of the log entry
326 unsigned size, unsigned offset, u64 blkno)
331 bio = gfs2_log_get_bio(sdp, blkno, &sdp->sd_log_bio, REQ_OP_WRITE,
335 bio = gfs2_log_get_bio(sdp, blkno, &sdp->sd_log_bio,
764 u64 blkno;
773 blkno = be64_to_cpu(*ptr++);
777 if (gfs2_revoke_check(jd, blkno, start))
784 bh_ip = gfs2_meta_new(gl, blkno);
796 rgd = gfs2_blk2rgrpd(sdp, blkno, false);
797 if (rgd && rgd->rd_addr == blkno &&
801 (unsigned long long)blkno);
914 u64 blkno;
932 blkno = be64_to_cpu(*(__be64 *)(bh->b_data + offset));
934 error = gfs2_revoke_add(jd, blkno, start);
995 u64 blkno;
1004 blkno = be64_to_cpu(*ptr++);
1009 if (gfs2_revoke_check(jd, blkno, start))
1016 bh_ip = gfs2_meta_new(gl, blkno);