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

Method VFS

pkg/sentry/kernel/kernel.go:2114–2116  ·  view source on GitHub ↗

VFS returns the virtual filesystem for the kernel.

()

Source from the content-addressed store, hash-verified

2112
2113// VFS returns the virtual filesystem for the kernel.
2114func (k *Kernel) VFS() *vfs.VirtualFilesystem {
2115 return &k.vfs
2116}
2117
2118// SetHostMount sets the hostfs mount.
2119func (k *Kernel) SetHostMount(mnt *vfs.Mount) {

Callers 15

BootFunction · 0.95
CreateProcessMethod · 0.95
catFunction · 0.80
toggleCudaProcsFunction · 0.80
getPciDeviceFdMethod · 0.80
EpollCreate1Function · 0.80
EpollCreateFunction · 0.80
mknodatFunction · 0.80
openatFunction · 0.80
accessAtFunction · 0.80
GetcwdFunction · 0.80

Calls

no outgoing calls

Tested by 4

newTestSystemFunction · 0.64
setupFunction · 0.64
setupWithDataFunction · 0.64
TestCreateMountNamespaceFunction · 0.64