Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance
1017 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local1024 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()1026 end_pos = read_pos + count; in relay_file_read_end_pos()1027 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()1028 end_pos = 0; in relay_file_read_end_pos()1030 return end_pos; in relay_file_read_end_pos()
233 u64 count, start_index, end_pos, max_pos; in write_comp_data() local252 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()253 if (likely(end_pos <= max_pos)) { in write_comp_data()