Searched refs:tail_index (Results 1 – 3 of 3) sorted by relevance
80 CIRC_SPACE(head_index, tail_index, buffer_size);88 CIRC_SPACE_TO_END(head_index, tail_index, buffer_size);97 CIRC_CNT(head_index, tail_index, buffer_size);104 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
1527 unsigned long tail_index; in unmap_buffers() local1532 tail_index = pos & (PAGE_SIZE - 1); in unmap_buffers()1548 if (cur_index > tail_index) { in unmap_buffers()
5824 unsigned int tail_index; in ocfs2_truncate_log_can_coalesce() local5831 tail_index = le16_to_cpu(tl->tl_used) - 1; in ocfs2_truncate_log_can_coalesce()5832 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start); in ocfs2_truncate_log_can_coalesce()5833 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters); in ocfs2_truncate_log_can_coalesce()