syscall.Close
standard libraryThe 3739th most-called standard-library function by production calls. Called 188 times across 56 modules; 164 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (163 → 164)
- prod calls
- 164
- non-test, non-generated
- all calls
- 188
- total callsites
- modules
- 56
- 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 188, 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.1
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 →