NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
HOT_RESTART
pmmFreeAll() permanently frees all persistent memory blocks that have been created with the deletion key delKey. delKey must be a valid deletion key (see pmmAllocate(2RESTART)), and delKeySize is its size.
The delKey parameter must not be NULL. The HR_GROUP_KEY and HR_GROUP_KEY_SIZE macros cannot be used with pmmFreeAll(). Attempting to do so will cause a K_EPRIV error.
If successful, K_OK is returned. Otherwise a negative error code is returned.
delKey is an internal system key (beginning with __SYS) and cannot be used.
delKey is associated with one or more persistent memory blocks which are internal to the system. These blocks can only be freed by the system.
delKeySize is larger than the size of PmmDelKey.
delKey does not identify an existing or valid persistent memory block.
Some of the provided arguments are outside the invoking actor's address space.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO