Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance
519 off_t start_pos, off_t end_pos, uintmax_t *read_pos) in file_lines() argument523 off_t pos = end_pos; in file_lines()567 end_pos - (pos + bytes_read)); in file_lines()579 end_pos); in file_lines()1851 off_t end_pos = -1; in tail_bytes() local1857 end_pos = stats.st_size; in tail_bytes()1859 end_pos = current_pos + n_bytes; in tail_bytes()1861 if (end_pos <= (off_t) STP_BLKSIZE (&stats)) in tail_bytes()1865 if (current_pos < end_pos) in tail_bytes()1867 off_t bytes_remaining = end_pos - current_pos; in tail_bytes()[all …]
355 off_t end_pos = fstatus->st.st_size; in wc() local359 if (end_pos % page_size) in wc()369 bytes = end_pos < current_pos ? 0 : end_pos - current_pos; in wc()377 off_t hi_pos = (end_pos in wc()378 - end_pos % (STP_BLKSIZE (&fstatus->st) + 1)); in wc()