Print this page
code review from Josh and Robert
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man9f/vmem_contains.9f.man.txt
+++ new/usr/src/man/man9f/vmem_contains.9f.man.txt
1 1 VMEM_CONTAINS(9F) Kernel Functions for Drivers VMEM_CONTAINS(9F)
2 2
3 3 NAME
4 - vmem_contains, - check for membership in a vmem arena
4 + vmem_contains - check for membership in a vmem arena
5 5
6 6 SYNOPSIS
7 7 #include <sys/vmem.h>
8 8
9 9 int
10 10 vmem_contains(vmem_t *vmp, void *vaddr, size_t *size);
11 11
12 12 INTERFACE LEVEL
13 13 illumos DDI specific
14 14
15 15 PARAMETERS
16 16 vmp The vmem arena
17 17
18 18 vaddr address of the segment to query.
19 19
20 20 size size of the segment to query
21 21
22 22 DESCRIPTION
23 23 The vmem_contains() function checks whether a segment of size bytes at
24 24 vaddr exists within the vmem arena vmp.
25 25
26 26 CONTEXT
27 27 This function may be called from user or kernel context.
28 28
29 29 RETURN VALUES
30 30 vmem_contains() returns non-0 if the segment exists, and 0 otherwise.
31 31
32 32 SEE ALSO
33 33 vmem(9), vmem_add(9F), vmem_alloc(9F), vmem_create(9F)
34 34
35 35 illumos January 18, 2017 illumos
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX