Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c3052 off_t offset_rounded = 0, offset_leftover = 0; in evbuffer_file_segment_materialize() local
3060 offset_leftover = offset % page_size; in evbuffer_file_segment_materialize()
3061 offset_rounded = offset - offset_leftover; in evbuffer_file_segment_materialize()
3063 mapped = mmap(NULL, length + offset_leftover, in evbuffer_file_segment_materialize()
3078 seg->contents = (char*)mapped+offset_leftover; in evbuffer_file_segment_materialize()
3169 off_t offset_leftover; in evbuffer_file_segment_free()
3170 offset_leftover = seg->file_offset % get_page_size(); in evbuffer_file_segment_free()
3171 if (munmap(seg->mapping, seg->length + offset_leftover) == -1) in evbuffer_file_segment_free()