HomeFreeBSD

LinuxKPI: add ALIGN_DOWN()

Description

LinuxKPI: add ALIGN_DOWN()

Add ALIGN_DOWN as rounddown2() along ALIGN() which is implemented as
roundup2().

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: manu, hselasky (now with less ())
Differential Revision: https://reviews.freebsd.org/D34844

Details

Provenance
bzAuthored on Apr 8 2022, 3:30 PM
Reviewer
manu
Differential Revision
D34844: LinuxKPI: add ALIGN_DOWN()
Parents
rG3dc5f8e19d8c: ffs: wait for trims earlier during unmount to avoid panic
Branches
Unknown
Tags
Unknown