Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
2a4703b2
Commit
2a4703b2
authored
Dec 19, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
31c39546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
bigfile/_bigfile.c
bigfile/_bigfile.c
+6
-2
No files found.
bigfile/_bigfile.c
View file @
2a4703b2
...
...
@@ -916,13 +916,17 @@ pybigfile_mmap_setup_read(VMA *vma, BigFile *file0, blk_t blk, size_t blklen)
static
int
pybigfile_remmap_blk_read
(
VMA
*
vma
,
BigFile
*
file0
,
blk_t
blk
)
{
BUG
();
// XXX
PyBigFile
*
file
=
container_of
(
file0
,
PyBigFile
,
file
);
ASSERT
(
file
->
blkmmap_ops
!=
NULL
);
return
file
->
blkmmap_ops
->
remmap_blk_read
(
vma
,
file0
,
blk
);
}
static
void
pybigfile_munmap
(
VMA
*
vma
,
BigFile
*
file0
)
{
BUG
();
// XXX
PyBigFile
*
file
=
container_of
(
file0
,
PyBigFile
,
file
);
ASSERT
(
file
->
blkmmap_ops
!=
NULL
);
return
file
->
blkmmap_ops
->
munmap
(
vma
,
file0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment