Lines Matching refs:view
714 void* view; in fs__read_filemap() local
752 view = MapViewOfFile(fd_info->mapping, in fs__read_filemap()
757 if (view == NULL) { in fs__read_filemap()
773 (char*)view + view_offset + done_read, in fs__read_filemap()
780 UnmapViewOfFile(view); in fs__read_filemap()
788 if (!UnmapViewOfFile(view)) { in fs__read_filemap()
895 void* view; in fs__write_filemap() local
955 view = MapViewOfFile(fd_info->mapping, in fs__write_filemap()
960 if (view == NULL) { in fs__write_filemap()
971 memcpy((char*)view + view_offset + done_write, in fs__write_filemap()
979 UnmapViewOfFile(view); in fs__write_filemap()
987 if (!FlushViewOfFile(view, 0)) { in fs__write_filemap()
989 UnmapViewOfFile(view); in fs__write_filemap()
992 if (!UnmapViewOfFile(view)) { in fs__write_filemap()