Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance
118 u64 count, start_index, end_pos, max_pos; in write_comp_data() local137 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()138 if (likely(end_pos <= max_pos)) { in write_comp_data()
1077 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local1084 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()1086 end_pos = read_pos + count; in relay_file_read_end_pos()1087 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()1088 end_pos = 0; in relay_file_read_end_pos()1090 return end_pos; in relay_file_read_end_pos()