diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:43 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:43 -0400 |
| commit | ac5e55f5f2af5b92794c2aded46c6bae85b5f5ed (patch) | |
| tree | 9367490586c84cba28652e443e3166d66c33b0d9 /static/freebsd/man9/vm_map_insert.9 4.html | |
| parent | 253e67c8b3a72b3a4757fdbc5845297628db0a4a (diff) | |
docs: Added All FreeBSD Manuals
Diffstat (limited to 'static/freebsd/man9/vm_map_insert.9 4.html')
| -rw-r--r-- | static/freebsd/man9/vm_map_insert.9 4.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/static/freebsd/man9/vm_map_insert.9 4.html b/static/freebsd/man9/vm_map_insert.9 4.html new file mode 100644 index 00000000..b4de9344 --- /dev/null +++ b/static/freebsd/man9/vm_map_insert.9 4.html @@ -0,0 +1,82 @@ +<table class="head"> + <tr> + <td class="head-ltitle">VM_MAP_INSERT(9)</td> + <td class="head-vol">Kernel Developer's Manual</td> + <td class="head-rtitle">VM_MAP_INSERT(9)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">vm_map_insert</code> — + <span class="Nd">insert an object into a map</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><code class="In">#include + <<a class="In">sys/param.h</a>></code> + <br/> + <code class="In">#include <<a class="In">vm/vm.h</a>></code> + <br/> + <code class="In">#include <<a class="In">vm/vm_map.h</a>></code></p> +<p class="Pp"><var class="Ft">int</var> + <br/> + <code class="Fn">vm_map_insert</code>(<var class="Fa">vm_map_t map</var>, + <var class="Fa">vm_object_t object</var>, <var class="Fa">vm_ooffset_t + offset</var>, <var class="Fa">vm_offset_t start</var>, + <var class="Fa">vm_offset_t end</var>, <var class="Fa">vm_prot_t prot</var>, + <var class="Fa">vm_prot_t max</var>, <var class="Fa">int cow</var>);</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The + <a class="permalink" href="#vm_map_insert"><code class="Fn" id="vm_map_insert">vm_map_insert</code></a>() + function inserts a mapping for the entire vm_object + <var class="Fa">object</var> into the target map + <var class="Fa">map</var>.</p> +<p class="Pp">The <var class="Fa">offset</var> argument specifies the offset + into the <var class="Fa">object</var> at which to begin mapping. The + object's size should match that of the specified address range.</p> +<p class="Pp">The <var class="Fa">start</var> and <var class="Fa">end</var> + arguments specify the bounds of the mapped object's window in the address + space of <var class="Fa">map</var>.</p> +<p class="Pp">The <var class="Fa">cow</var> argument specifies the flags which + should be propagated to the new entry, for example, to indicate that this is + a copy-on-write mapping.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="IMPLEMENTATION_NOTES"><a class="permalink" href="#IMPLEMENTATION_NOTES">IMPLEMENTATION + NOTES</a></h1> +<p class="Pp">This function implicitly creates a new + <var class="Vt">vm_map_entry</var> by calling the internal function + <code class="Fn">vm_map_entry_create</code>().</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN + VALUES</a></h1> +<p class="Pp">The <code class="Fn">vm_map_insert</code>() function returns + <code class="Dv">KERN_SUCCESS</code> if the mapping could be made + successfully.</p> +<p class="Pp">Otherwise, <code class="Dv">KERN_INVALID_ADDRESS</code> will be + returned if the start of the range could not be found, or + <code class="Dv">KERN_NO_SPACE</code> if the range was found to be part of + an existing entry or if it overlaps the end of the map.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">vm_map(9)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1> +<p class="Pp">This manual page was written by <span class="An">Bruce M + Simpson</span> + <<a class="Mt" href="mailto:bms@spc.org">bms@spc.org</a>>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">January 11, 2013</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
