Searched refs:current_offset (Results 1 – 1 of 1) sorted by relevance
1016 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR); in Create() local1017 if (current_offset == -1) { in Create()1034 result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length)); in Create()1037 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()1043 result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset)); in Create()1046 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()