Lines Matching refs:tr
86 struct gfs2_trans tr; in gfs2_ail_empty_gl() local
88 memset(&tr, 0, sizeof(tr)); in gfs2_ail_empty_gl()
89 INIT_LIST_HEAD(&tr.tr_buf); in gfs2_ail_empty_gl()
90 INIT_LIST_HEAD(&tr.tr_databuf); in gfs2_ail_empty_gl()
91 tr.tr_revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_empty_gl()
93 if (!tr.tr_revokes) in gfs2_ail_empty_gl()
99 tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64)); in gfs2_ail_empty_gl()
100 tr.tr_ip = _RET_IP_; in gfs2_ail_empty_gl()
101 if (gfs2_log_reserve(sdp, tr.tr_reserved) < 0) in gfs2_ail_empty_gl()
104 current->journal_info = &tr; in gfs2_ail_empty_gl()
106 __gfs2_ail_flush(gl, 0, tr.tr_revokes); in gfs2_ail_empty_gl()