extent_split_t

Type Alias extent_split_t 

Source
pub type extent_split_t = unsafe extern "C" fn(*mut extent_hooks_s, *mut c_void, usize, usize, usize, bool, u32) -> bool;
Expand description

Extent split function.

Optionally splits an extent at given addr and size into two adjacent extents, the first of size_a bytes, and the second of size_b bytes, operating on committed/decommitted memory as indicated, on behalf of arena arena_ind, returning false upon success.

If the function returns true, this indicates that the extent remains unsplit and therefore should continue to be operated on as a whole.