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