Searched refs:tail_index (Results 1 – 3 of 3) sorted by relevance
82 CIRC_SPACE(head_index, tail_index, buffer_size);90 CIRC_SPACE_TO_END(head_index, tail_index, buffer_size);99 CIRC_CNT(head_index, tail_index, buffer_size);106 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
1435 unsigned long tail_index; in unmap_buffers() local1440 tail_index = pos & (PAGE_CACHE_SIZE - 1); in unmap_buffers()1454 if (cur_index > tail_index) { in unmap_buffers()
5766 unsigned int tail_index; in ocfs2_truncate_log_can_coalesce() local5773 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()