FreeBSD virtual memory subsystem code
uma_zone Struct Reference

#include <uma_int.h>

Collaboration diagram for uma_zone:

Public Member Functions

 LIST_ENTRY (uma_zone) uz_link
 

Data Fields

uint32_t uz_flags
 
uint32_t uz_size
 
uma_ctor uz_ctor
 
uma_dtor uz_dtor
 
smr_t uz_smr
 
uint64_t uz_max_items
 
uint64_t uz_bucket_max
 
uint16_t uz_bucket_size
 
uint16_t uz_bucket_size_max
 
uint32_t uz_sleepers
 
counter_u64_t uz_xdomain
 
uma_keg_t uz_keg
 
uma_import uz_import
 
uma_release uz_release
 
void * uz_arg
 
uma_init uz_init
 
uma_fini uz_fini
 
volatile uint64_t uz_items
 
uint64_t uz_sleeps
 
counter_u64_t uz_allocs
 
counter_u64_t uz_frees
 
counter_u64_t uz_fails
 
const char * uz_name
 
char * uz_ctlname
 
int uz_namecnt
 
uint16_t uz_bucket_size_min
 
uint16_t uz_reclaimers
 
struct sysctl_oid * uz_oid
 
const char * uz_warning
 
struct timeval uz_ratecheck
 
struct task uz_maxaction
 
struct mtx uz_cross_lock
 
struct uma_cache uz_cpu []
 

Detailed Description

Definition at line 450 of file uma_int.h.

Member Function Documentation

◆ LIST_ENTRY()

uma_zone::LIST_ENTRY ( uma_zone  )

Field Documentation

◆ uz_allocs

◆ uz_arg

void* uma_zone::uz_arg

◆ uz_bucket_max

uint64_t uma_zone::uz_bucket_max

Definition at line 458 of file uma_int.h.

Referenced by uma_zone_set_maxcache(), zone_alloc_sysctl(), zone_ctor(), and zone_put_bucket().

◆ uz_bucket_size

◆ uz_bucket_size_max

uint16_t uma_zone::uz_bucket_size_max

◆ uz_bucket_size_min

uint16_t uma_zone::uz_bucket_size_min

Definition at line 482 of file uma_int.h.

Referenced by bucket_cache_reclaim(), cache_shrink(), uma_zone_set_maxcache(), and zone_ctor().

◆ uz_cpu

◆ uz_cross_lock

struct mtx uma_zone::uz_cross_lock

Definition at line 492 of file uma_int.h.

◆ uz_ctlname

char* uma_zone::uz_ctlname

Definition at line 480 of file uma_int.h.

Referenced by zone_alloc_sysctl(), and zone_dtor().

◆ uz_ctor

uma_ctor uma_zone::uz_ctor

Definition at line 454 of file uma_int.h.

Referenced by item_ctor(), and zone_ctor().

◆ uz_dtor

uma_dtor uma_zone::uz_dtor

Definition at line 455 of file uma_int.h.

Referenced by item_dtor(), zone_ctor(), and zone_fetch_bucket().

◆ uz_fails

counter_u64_t uma_zone::uz_fails

◆ uz_fini

uma_fini uma_zone::uz_fini

Definition at line 470 of file uma_int.h.

Referenced by bucket_drain(), uma_zdestroy(), uma_zone_set_zfini(), zone_ctor(), and zone_free_item().

◆ uz_flags

◆ uz_frees

counter_u64_t uma_zone::uz_frees

◆ uz_import

uma_import uma_zone::uz_import

Definition at line 466 of file uma_int.h.

Referenced by zone_alloc_bucket(), zone_alloc_item(), and zone_ctor().

◆ uz_init

uma_init uma_zone::uz_init

Definition at line 469 of file uma_int.h.

Referenced by uma_zone_set_zinit(), zone_alloc_bucket(), zone_alloc_item(), and zone_ctor().

◆ uz_items

volatile uint64_t uma_zone::uz_items

◆ uz_keg

◆ uz_max_items

◆ uz_maxaction

struct task uma_zone::uz_maxaction

Definition at line 489 of file uma_int.h.

Referenced by uma_zone_set_maxaction(), and zone_maxaction().

◆ uz_name

◆ uz_namecnt

int uma_zone::uz_namecnt

Definition at line 481 of file uma_int.h.

Referenced by zone_alloc_sysctl(), zone_count(), and zone_ctor().

◆ uz_oid

struct sysctl_oid* uma_zone::uz_oid

Definition at line 486 of file uma_int.h.

Referenced by zone_alloc_sysctl(), and zone_dtor().

◆ uz_ratecheck

struct timeval uma_zone::uz_ratecheck

Definition at line 488 of file uma_int.h.

Referenced by zone_ctor(), and zone_log_warning().

◆ uz_reclaimers

uint16_t uma_zone::uz_reclaimers

Definition at line 483 of file uma_int.h.

Referenced by zone_reclaim().

◆ uz_release

uma_release uma_zone::uz_release

Definition at line 467 of file uma_int.h.

Referenced by bucket_drain(), uma_zdestroy(), zone_alloc_bucket(), zone_ctor(), and zone_free_item().

◆ uz_size

◆ uz_sleepers

uint32_t uma_zone::uz_sleepers

◆ uz_sleeps

uint64_t uma_zone::uz_sleeps

Definition at line 472 of file uma_int.h.

Referenced by uma_vm_zone_stats(), zone_alloc_limit_hard(), zone_alloc_sysctl(), and zone_ctor().

◆ uz_smr

◆ uz_warning

const char* uma_zone::uz_warning

Definition at line 487 of file uma_int.h.

Referenced by uma_zone_set_warning(), zone_ctor(), and zone_log_warning().

◆ uz_xdomain

counter_u64_t uma_zone::uz_xdomain

The documentation for this struct was generated from the following file: