Back to Darwin Xnu

Default Pager Info

osfmk/man/default_pager_info.html

latest1.3 KB
Original Source

default_pager_info


Server Interface - Furnish caller with information about the pager's paging partition.

SYNOPSIS

**kern\_return\_t default\_pager\_info**** (mach\_port\_t **pager,** default\_pager\_info\_t **info** ); ****kern\_return\_t seqnos\_default\_pager\_info**** (mach\_port\_t **pager,** mach\_port\_seqno\_t **seqno,** default\_pager\_info\_t **\*info** );**

PARAMETERS

pager[in default-pager (receive) right] The default memory manager service port.

seqno[in scalar] The sequence number of this message relative to the pager port.

info[out structure] Total and free space consumption.

DESCRIPTION

A default_pager_info function is called as the result of a message requesting that the default memory manager return information concerning the default pager's paging partitions. The kernel does not make this call itself (which is why it can be a synchronous call); this request is only issued by (privileged) tasks holding the default memory manager port.

RETURN VALUES

Only generic errors apply.

Functions: vm_set_default_memory_manager, memory_object_default_server, seqnos_memory_object_default_server.

Data Structures: default_pager_info.