Lines Matching +full:memory +full:- +full:to +full:- +full:memory
5 .\" This code is derived from software contributed to The NetBSD Foundation
19 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
50 .Nd kernel memory management routines
102 function allocates uninitialized memory in kernel address space for an
108 variant allocates memory from a specific
121 which must be non-zero, a power of two, and less than or equal to the page size.
127 can be used to return executable memory.
128 Not all platforms enforce a distinction between executable and non-executable
129 memory.
133 function allocates uninitialized memory in kernel address space for an
141 variant allocates memory from a specific
150 function releases memory at address
154 for re-use.
155 The memory is not zeroed.
168 function releases memory at address
172 for re-use.
175 will zero the memory before it is released.
179 function changes the size of the previously allocated memory referenced by
181 to
184 The contents of the memory are unchanged up to the lesser of the new and
188 If the requested memory cannot be allocated,
190 is returned and the memory referenced by
199 function behaves identically to
205 function is identical to
208 will free the passed pointer when the requested memory cannot be allocated.
212 function returns the usable size of the allocation pointed to by
225 .Bl -tag -width indent
227 Causes the allocated memory to be set to all zeros.
230 memory to be excluded from kernel core dumps.
237 to return
239 if the request cannot be immediately fulfilled due to resource shortage.
244 Indicates that it is OK to wait for resources.
246 to sleep to wait for resources to be released by other processes.
266 Indicates that the system can use its reserve of memory to satisfy the
291 argument is used to perform statistics on memory usage, and for
293 It can be used to identify multiple allocations.
295 .Sq vmstat -m .
306 .Bd -literal -offset indent
313 MALLOC_DEFINE(M_FOOBUF, "foobuffers", "Buffers to foo data into the ether");
322 In order to use
357 Any calls to
365 interlock, will cause a LOR (Lock Order Reversal) due to the
368 The memory allocator allocates memory in chunks that have size a power
369 of two for requests up to the size of a page of memory.
372 optimizing the efficiency of memory use.
388 configuration option attempts to detect memory corruption caused by
389 such things as writing outside the allocated area and imbalanced calls to the