Lines Matching refs:tr
85 struct gfs2_trans tr; in gfs2_ail_empty_gl() local
87 memset(&tr, 0, sizeof(tr)); in gfs2_ail_empty_gl()
88 INIT_LIST_HEAD(&tr.tr_buf); in gfs2_ail_empty_gl()
89 INIT_LIST_HEAD(&tr.tr_databuf); in gfs2_ail_empty_gl()
90 INIT_LIST_HEAD(&tr.tr_ail1_list); in gfs2_ail_empty_gl()
91 INIT_LIST_HEAD(&tr.tr_ail2_list); in gfs2_ail_empty_gl()
92 tr.tr_revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_empty_gl()
94 if (!tr.tr_revokes) { in gfs2_ail_empty_gl()
124 tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64)); in gfs2_ail_empty_gl()
125 tr.tr_ip = _RET_IP_; in gfs2_ail_empty_gl()
126 if (gfs2_log_reserve(sdp, tr.tr_reserved) < 0) in gfs2_ail_empty_gl()
129 current->journal_info = &tr; in gfs2_ail_empty_gl()
131 __gfs2_ail_flush(gl, 0, tr.tr_revokes); in gfs2_ail_empty_gl()