Lines Matching full:memory
35 #include <memory>
44 * \brief Make memory region \param mem with size \param size with protection flags \param prot
45 * @param mem Pointer to memory region (should be aligned to page size)
46 * @param size Size of memory region
47 * @param prot Memory protection flags, a combination of MMAP_PROT_XXX values
53 * \brief Make memory region \param mem with size \param size readable and executable
54 * @param mem Pointer to memory region (should be aligned to page size)
55 * @param size Size of memory region
61 * \brief Make memory region \param mem with size \param size readable and writable
62 * @param mem Pointer to memory region (should be aligned to page size)
63 * @param size Size of memory region
69 * \brief Make memory region \param mem with size \param size readable
70 * @param mem Pointer to memory region (should be aligned to page size)
71 * @param size Size of memory region
77 * \brief Make memory region \param mem with size \param size protected
78 * @param mem Pointer to memory region (should be aligned to page size)
79 * @param size Size of memory region
92 * \brief Allocated aligned memory with alignment \param alignment_in_bytes and
93 * with size \param size. Use AlignedFree to free this memory.
101 * \brief Free memory, allocated by AlignedAlloc.
102 * @param mem - Pointer to memory, allocated by AlignedAlloc
242 * memory layout for mmap
254 * |--------------------| mmap memory
290 * Map the specified file into memory.
294 * @param prot - memory protection flags, a combination of MMAP_PROT_XXX values.
295 * @param flags - memory map flags, a combination of MMAP_FLAG_XXX values.
304 * \brief allocates executed memory of size \param size
312 * Note: returned memory will be poisoned in ASAN targets,
315 * @param force_poison - poison mmaped memory
323 * Note: returned memory will be poisoned in ASAN targets,
327 * @param force_poison - poison mmaped memory
334 // Therefore, we can successfully allocate memory at fixed address started somewhere at lower addre…
337 // However, all load/store from this memory is prohibited.
349 * Note: returned memory will be poisoned in ASAN targets,
353 * @param force_poison poison mmaped memory
359 * Unmap previously mapped memory.
360 * Note: memory will be unpoisoned before unmapping in ASAN targets.
361 * @param mem - pointer to the memory
362 * @param size - size of memory to unmap
368 * Unmap part of previously mapped memory.
369 * Note: memory will be unpoisoned before unmapping in ASAN targets.
370 * @param mem - pointer to the memory
371 * @param size - size of memory piece which we want to unmap
402 * Tag anonymous memory with a debug name.
403 * @param mem - pointer to the memory
404 * @param size - size of memory to tag