HomeFreeBSD

Abstract UIO allocation and deallocation.

Description

Abstract UIO allocation and deallocation.

Introduce the allocuio() and freeuio() functions to allocate and
deallocate struct uio. This hides the actual allocator interface, so it
is easier to modify the sub-allocation layout of struct uio and the
corresponding iovec array.

Obtained from: CheriBSD
Reviewed by: kib, markj
MFC after: 2 weeks
Sponsored by: CHaOS, EPSRC grant EP/V000292/1
Differential Revision: https://reviews.freebsd.org/D43711

Details

Provenance
alfredo.mazzinghi_cl.cam.ac.ukAuthored on Jan 18 2024, 1:04 PM
markjCommitted on Feb 10 2024, 4:38 PM
Reviewer
kib
Differential Revision
D43711: Abstract UIO allocation and deallocation.
Parents
rGf82e98237395: Fix subr_uio.c style(9) with uses of sizeof.
Branches
Unknown
Tags
Unknown