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
288 * Map the specified file into memory.
292 * @param prot - memory protection flags, a combination of MMAP_PROT_XXX values.
293 * @param flags - memory map flags, a combination of MMAP_FLAG_XXX values.
302 * \brief allocates executed memory of size \param size
310 * Note: returned memory will be poisoned in ASAN targets,
313 * @param force_poison - poison mmaped memory
321 * Note: returned memory will be poisoned in ASAN targets,
325 * @param force_poison - poison mmaped memory
332 // Therefore, we can successfully allocate memory at fixed address started somewhere at lower addre…
335 // However, all load/store from this memory is prohibited.
347 * Note: returned memory will be poisoned in ASAN targets,
351 * @param force_poison poison mmaped memory
357 * Unmap previously mapped memory.
358 * Note: memory will be unpoisoned before unmapping in ASAN targets.
359 * @param mem - pointer to the memory
360 * @param size - size of memory to unmap
366 * Unmap part of previously mapped memory.
367 * Note: memory will be unpoisoned before unmapping in ASAN targets.
368 * @param mem - pointer to the memory
369 * @param size - size of memory piece which we want to unmap
400 * Tag anonymous memory with a debug name.
401 * @param mem - pointer to the memory
402 * @param size - size of memory to tag