Back to Darwin Xnu

DP Backing Store Delete

osfmk/man/DP_backing_store_delete.html

latest1.3 KB
Original Source

default_pager_backing_store_delete


Server Interface - Delete a backing storage object.

SYNOPSIS

**#include&lt mach/default\_pager\_object.h&gt**** kern\_return\_t default\_pager\_backing\_store\_delete****(mach\_port\_t**backing\_store**);**

PARAMETERS

backing_store[in backing store (receive) right] The backing store port created by default_pager_backing_store_create.

DESCRIPTION

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.

RETURN VALUES

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.