Lines Matching refs:mapping
618 fd_info.mapping = INVALID_HANDLE_VALUE; in fs__open()
627 fd_info.mapping = INVALID_HANDLE_VALUE; in fs__open()
631 fd_info.mapping = CreateFileMapping(file, in fs__open()
637 if (fd_info.mapping == NULL) { in fs__open()
663 if (fd_info.mapping != INVALID_HANDLE_VALUE) { in fs__close()
664 CloseHandle(fd_info.mapping); in fs__close()
752 view = MapViewOfFile(fd_info->mapping, in fs__read_filemap()
929 if (fd_info->mapping != INVALID_HANDLE_VALUE) { in fs__write_filemap()
930 CloseHandle(fd_info->mapping); in fs__write_filemap()
933 fd_info->mapping = CreateFileMapping(file, in fs__write_filemap()
939 if (fd_info->mapping == NULL) { in fs__write_filemap()
942 fd_info->mapping = INVALID_HANDLE_VALUE; in fs__write_filemap()
955 view = MapViewOfFile(fd_info->mapping, in fs__write_filemap()
2130 if (fd_info.mapping != INVALID_HANDLE_VALUE) { in fs__ftruncate()
2131 CloseHandle(fd_info.mapping); in fs__ftruncate()
2150 fd_info.mapping = INVALID_HANDLE_VALUE; in fs__ftruncate()
2162 fd_info.mapping = INVALID_HANDLE_VALUE; in fs__ftruncate()
2166 fd_info.mapping = CreateFileMapping(handle, in fs__ftruncate()
2172 if (fd_info.mapping == NULL) { in fs__ftruncate()
2175 fd_info.mapping = INVALID_HANDLE_VALUE; in fs__ftruncate()