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

Struct fileDescription

pkg/sentry/fsimpl/gofer/gofer.go:2272–2278  ·  view source on GitHub ↗

fileDescription is embedded by gofer implementations of vfs.FileDescriptionImpl. +stateify savable

Source from the content-addressed store, hash-verified

2270//
2271// +stateify savable
2272type fileDescription struct {
2273 vfsfd vfs.FileDescription
2274 vfs.FileDescriptionDefaultImpl
2275 vfs.LockFD
2276
2277 lockLogging sync.Once `state:"nosave"`
2278}
2279
2280func (fd *fileDescription) filesystem() *filesystem {
2281 return fd.vfsfd.Mount().Filesystem().Impl().(*filesystem)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected