Server Interface - Add additional backing storage for a default pager.
#include< mach/default_pager_object.h> kern_return_t default_pager_add_segment (mach_port_t backing_store, mach_port_t device, recnum_t offset, recnum_t count, int record_size);
The default_pager_add_segment function is called to add a partition to a default pager's backing storage (i.e. expand the amount of backing storage available to a memory manager). 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. The result is that the pager may use count records on device starting at offset for paging, and each record is record_size bytes in length (note that the device_* calls are, or can be, record oriented).
Functions: default_pager_backing_store_create, default_pager_backing_store_delete, default_pager_backing_store_info.