Searched refs:tl (Results 1 – 1 of 1) sorted by relevance
5751 struct ocfs2_truncate_log *tl; in ocfs2_truncate_log_needs_flush() local5754 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_needs_flush()5756 mlog_bug_on_msg(le16_to_cpu(tl->tl_used) > le16_to_cpu(tl->tl_count), in ocfs2_truncate_log_needs_flush()5759 le16_to_cpu(tl->tl_used), le16_to_cpu(tl->tl_count)); in ocfs2_truncate_log_needs_flush()5760 return le16_to_cpu(tl->tl_used) == le16_to_cpu(tl->tl_count); in ocfs2_truncate_log_needs_flush()5763 static int ocfs2_truncate_log_can_coalesce(struct ocfs2_truncate_log *tl, in ocfs2_truncate_log_can_coalesce() argument5770 if (!le16_to_cpu(tl->tl_used)) in ocfs2_truncate_log_can_coalesce()5773 tail_index = le16_to_cpu(tl->tl_used) - 1; in ocfs2_truncate_log_can_coalesce()5774 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start); in ocfs2_truncate_log_can_coalesce()5775 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters); in ocfs2_truncate_log_can_coalesce()[all …]