[][src]Type Definition jemalloc_sys::extent_dalloc_t

type extent_dalloc_t = unsafe extern "C" fn(extent_hooks: *mut extent_hooks_t, addr: *mut c_void, size: size_t, committed: c_int, arena_ind: c_uint) -> c_int;

Extent deallocation function.

Deallocates an extent at given addr and size with committed/decommited memory as indicated, on behalf of arena arena_ind, returning false upon success.

If the function returns true, this indicates opt-out from deallocation; the virtual memory mapping associated with the extent remains mapped, in the same commit state, and available for future use, in which case it will be automatically retained for later reuse.