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
Tony Hutter <hutter2@llnl.gov>Committed on Apr 29 2024, 8:50 PM
Parents
rGd6da6cbd74f3: Clean up existing VERIFY*() macros.
Branches
Unknown
Tags
Unknown