FreeBSD virtual memory subsystem code
|
#include <sys/cdefs.h>
#include "opt_vm.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bitset.h>
#include <sys/kernel.h>
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/malloc.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/uma.h>
#include <vm/uma_int.h>
#include <vm/uma_dbg.h>
#include <vm/memguard.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
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) |
Variables | |
static const uint32_t | uma_junk = 0xdeadc0de |
__FBSDID | ( | "$FreeBSD$" | ) |
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().
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().
void mtrash_fini | ( | void * | mem, |
int | size | ||
) |
Definition at line 224 of file uma_dbg.c.
References mtrash_ctor().
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().
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().
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().
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().
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().
|
static |
Definition at line 58 of file uma_dbg.c.
Referenced by mtrash_ctor(), mtrash_dtor(), trash_ctor(), and trash_dtor().