func runtime.KeepAlive

58 uses

	runtime (current package)
		arena.go#L876: 		KeepAlive(x)
		arena.go#L877: 		KeepAlive(faultList)
		cgocall.go#L202: 	KeepAlive(fn)
		cgocall.go#L203: 	KeepAlive(arg)
		cgocall.go#L204: 	KeepAlive(mp)
		chan.go#L264: 	KeepAlive(ep)
		mfinal.go#L518: func KeepAlive(x any) {
		mgc.go#L1816: 	KeepAlive(p)
		pinner.go#L142: 	KeepAlive(ptr) // make sure ptr is alive until we are done so the span can't be freed
		pinner.go#L161: 	KeepAlive(ptr) // make sure ptr is still alive after span is swept

	net
		fd_posix.go#L42: 	runtime.KeepAlive(fd)
		fd_posix.go#L56: 	runtime.KeepAlive(fd)
		fd_posix.go#L62: 	runtime.KeepAlive(fd)
		fd_posix.go#L67: 	runtime.KeepAlive(fd)
		fd_posix.go#L73: 	runtime.KeepAlive(fd)
		fd_posix.go#L79: 	runtime.KeepAlive(fd)
		fd_posix.go#L85: 	runtime.KeepAlive(fd)
		fd_posix.go#L91: 	runtime.KeepAlive(fd)
		fd_posix.go#L97: 	runtime.KeepAlive(fd)
		fd_posix.go#L103: 	runtime.KeepAlive(fd)
		fd_posix.go#L109: 	runtime.KeepAlive(fd)
		fd_posix.go#L115: 	runtime.KeepAlive(fd)
		fd_posix.go#L121: 	runtime.KeepAlive(fd)
		fd_posix.go#L127: 	runtime.KeepAlive(fd)
		fd_posix.go#L133: 	runtime.KeepAlive(fd)
		fd_unix.go#L70: 		runtime.KeepAlive(fd)
		fd_unix.go#L167: 		runtime.KeepAlive(fd)
		rawconn.go#L33: 	runtime.KeepAlive(c.fd)
		rawconn.go#L45: 	runtime.KeepAlive(c.fd)
		rawconn.go#L57: 	runtime.KeepAlive(c.fd)
		sockopt_posix.go#L106: 	runtime.KeepAlive(fd)
		sockopt_posix.go#L112: 	runtime.KeepAlive(fd)
		sockopt_posix.go#L118: 	runtime.KeepAlive(fd)
		sockopt_posix.go#L132: 	runtime.KeepAlive(fd)
		sockoptip_linux.go#L19: 	runtime.KeepAlive(fd)
		sockoptip_linux.go#L25: 	runtime.KeepAlive(fd)
		sockoptip_posix.go#L20: 	runtime.KeepAlive(fd)
		sockoptip_posix.go#L30: 	runtime.KeepAlive(fd)
		sockoptip_posix.go#L36: 	runtime.KeepAlive(fd)
		sockoptip_posix.go#L47: 	runtime.KeepAlive(fd)
		tcpsockopt_posix.go#L16: 	runtime.KeepAlive(fd)
		tcpsockopt_unix.go#L22: 	runtime.KeepAlive(fd)
		writev_unix.go#L27: 	runtime.KeepAlive(fd)

	os
		dir_unix.go#L71: 			runtime.KeepAlive(f)
		exec_posix.go#L57: 	runtime.KeepAlive(attr)
		file_posix.go#L30: 	runtime.KeepAlive(f)
		file_posix.go#L39: 	runtime.KeepAlive(f)
		file_posix.go#L47: 	runtime.KeepAlive(f)
		file_posix.go#L55: 	runtime.KeepAlive(f)
		file_unix.go#L339: 	runtime.KeepAlive(f)
		rawconn.go#L23: 	runtime.KeepAlive(c.file)
		rawconn.go#L32: 	runtime.KeepAlive(c.file)
		rawconn.go#L41: 	runtime.KeepAlive(c.file)
		wait_waitid.go#L37: 	runtime.KeepAlive(p)

	reflect
		value.go#L872: 	runtime.KeepAlive(out)
		value.go#L877: 	runtime.KeepAlive(ctxt)
		value.go#L1145: 	runtime.KeepAlive(ctxt)
		value.go#L1150: 	runtime.KeepAlive(valueRegs)