• Home
  • Raw
  • Download

Lines Matching full:jd

516 static void buf_lo_before_scan(struct gfs2_jdesc *jd,  in buf_lo_before_scan()  argument
522 jd->jd_found_blocks = 0; in buf_lo_before_scan()
523 jd->jd_replayed_blocks = 0; in buf_lo_before_scan()
526 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements() argument
530 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_scan_elements()
531 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements()
541 gfs2_replay_incr_blk(jd, &start); in buf_lo_scan_elements()
543 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in buf_lo_scan_elements()
546 jd->jd_found_blocks++; in buf_lo_scan_elements()
548 if (gfs2_revoke_check(jd, blkno, start)) in buf_lo_scan_elements()
551 error = gfs2_replay_read_block(jd, start, &bh_log); in buf_lo_scan_elements()
569 jd->jd_replayed_blocks++; in buf_lo_scan_elements()
597 static void buf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in buf_lo_after_scan() argument
599 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_after_scan()
600 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_after_scan()
612 jd->jd_jid, jd->jd_replayed_blocks, jd->jd_found_blocks); in buf_lo_after_scan()
670 static void revoke_lo_before_scan(struct gfs2_jdesc *jd, in revoke_lo_before_scan() argument
676 jd->jd_found_revokes = 0; in revoke_lo_before_scan()
677 jd->jd_replay_tail = head->lh_tail; in revoke_lo_before_scan()
680 static int revoke_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in revoke_lo_scan_elements() argument
684 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_scan_elements()
698 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in revoke_lo_scan_elements()
699 error = gfs2_replay_read_block(jd, start, &bh); in revoke_lo_scan_elements()
709 error = gfs2_revoke_add(jd, blkno, start); in revoke_lo_scan_elements()
715 jd->jd_found_revokes++; in revoke_lo_scan_elements()
730 static void revoke_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in revoke_lo_after_scan() argument
732 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_after_scan()
735 gfs2_revoke_clean(jd); in revoke_lo_after_scan()
742 jd->jd_jid, jd->jd_found_revokes); in revoke_lo_after_scan()
744 gfs2_revoke_clean(jd); in revoke_lo_after_scan()
762 static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in databuf_lo_scan_elements() argument
766 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in databuf_lo_scan_elements()
777 gfs2_replay_incr_blk(jd, &start); in databuf_lo_scan_elements()
778 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in databuf_lo_scan_elements()
782 jd->jd_found_blocks++; in databuf_lo_scan_elements()
784 if (gfs2_revoke_check(jd, blkno, start)) in databuf_lo_scan_elements()
787 error = gfs2_replay_read_block(jd, start, &bh_log); in databuf_lo_scan_elements()
804 jd->jd_replayed_blocks++; in databuf_lo_scan_elements()
812 static void databuf_lo_after_scan(struct gfs2_jdesc *jd, int error, int pass) in databuf_lo_after_scan() argument
814 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in databuf_lo_after_scan()
815 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in databuf_lo_after_scan()
828 jd->jd_jid, jd->jd_replayed_blocks, jd->jd_found_blocks); in databuf_lo_after_scan()