FreeBSD virtual memory subsystem code
uma_dbg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int trash_ctor (void *mem, int size, void *arg, int flags)
 
void trash_dtor (void *mem, int size, void *arg)
 
int trash_init (void *mem, int size, int flags)
 
void trash_fini (void *mem, int size)
 
int mtrash_ctor (void *mem, int size, void *arg, int flags)
 
void mtrash_dtor (void *mem, int size, void *arg)
 
int mtrash_init (void *mem, int size, int flags)
 
void mtrash_fini (void *mem, int size)
 

Function Documentation

◆ mtrash_ctor()

int mtrash_ctor ( void *  mem,
int  size,
void *  arg,
int  flags 
)

Definition at line 142 of file uma_dbg.c.

References is_memguard_addr(), and uma_junk.

Referenced by mtrash_fini().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mtrash_dtor()

void mtrash_dtor ( void *  mem,
int  size,
void *  arg 
)

Definition at line 175 of file uma_dbg.c.

References is_memguard_addr(), and uma_junk.

Referenced by mtrash_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mtrash_fini()

void mtrash_fini ( void *  mem,
int  size 
)

Definition at line 224 of file uma_dbg.c.

References mtrash_ctor().

Here is the call graph for this function:

◆ mtrash_init()

int mtrash_init ( void *  mem,
int  size,
int  flags 
)

Definition at line 199 of file uma_dbg.c.

References is_memguard_addr(), and mtrash_dtor().

Here is the call graph for this function:

◆ trash_ctor()

int trash_ctor ( void *  mem,
int  size,
void *  arg,
int  flags 
)

Definition at line 67 of file uma_dbg.c.

References is_memguard_addr(), and uma_junk.

Referenced by item_ctor(), and trash_fini().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trash_dtor()

void trash_dtor ( void *  mem,
int  size,
void *  arg 
)

Definition at line 100 of file uma_dbg.c.

References is_memguard_addr(), and uma_junk.

Referenced by item_dtor(), and trash_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trash_fini()

void trash_fini ( void *  mem,
int  size 
)

Definition at line 136 of file uma_dbg.c.

References trash_ctor().

Referenced by keg_free_slab(), uma_zcreate(), and zone_ctor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trash_init()

int trash_init ( void *  mem,
int  size,
int  flags 
)

Definition at line 123 of file uma_dbg.c.

References trash_dtor().

Referenced by uma_zcreate(), and zone_ctor().

Here is the call graph for this function:
Here is the caller graph for this function: