• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/

Lines Matching defs:tl

2412 	struct ocfs2_truncate_log *tl;
2415 tl = &di->id2.i_dealloc;
2417 mlog_bug_on_msg(le16_to_cpu(tl->tl_used) > le16_to_cpu(tl->tl_count),
2420 le16_to_cpu(tl->tl_used), le16_to_cpu(tl->tl_count));
2421 return le16_to_cpu(tl->tl_used) == le16_to_cpu(tl->tl_count);
2424 static int ocfs2_truncate_log_can_coalesce(struct ocfs2_truncate_log *tl,
2431 if (!le16_to_cpu(tl->tl_used))
2434 tail_index = le16_to_cpu(tl->tl_used) - 1;
2435 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start);
2436 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters);
2451 struct ocfs2_truncate_log *tl;
2461 tl = &di->id2.i_dealloc;
2468 tl_count = le16_to_cpu(tl->tl_count);
2475 le16_to_cpu(tl->tl_count));
2478 index = le16_to_cpu(tl->tl_used);
2496 if (ocfs2_truncate_log_can_coalesce(tl, start_cluster)) {
2503 num_clusters += le32_to_cpu(tl->tl_recs[index].t_clusters);
2505 index, le32_to_cpu(tl->tl_recs[index].t_start),
2508 tl->tl_recs[index].t_start = cpu_to_le32(start_cluster);
2509 tl->tl_used = cpu_to_le16(index + 1);
2511 tl->tl_recs[index].t_clusters = cpu_to_le32(num_clusters);
2535 struct ocfs2_truncate_log *tl;
2542 tl = &di->id2.i_dealloc;
2543 i = le16_to_cpu(tl->tl_used) - 1;
2554 tl->tl_used = cpu_to_le16(i);
2572 rec = tl->tl_recs[i];
2610 struct ocfs2_truncate_log *tl;
2617 tl = &di->id2.i_dealloc;
2624 num_to_flush = le16_to_cpu(tl->tl_used);
2764 struct ocfs2_truncate_log *tl;
2777 tl = &di->id2.i_dealloc;
2784 if (le16_to_cpu(tl->tl_used)) {
2786 le16_to_cpu(tl->tl_used));
2801 tl->tl_used = 0;
2834 struct ocfs2_truncate_log *tl;
2843 tl = &tl_copy->id2.i_dealloc;
2844 num_recs = le16_to_cpu(tl->tl_used);
2865 clusters = le32_to_cpu(tl->tl_recs[i].t_clusters);
2866 start_cluster = le32_to_cpu(tl->tl_recs[i].t_start);