VirtualBox

Ignore:
Timestamp:
Sep 30, 2021 12:19:19 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147167
Message:

IPRT/memobj: Passing pszTag around...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/memobj.h

    r91482 r91483  
    306306 * @param   cb              Number of bytes to allocate, page aligned.
    307307 * @param   fExecutable     Flag indicating whether it should be permitted to executed code in the memory object.
    308  */
    309 DECLHIDDEN(int) rtR0MemObjNativeAllocPage(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable);
     308 * @param   pszTag          Allocation tag used for statistics and such.
     309 */
     310DECLHIDDEN(int) rtR0MemObjNativeAllocPage(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable, const char *pszTag);
    310311
    311312/**
     
    332333 * @param   cb              Number of bytes to allocate, page aligned.
    333334 * @param   fExecutable     Flag indicating whether it should be permitted to executed code in the memory object.
    334  */
    335 DECLHIDDEN(int) rtR0MemObjNativeAllocLow(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable);
     335 * @param   pszTag          Allocation tag used for statistics and such.
     336 */
     337DECLHIDDEN(int) rtR0MemObjNativeAllocLow(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable, const char *pszTag);
    336338
    337339/**
     
    344346 * @param   cb              Number of bytes to allocate, page aligned.
    345347 * @param   fExecutable     Flag indicating whether it should be permitted to executed code in the memory object.
    346  */
    347 DECLHIDDEN(int) rtR0MemObjNativeAllocCont(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable);
     348 * @param   pszTag          Allocation tag used for statistics and such.
     349 */
     350DECLHIDDEN(int) rtR0MemObjNativeAllocCont(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable, const char *pszTag);
    348351
    349352/**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette