Lines Matching refs:tr
99 struct gfs2_trans *tr) in gfs2_unpin() argument
122 bd->bd_tr = tr; in gfs2_unpin()
123 list_add(&bd->bd_ail_st_list, &tr->tr_ail1_list); in gfs2_unpin()
494 static void buf_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in buf_lo_before_commit() argument
498 if (tr == NULL) in buf_lo_before_commit()
500 nbuf = tr->tr_num_buf_new - tr->tr_num_buf_rm; in buf_lo_before_commit()
501 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_buf, 0); in buf_lo_before_commit()
504 static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in buf_lo_after_commit() argument
509 if (tr == NULL) in buf_lo_after_commit()
512 head = &tr->tr_buf; in buf_lo_after_commit()
516 gfs2_unpin(sdp, bd->bd_bh, tr); in buf_lo_after_commit()
619 static void revoke_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in revoke_lo_before_commit() argument
659 static void revoke_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in revoke_lo_after_commit() argument
757 static void databuf_lo_before_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in databuf_lo_before_commit() argument
761 if (tr == NULL) in databuf_lo_before_commit()
763 nbuf = tr->tr_num_databuf_new - tr->tr_num_databuf_rm; in databuf_lo_before_commit()
764 gfs2_before_commit(sdp, limit, nbuf, &tr->tr_databuf, 1); in databuf_lo_before_commit()
837 static void databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in databuf_lo_after_commit() argument
842 if (tr == NULL) in databuf_lo_after_commit()
845 head = &tr->tr_databuf; in databuf_lo_after_commit()
849 gfs2_unpin(sdp, bd->bd_bh, tr); in databuf_lo_after_commit()