extent_merge_t

Type Alias extent_merge_t 

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

Extent merge function.

Optionally merges adjacent extents, at given addr_a and size_a with given addr_b and size_b into one contiguous extent, 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 extents remain distinct mappings and therefore should continue to be operated on independently.