HomeFreeBSD

Add VERIFY0P() and ASSERT0P() macros.

Description

Add VERIFY0P() and ASSERT0P() macros.

These macros are similar to VERIFY0() and ASSERT0() but are intended
for pointers, and therefore use uintptr_t instead of int64_t.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Kay Pedersen <mail@mkwg.de>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Dag-Erling Smørgrav <des@FreeBSD.org>
Closes #15225

Details

Provenance
desAuthored on Aug 30 2023, 3:13 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 20 2023, 12:21 AM
Parents
rG01d9283af354: Clean up existing VERIFY*() macros.
Branches
Unknown
Tags
Unknown