HomeFreeBSD

compress: change compression providers API to use ABDs

Description

compress: change compression providers API to use ABDs

This commit changes the provider compress and decompress API to take ABD
pointers instead of buffer pointers for both data source and
destination. It then updates all providers to match.

This doesn't actually change the providers to do chunked compression,
just changes the API to allow such an update in the future. Helper
macros are added to easily adapt the ABD functions to their buffer-based
implementations.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>

Details

Provenance
rob.norris_klarasystems.comAuthored on Jun 30 2024, 2:10 AM
Tony Hutter <hutter2@llnl.gov>Committed on Aug 22 2024, 11:22 PM
Parents
rG522816498c0e: compress: standardise names of compression functions
Branches
Unknown
Tags
Unknown