const syscall.EINVAL

132 uses

	syscall (current package)
		env_unix.go#L91: 		return EINVAL
		env_unix.go#L95: 			return EINVAL
		env_unix.go#L102: 				return EINVAL
		exec_linux.go#L375: 			err1 = EINVAL
		exec_unix.go#L88: 			return nil, EINVAL
		netlink_linux.go#L80: 		return nil, EINVAL
		netlink_linux.go#L94: 			return nil, EINVAL
		netlink_linux.go#L104: 				return nil, EINVAL
		netlink_linux.go#L110: 				return nil, EINVAL
		netlink_linux.go#L143: 		return nil, nil, 0, EINVAL
		netlink_linux.go#L167: 		return nil, EINVAL
		netlink_linux.go#L185: 		return nil, nil, 0, EINVAL
		sockcmsg_linux.go#L29: 		return nil, EINVAL
		sockcmsg_linux.go#L32: 		return nil, EINVAL
		sockcmsg_linux.go#L35: 		return nil, EINVAL
		sockcmsg_unix.go#L57: 		return nil, nil, EINVAL
		sockcmsg_unix.go#L81: 		return nil, EINVAL
		sockcmsg_unix.go#L84: 		return nil, EINVAL
		syscall.go#L50: 		return nil, EINVAL
		syscall_linux.go#L127: 		return -1, EINVAL
		syscall_linux.go#L179: 		return EINVAL
		syscall_linux.go#L255: 				return EINVAL
		syscall_linux.go#L297: 		return EINVAL
		syscall_linux.go#L340: 		return EINVAL
		syscall_linux.go#L349: 		return EINVAL
		syscall_linux.go#L356: 		return EINVAL
		syscall_linux.go#L379: 		return "", EINVAL
		syscall_linux.go#L402: 		return nil, EINVAL
		syscall_linux.go#L524: 		return nil, 0, EINVAL
		syscall_linux.go#L536: 		return nil, 0, EINVAL
		syscall_linux.go#L551: 		return nil, 0, EINVAL
		syscall_linux.go#L560: 		return nil, 0, EINVAL
		syscall_linux.go#L593: 		return nil, 0, EINVAL
		syscall_unix.go#L52: 		return nil, EINVAL
		syscall_unix.go#L74: 		return EINVAL
		syscall_unix.go#L83: 		return EINVAL
		syscall_unix.go#L146: 	errEINVAL error = EINVAL
		syscall_unix.go#L158: 	case EINVAL:
		zerrors_linux_amd64.go#L1221: 	EINVAL          = Errno(0x16)

	github.com/gotd/neo
		net.go#L59: 		return 0, nil, syscall.EINVAL
		net.go#L80: 		return 0, syscall.EINVAL
		net.go#L106: 		return syscall.EINVAL
		net.go#L111: 		return syscall.EINVAL
		net.go#L133: 		return syscall.EINVAL
		net.go#L143: 		return syscall.EINVAL
		net.go#L153: 		return syscall.EINVAL

	internal/poll
		copy_file_range_linux.go#L40: 	case syscall.EXDEV, syscall.EINVAL, syscall.EIO, syscall.EOPNOTSUPP, syscall.EPERM:
		errno_unix.go#L15: 	errEINVAL error = syscall.EINVAL
		errno_unix.go#L27: 	case syscall.EINVAL:
		fd_unix.go#L660: 		case syscall.EINVAL, syscall.ENOSYS:
		sendfile_unix.go#L111: 		case syscall.ENOSYS, syscall.EOPNOTSUPP, syscall.EINVAL:
		sendfile_unix.go#L155: 		if err == syscall.EINVAL && (n > 0 || written > 0) {
		splice_linux.go#L57: 		handled = handled || (err != syscall.EINVAL)
		splice_linux.go#L207: 		return nil, syscall.EINVAL

	net
		fd_unix.go#L61: 	case syscall.EINVAL:
		file_posix.go#L75: 	return nil, syscall.EINVAL
		file_posix.go#L90: 	return nil, syscall.EINVAL
		file_posix.go#L107: 	return nil, syscall.EINVAL
		iprawsock.go#L118: 		return nil, syscall.EINVAL
		iprawsock.go#L126: 		return 0, nil, syscall.EINVAL
		iprawsock.go#L138: 		return 0, nil, syscall.EINVAL
		iprawsock.go#L159: 		return 0, 0, 0, nil, syscall.EINVAL
		iprawsock.go#L171: 		return 0, syscall.EINVAL
		iprawsock.go#L183: 		return 0, syscall.EINVAL
		iprawsock.go#L187: 		return 0, &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: addr, Err: syscall.EINVAL}
		iprawsock.go#L204: 		return 0, 0, syscall.EINVAL
		mptcpsock_linux.go#L46: 	case errors.Is(err, syscall.EINVAL): // Not supported: < v5.6
		net.go#L194: 		return 0, syscall.EINVAL
		net.go#L206: 		return 0, syscall.EINVAL
		net.go#L218: 		return syscall.EINVAL
		net.go#L250: 		return syscall.EINVAL
		net.go#L261: 		return syscall.EINVAL
		net.go#L272: 		return syscall.EINVAL
		net.go#L284: 		return syscall.EINVAL
		net.go#L296: 		return syscall.EINVAL
		rawconn.go#L30: 		return syscall.EINVAL
		rawconn.go#L42: 		return syscall.EINVAL
		rawconn.go#L54: 		return syscall.EINVAL
		rawconn.go#L98: 	return syscall.EINVAL
		rawconn.go#L102: 	return syscall.EINVAL
		tcpsock.go#L155: 		return nil, syscall.EINVAL
		tcpsock.go#L163: 		return 0, syscall.EINVAL
		tcpsock.go#L175: 		return 0, syscall.EINVAL
		tcpsock.go#L188: 		return syscall.EINVAL
		tcpsock.go#L200: 		return syscall.EINVAL
		tcpsock.go#L224: 		return syscall.EINVAL
		tcpsock.go#L236: 		return syscall.EINVAL
		tcpsock.go#L251: 		return syscall.EINVAL
		tcpsock.go#L265: 		return syscall.EINVAL
		tcpsock.go#L284: 		return false, syscall.EINVAL
		tcpsock.go#L363: 		return nil, syscall.EINVAL
		tcpsock.go#L372: 		return nil, syscall.EINVAL
		tcpsock.go#L385: 		return nil, syscall.EINVAL
		tcpsock.go#L398: 		return syscall.EINVAL
		tcpsock.go#L415: 		return syscall.EINVAL
		tcpsock.go#L432: 		return nil, syscall.EINVAL
		tcpsock_unix.go#L14: 		return syscall.EINVAL
		udpsock.go#L127: 		return nil, syscall.EINVAL
		udpsock.go#L144: 		return 0, nil, syscall.EINVAL
		udpsock.go#L170: 		return 0, netip.AddrPort{}, syscall.EINVAL
		udpsock.go#L198: 		return 0, 0, 0, netip.AddrPort{}, syscall.EINVAL
		udpsock.go#L210: 		return 0, syscall.EINVAL
		udpsock.go#L222: 		return 0, syscall.EINVAL
		udpsock.go#L234: 		return 0, syscall.EINVAL
		udpsock.go#L238: 		return 0, &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: addr, Err: syscall.EINVAL}
		udpsock.go#L257: 		return 0, 0, syscall.EINVAL
		udpsock.go#L269: 		return 0, 0, syscall.EINVAL
		unixsock.go#L76: 		return nil, syscall.EINVAL
		unixsock.go#L85: 		return syscall.EINVAL
		unixsock.go#L97: 		return syscall.EINVAL
		unixsock.go#L108: 		return 0, nil, syscall.EINVAL
		unixsock.go#L120: 		return 0, nil, syscall.EINVAL
		unixsock.go#L141: 		return 0, 0, 0, nil, syscall.EINVAL
		unixsock.go#L153: 		return 0, syscall.EINVAL
		unixsock.go#L165: 		return 0, syscall.EINVAL
		unixsock.go#L169: 		return 0, &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: addr, Err: syscall.EINVAL}
		unixsock.go#L186: 		return 0, 0, syscall.EINVAL
		unixsock.go#L243: 		return nil, syscall.EINVAL
		unixsock.go#L252: 		return nil, syscall.EINVAL
		unixsock.go#L265: 		return nil, syscall.EINVAL
		unixsock.go#L278: 		return syscall.EINVAL
		unixsock.go#L295: 		return syscall.EINVAL
		unixsock.go#L312: 		return nil, syscall.EINVAL
		writev_unix.go#L16: 		return 0, syscall.EINVAL

	os
		eloop_other.go#L22: 		if err == syscall.EINVAL {
		exec.go#L293: 			return syscall.EINVAL
		exec_unix.go#L41: 		return nil, syscall.EINVAL
		file_unix.go#L309: 		return syscall.EINVAL
		getwd.go#L61: 		if err != syscall.ENAMETOOLONG && err != syscall.EINVAL && err != errERANGE && err != errENOMEM {
		pidfd_linux.go#L99: 		return nil, syscall.EINVAL
		removeall_at.go#L25: 		return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
		root_openat.go#L207: 		return &PathError{Op: "RemoveAll", Path: name, Err: syscall.EINVAL}