PMMLOCK(3) | PMMLOCK(3) |
int pmMLock(pmContext *pmc, int rmt_node, caddr_t addr, size_t len, pmAddrHandle *hndlp);
pmContext * |
pmc |
pmContext object | |
int |
rmt_node |
Remote node number | |
caddr_t |
addr |
Start address of region to be locked | |
size_t |
len |
Length of region | |
pmAddrHandle * |
hndlp |
Locked address handle |
pmMLock
() pins down a specified region and returns a locked
address handle.
rmt_node
can be specified as
PM_NODE_ANY
to pin-down a region for all remote nodes.addr
and len
is system dependent.len
is system dependent.
PM_SUCCESS |
Success |
EINVAL |
Invalid remote node number |
Invalid length | |
ENOSPC |
No enough resources to lock a region |
ENOSYS |
Operation not supported |