Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance
1020 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local1027 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()1029 end_pos = read_pos + count; in relay_file_read_end_pos()1030 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()1031 end_pos = 0; in relay_file_read_end_pos()1033 return end_pos; in relay_file_read_end_pos()
215 u64 count, start_index, end_pos, max_pos; in write_comp_data() local234 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()235 if (likely(end_pos <= max_pos)) { in write_comp_data()