MCPcopy
hub / github.com/google/gvisor / chunksLoad

Method chunksLoad

pkg/sentry/pgalloc/pgalloc.go:238–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236}
237
238func (f *MemoryFile) chunksLoad() []chunkInfo {
239 return *f.chunks.Load()
240}
241
242// forEachChunk invokes fn on a sequence of chunks that collectively span all
243// bytes in fr. In each call, chunkFR is the subset of fr that falls within

Callers 5

SaveToMethod · 0.95
forEachChunkMethod · 0.95
releaserDestroyLockedMethod · 0.95
extendChunksLockedMethod · 0.95
TotalSizeMethod · 0.95

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected