syscall.Close
standard libraryThe 3689th most-called standard-library function by production calls. Called 187 times across 55 modules; 163 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 163
- non-test, non-generated
- all calls
- 187
- total callsites
- modules
- 55
- distinct callers
- in loop
- 18%
- of prod calls
- in tests
- 13%
- 24 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Close from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 21 13%
- Docker 15 9%
- Go (golang.org/x) 4 2%
- KubeVirt 3 2%
- containerd 2 1%
where it's called
Callsites in the wild
12 representative callsites of 187, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
juicedata/juicefs @v1.4.1
in loop - in loop
-
x/net @v0.59.0
nettest/nettest_unix.go:17
in loop -
k8s.io/utils @v0.0.0-20260707023825-cf1189d6abe3
inotify/inotify_linux.go:156
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
pkg/safepath/safepath.go:119
in loop -
k8s.io/kubernetes @v1.37.0
pkg/volume/util/subpath/subpath_linux.go:460
in loop - in loop
-
juicedata/juicefs @v1.4.1
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Close most in this snapshot.
- github.com/bluenviron/gortsplib/v52513%
- github.com/kubernetes/kubernetes116%
- k8s.io/kubernetes116%
- github.com/siderolabs/talos95%
- github.com/sipeed/picoclaw84%
siblings
More from syscall
The other most-called functions in this package. See all →