Print this page
code review from Josh and Robert
   1 VMEM_CONTAINS(9F)        Kernel Functions for Drivers        VMEM_CONTAINS(9F)
   2 
   3 NAME
   4      vmem_contains, - check for membership in a vmem arena
   5 
   6 SYNOPSIS
   7      #include <sys/vmem.h>
   8 
   9      int
  10      vmem_contains(vmem_t *vmp, void *vaddr, size_t *size);
  11 
  12 INTERFACE LEVEL
  13      illumos DDI specific
  14 
  15 PARAMETERS
  16      vmp     The vmem arena
  17 
  18      vaddr   address of the segment to query.
  19 
  20      size    size of the segment to query
  21 
  22 DESCRIPTION
  23      The vmem_contains() function checks whether a segment of size bytes at
  24      vaddr exists within the vmem arena vmp.
   1 VMEM_CONTAINS(9F)        Kernel Functions for Drivers        VMEM_CONTAINS(9F)
   2 
   3 NAME
   4      vmem_contains - check for membership in a vmem arena
   5 
   6 SYNOPSIS
   7      #include <sys/vmem.h>
   8 
   9      int
  10      vmem_contains(vmem_t *vmp, void *vaddr, size_t *size);
  11 
  12 INTERFACE LEVEL
  13      illumos DDI specific
  14 
  15 PARAMETERS
  16      vmp     The vmem arena
  17 
  18      vaddr   address of the segment to query.
  19 
  20      size    size of the segment to query
  21 
  22 DESCRIPTION
  23      The vmem_contains() function checks whether a segment of size bytes at
  24      vaddr exists within the vmem arena vmp.