Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/uma_int.h
Show First 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | |||||
#define UMA_ZFLAG_BUCKET 0x10000000 /* Bucket zone. */ | #define UMA_ZFLAG_BUCKET 0x10000000 /* Bucket zone. */ | ||||
#define UMA_ZFLAG_INTERNAL 0x20000000 /* No offpage no PCPU. */ | #define UMA_ZFLAG_INTERNAL 0x20000000 /* No offpage no PCPU. */ | ||||
#define UMA_ZFLAG_TRASH 0x40000000 /* Add trash ctor/dtor. */ | #define UMA_ZFLAG_TRASH 0x40000000 /* Add trash ctor/dtor. */ | ||||
#define UMA_ZFLAG_CACHEONLY 0x80000000 /* Don't ask VM for buckets. */ | #define UMA_ZFLAG_CACHEONLY 0x80000000 /* Don't ask VM for buckets. */ | ||||
#define UMA_ZFLAG_INHERIT \ | #define UMA_ZFLAG_INHERIT \ | ||||
(UMA_ZFLAG_INTERNAL | UMA_ZFLAG_CACHEONLY | UMA_ZFLAG_BUCKET) | (UMA_ZFLAG_INTERNAL | UMA_ZFLAG_CACHEONLY | UMA_ZFLAG_BUCKET) | ||||
#define PRINT_UMA_ZFLAGS "\20" \ | |||||
"\40CACHEONLY" \ | |||||
"\37TRASH" \ | |||||
"\36INTERNAL" \ | |||||
"\35BUCKET" \ | |||||
"\34RECLAIMING" \ | |||||
"\33CACHE" \ | |||||
"\22MINBUCKET" \ | |||||
"\21NUMA" \ | |||||
"\20PCPU" \ | |||||
"\17NODUMP" \ | |||||
"\16VTOSLAB" \ | |||||
"\15CACHESPREAD" \ | |||||
"\14MAXBUCKET" \ | |||||
"\13NOBUCKET" \ | |||||
"\12SECONDARY" \ | |||||
"\11HASH" \ | |||||
"\10VM" \ | |||||
"\7MTXCLASS" \ | |||||
"\6NOFREE" \ | |||||
"\5MALLOC" \ | |||||
"\4OFFPAGE" \ | |||||
"\3STATIC" \ | |||||
"\2ZINIT" \ | |||||
"\1PAGEABLE" | |||||
#undef UMA_ALIGN | #undef UMA_ALIGN | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* Internal prototypes */ | /* Internal prototypes */ | ||||
static __inline uma_slab_t hash_sfind(struct uma_hash *hash, uint8_t *data); | static __inline uma_slab_t hash_sfind(struct uma_hash *hash, uint8_t *data); | ||||
/* Lock Macros */ | /* Lock Macros */ | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |