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

Method NewFDTable

pkg/sentry/kernel/fd_table.go:139–143  ·  view source on GitHub ↗

NewFDTable allocates a new FDTable that may be used by tasks in k.

()

Source from the content-addressed store, hash-verified

137
138// NewFDTable allocates a new FDTable that may be used by tasks in k.
139func (k *Kernel) NewFDTable() *FDTable {
140 f := &FDTable{k: k}
141 f.init()
142 return f
143}
144
145// DecRef implements RefCounter.DecRef.
146//

Callers 7

StartContainerMethod · 0.80
SaveRestoreExecFunction · 0.80
invokeCudaCheckpointFunction · 0.80
execAsyncMethod · 0.80
CreateTaskFunction · 0.80
ForkMethod · 0.80
createFDTableFunction · 0.80

Calls 1

initMethod · 0.95

Tested by

no test coverage detected