VMEM_CONTAINS(9F) | Kernel Functions for Drivers | VMEM_CONTAINS(9F) |
vmem_contains
—
check for membership in a vmem arena
#include
<sys/vmem.h>
int
vmem_contains
(vmem_t *vmp,
void *vaddr, size_t *size);
illumos DDI specific
The
vmem_contains
()
function checks whether a segment of size bytes at
vaddr exists within the vmem arena
vmp.
This function may be called from user or kernel context.
vmem_contains
() returns non-0 if the
segment exists, and 0 otherwise.
January 18, 2017 | OmniOS |