osfmk/man/DP_backing_store_delete.html
Server Interface - Delete a backing storage object.
**#include< mach/default\_pager\_object.h>**** kern\_return\_t default\_pager\_backing\_store\_delete****(mach\_port\_t**backing\_store**);**
backing_store[in backing store (receive) right] The backing store port created by default_pager_backing_store_create.
The default_pager_backing_store_delete function is called to destroy a backing storage object created by default_pager_backing_store_create. The kernel does not make this call itself (which is why it can be a synchronous call); this request is only issued by tasks holding the backing store port, created with default_pager_backing_store_create , for a default memory manager.
KERN_FAILURE The default pager does not support this operation.
KERN_INVALID_ARGUMENT The backing_store port does not represent a valid backing store or the specified segment overlaps an existing partition.
KERN_SUCCESS The operation was successful.
Functions: default_pager_backing_store_create, default_pager_backing_store_info.