From nobody Sun Jul 20 12:35:22 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4blNKR4fD1z623Zy; Sun, 20 Jul 2025 12:35:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blNKR1bC1z43jk; Sun, 20 Jul 2025 12:35:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753014923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xaf3GIl/f8wkLdHheGPkN0rdLiM+yu8Jv9s7rM8Aai4=; b=ZYXN2VfckAGJ7iPDUq5k4FWIdHjWLyDDShjE9b8ftFfF2nHXuIM7gazwEyRK4XvvWNdt5t H3VVsr3HhQA5TN9eo8ntl31ASUJklZH+Gx9T4iHJUqGA6AdesWw7BP/ksAq85KlaQ/Hpqb U4PM9Xgc14vhh6JIoFpUZ4C0TXr6aY9zuxEL99EYqXCzlaYljrtTQyNWV+suixXYINz8zb bQpV+CAJl0Gs/Yn3rE87xF0cXJJq2kTTElUqYG9Jhgwm+uUu8DVt90OzehSXNVuIKJsPB9 2WmwgSF6cjAZXIPm0hn/r+lJ1Fx2XVqE+icEhqjQ6q65WJhoa88GE7CeZvBVLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753014923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xaf3GIl/f8wkLdHheGPkN0rdLiM+yu8Jv9s7rM8Aai4=; b=EF+iox+9oWPZgwL1Fc0xDrjrCzCHLBD/G0CgP/xVTC3N/QHJY8meWhnJsB0ta+CeIewTsU QtJAzWanlV8ba65RVegqiAoAaqRavPcq3IcjhWu8pe4FBK029mI4pYG4Li9RsjFqP7Fx93 WbMbUwN4yBkgtpRX6YUwskDLMa+KnQNXWi93WDCq7ySODV9fStaJtsAHGaPo0cep+rl8F3 JowriDf2bOMFE1p7IyQiu+N26kxAMYCfwSrrZRWccE19FKSEFFZi0rDqlzZ+sLYQqqhzgO I2OVHlLUJbkO+GOsXqfx60hmFy5PUCbv+EdLF6OyIwdkAoknZiJnMMkU/3I6xQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753014923; a=rsa-sha256; cv=none; b=JCEp4mDqSK0kwO2I1vkwDZ7NcM6dVJFWOMypWaYPwAhT7NewhR96TzwUjfZN04qMgXIjg1 10EYsctPPssTpCfglqV28nmDG2YRvYP8vkY57RJ6o6nRcM4s3ZEy2cPYMoGtsd0FnTV4j3 5BmJ8dg2gPKuzbJ86liahopvp4zbrki6305fTgeH+V3L9QkYU+CgZtxlmrarnkv86HbLQa hkEHFl8ThXfFz70jpkz8L/3Uw0Z1vU0cRghFzsFfXZOOdEG0+AIaZNF6pnqN7rhyG2pWXv yZcxv2KslxoD5Gs5mIcphadZS1myPx1ByTs7iOzG+dYOBIdN6bWD7PM7++idgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4blNKR0Z2sz1B3X; Sun, 20 Jul 2025 12:35:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56KCZMp0069100; Sun, 20 Jul 2025 12:35:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56KCZM3G069097; Sun, 20 Jul 2025 12:35:22 GMT (envelope-from git) Date: Sun, 20 Jul 2025 12:35:22 GMT Message-Id: <202507201235.56KCZM3G069097@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: 22bebbb211e3 - main - tcp hpts: use consistently inline instead of __inline List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22bebbb211e304f09a29764f24ad9cfb82cee7f0 Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=22bebbb211e304f09a29764f24ad9cfb82cee7f0 commit 22bebbb211e304f09a29764f24ad9cfb82cee7f0 Author: Nick Banks AuthorDate: 2025-07-20 12:33:31 +0000 Commit: Michael Tuexen CommitDate: 2025-07-20 12:33:31 +0000 tcp hpts: use consistently inline instead of __inline Reviewed by: tuexen MFC after: 1 week Sponsored by: Netflix, Inc. --- sys/netinet/tcp_hpts.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/netinet/tcp_hpts.h b/sys/netinet/tcp_hpts.h index b097a2b98db9..a623d959db9a 100644 --- a/sys/netinet/tcp_hpts.h +++ b/sys/netinet/tcp_hpts.h @@ -165,25 +165,25 @@ extern int32_t tcp_min_hptsi_time; * The following functions should also be available * to userspace as well. */ -static __inline uint32_t +static inline uint32_t tcp_tv_to_hptstick(const struct timeval *sv) { return ((sv->tv_sec * 100000) + (sv->tv_usec / HPTS_TICKS_PER_SLOT)); } -static __inline uint32_t +static inline uint32_t tcp_tv_to_usectick(const struct timeval *sv) { return ((uint32_t) ((sv->tv_sec * HPTS_USEC_IN_SEC) + sv->tv_usec)); } -static __inline uint32_t +static inline uint32_t tcp_tv_to_mssectick(const struct timeval *sv) { return ((uint32_t) ((sv->tv_sec * HPTS_MSEC_IN_SEC) + (sv->tv_usec/HPTS_USEC_IN_MSEC))); } -static __inline uint64_t +static inline uint64_t tcp_tv_to_lusectick(const struct timeval *sv) { return ((uint64_t)((sv->tv_sec * HPTS_USEC_IN_SEC) + sv->tv_usec)); @@ -199,7 +199,7 @@ get_hpts_min_sleep_time(void) return (tcp_min_hptsi_time + HPTS_TICKS_PER_SLOT); } -static __inline uint32_t +static inline uint32_t tcp_gethptstick(struct timeval *sv) { struct timeval tv; @@ -210,7 +210,7 @@ tcp_gethptstick(struct timeval *sv) return (tcp_tv_to_hptstick(sv)); } -static __inline uint64_t +static inline uint64_t tcp_get_u64_usecs(struct timeval *tv) { struct timeval tvd; @@ -221,7 +221,7 @@ tcp_get_u64_usecs(struct timeval *tv) return (tcp_tv_to_lusectick(tv)); } -static __inline uint32_t +static inline uint32_t tcp_get_usecs(struct timeval *tv) { struct timeval tvd;