package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
segmentAfterPosition returns the successor segment of the position given by n.children[i], which may or may not contain a child.
segmentBeforePosition returns the predecessor segment of the position given by n.children[i], which may or may not contain a child.
No description provided by the author
No description provided by the author
segmentAfterPosition returns the successor segment of the position given by n.children[i], which may or may not contain a child.
segmentBeforePosition returns the predecessor segment of the position given by n.children[i], which may or may not contain a child.
No description provided by the author
No description provided by the author
segmentAfterPosition returns the successor segment of the position given by n.children[i], which may or may not contain a child.
segmentBeforePosition returns the predecessor segment of the position given by n.children[i], which may or may not contain a child.
No description provided by the author
No description provided by the author
NewHostFileMapper returns an initialized HostFileMapper allocated on the heap with no references or cached mappings.
SyncDirty passes pages in the range mr that are stored in cache and identified as dirty to writeAt, updating dirty to reflect successful writes.
SyncDirtyAll passes all pages stored in cache identified as dirty to writeAt, updating dirty to reflect successful writes.
# Constants
No description provided by the author
minDegree is the minimum degree of an internal node in a Set B-tree.
trackGaps is an optional parameter.
No description provided by the author
minDegree is the minimum degree of an internal node in a Set B-tree.
trackGaps is an optional parameter.
No description provided by the author
minDegree is the minimum degree of an internal node in a Set B-tree.
trackGaps is an optional parameter.
# Structs
A GapIterator is conceptually one of:
- A pointer to a position between two segments, before the first segment, or after the last segment in a set, called a *gap*; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
DirtyInfo is the value type of DirtySet, and represents information about a Mappable offset that is dirty (the cached data for that offset is newer than its source).
A Iterator is conceptually one of:
- A pointer to a segment in a set; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
+stateify savable.
SegmentDataSlices represents segments from a set as slices of start, end, and values.
A Set is a mapping of segments with non-overlapping Range keys.
A GapIterator is conceptually one of:
- A pointer to a position between two segments, before the first segment, or after the last segment in a set, called a *gap*; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
A Iterator is conceptually one of:
- A pointer to a segment in a set; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
+stateify savable.
SegmentDataSlices represents segments from a set as slices of start, end, and values.
A Set is a mapping of segments with non-overlapping Range keys.
FileRangeSetFunctions implements segment.Functions for FileRangeSet.
A GapIterator is conceptually one of:
- A pointer to a position between two segments, before the first segment, or after the last segment in a set, called a *gap*; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
A Iterator is conceptually one of:
- A pointer to a segment in a set; or
- A terminal iterator, which is a sentinel indicating that the end of iteration has been reached.
+stateify savable.
FrameRefSegInfo holds reference count and memory cgroup id of the segment.
SegmentDataSlices represents segments from a set as slices of start, end, and values.
A Set is a mapping of segments with non-overlapping Range keys.
FrameRefSetFunctions implements segment.Functions for FrameRefSet.
HostFileMapper caches mappings of an arbitrary host file descriptor.
# Type aliases
dynamicGap is a type that disappears if trackGaps is 0.
dynamicGap is a type that disappears if trackGaps is 0.
dynamicGap is a type that disappears if trackGaps is 0.