Home
last modified time | relevance | path

Searched refs:offset_leftover (Results 1 – 1 of 1) sorted by relevance

/external/libevent/
Dbuffer.c3039 off_t offset_rounded = 0, offset_leftover = 0; in evbuffer_file_segment_materialize() local
3047 offset_leftover = offset % page_size; in evbuffer_file_segment_materialize()
3048 offset_rounded = offset - offset_leftover; in evbuffer_file_segment_materialize()
3050 mapped = mmap(NULL, length + offset_leftover, in evbuffer_file_segment_materialize()
3065 seg->contents = (char*)mapped+offset_leftover; in evbuffer_file_segment_materialize()
3156 off_t offset_leftover; in evbuffer_file_segment_free()
3157 offset_leftover = seg->file_offset % get_page_size(); in evbuffer_file_segment_free()
3158 if (munmap(seg->mapping, seg->length + offset_leftover) == -1) in evbuffer_file_segment_free()