FreeBSD virtual memory subsystem code
|
#include <uma_int.h>
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 [] |
uma_zone::LIST_ENTRY | ( | uma_zone | ) |
counter_u64_t uma_zone::uz_allocs |
Definition at line 476 of file uma_int.h.
Referenced by uma_vm_zone_stats(), uma_zalloc_domain(), uma_zone_get_allocs(), uma_zone_get_cur(), zone_alloc_counters(), zone_alloc_item(), zone_ctor(), and zone_dtor().
void* uma_zone::uz_arg |
Definition at line 468 of file uma_int.h.
Referenced by bucket_drain(), zone_alloc_bucket(), zone_alloc_item(), zone_ctor(), and zone_free_item().
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().
uint16_t uma_zone::uz_bucket_size |
Definition at line 459 of file uma_int.h.
Referenced by bucket_alloc(), bucket_cache_reclaim(), cache_alloc(), cache_free(), cache_shrink(), uma_zone_set_maxcache(), zone_alloc_bucket(), zone_alloc_sysctl(), zone_ctor(), and zone_domain_lock().
uint16_t uma_zone::uz_bucket_size_max |
Definition at line 460 of file uma_int.h.
Referenced by bucket_alloc(), uma_zone_set_maxcache(), zone_alloc_sysctl(), zone_ctor(), and zone_domain_lock().
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().
struct uma_cache uma_zone::uz_cpu[] |
Definition at line 498 of file uma_int.h.
Referenced by cache_alloc(), cache_alloc_retry(), cache_drain(), cache_drain_safe_cpu(), cache_free(), uma_vm_zone_stats(), uma_zalloc_arg(), uma_zalloc_smr(), uma_zfree_arg(), uma_zfree_smr(), uma_zone_get_allocs(), uma_zone_get_cur(), uma_zone_get_frees(), and zone_update_caches().
char* uma_zone::uz_ctlname |
Definition at line 480 of file uma_int.h.
Referenced by zone_alloc_sysctl(), and zone_dtor().
uma_ctor uma_zone::uz_ctor |
Definition at line 454 of file uma_int.h.
Referenced by item_ctor(), and zone_ctor().
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().
counter_u64_t uma_zone::uz_fails |
Definition at line 478 of file uma_int.h.
Referenced by item_ctor(), uma_vm_zone_stats(), zone_alloc_bucket(), zone_alloc_counters(), zone_alloc_item(), zone_alloc_sysctl(), zone_ctor(), and zone_dtor().
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().
uint32_t uma_zone::uz_flags |
Definition at line 452 of file uma_int.h.
Referenced by bucket_alloc(), bucket_cache_reclaim(), bucket_cache_reclaim_domain(), bucket_drain(), bucket_free(), cache_alloc_retry(), cache_drain(), cache_drain_safe_cpu(), cache_free(), cache_shrink(), item_dtor(), sysctl_vm_zone_stats(), uma_reclaim_domain_cb(), uma_zalloc_arg(), uma_zalloc_domain(), uma_zalloc_pcpu_arg(), uma_zalloc_smr(), uma_zfree_arg(), uma_zfree_pcpu_arg(), uma_zfree_smr(), uma_zone_memory(), uma_zone_reserve_kva(), uma_zone_set_max(), uma_zone_set_maxcache(), uma_zone_set_smr(), uma_zwait(), zone_alloc_bucket(), zone_alloc_item(), zone_alloc_sysctl(), zone_ctor(), zone_dtor(), zone_fetch_bucket(), zone_free_bucket(), zone_free_item(), zone_import(), zone_kva_available(), zone_reclaim(), zone_release(), zone_timeout(), and zone_update_caches().
counter_u64_t uma_zone::uz_frees |
Definition at line 477 of file uma_int.h.
Referenced by uma_vm_zone_stats(), uma_zone_get_cur(), uma_zone_get_frees(), zone_alloc_counters(), zone_ctor(), zone_dtor(), and zone_free_item().
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().
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().
volatile uint64_t uma_zone::uz_items |
Definition at line 471 of file uma_int.h.
Referenced by sysctl_handle_uma_zone_items(), sysctl_vm_zone_stats(), zone_alloc_limit(), zone_alloc_limit_hard(), and zone_free_limit().
uma_keg_t uma_zone::uz_keg |
Definition at line 465 of file uma_int.h.
Referenced by keg_layout_one(), noobj_alloc(), slab_free_item(), sysctl_handle_uma_slab_efficiency(), uma_zone_memory(), uma_zsecond_create(), zone_alloc_sysctl(), zone_ctor(), zone_dtor(), zone_import(), zone_reclaim(), zone_release(), and zone_timeout().
uint64_t uma_zone::uz_max_items |
Definition at line 457 of file uma_int.h.
Referenced by bucket_drain(), sysctl_vm_zone_stats(), uma_zone_get_max(), uma_zone_reserve_kva(), uma_zone_set_max(), zone_alloc_bucket(), zone_alloc_item(), zone_alloc_limit(), zone_alloc_limit_hard(), zone_alloc_sysctl(), zone_free_item(), and zone_free_limit().
struct task uma_zone::uz_maxaction |
Definition at line 489 of file uma_int.h.
Referenced by uma_zone_set_maxaction(), and zone_maxaction().
const char* uma_zone::uz_name |
Definition at line 479 of file uma_int.h.
Referenced by bucket_alloc(), cache_alloc(), keg_ctor(), sysctl_vm_zone_stats(), uma_zalloc_arg(), uma_zalloc_domain(), uma_zalloc_smr(), uma_zfree_arg(), uma_zfree_smr(), uma_zone_set_smr(), zone_alloc_bucket(), zone_alloc_item(), zone_alloc_sysctl(), zone_count(), zone_ctor(), zone_free_bucket(), and zone_log_warning().
int uma_zone::uz_namecnt |
Definition at line 481 of file uma_int.h.
Referenced by zone_alloc_sysctl(), zone_count(), and zone_ctor().
struct sysctl_oid* uma_zone::uz_oid |
Definition at line 486 of file uma_int.h.
Referenced by zone_alloc_sysctl(), and zone_dtor().
struct timeval uma_zone::uz_ratecheck |
Definition at line 488 of file uma_int.h.
Referenced by zone_ctor(), and zone_log_warning().
uint16_t uma_zone::uz_reclaimers |
Definition at line 483 of file uma_int.h.
Referenced by zone_reclaim().
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().
uint32_t uma_zone::uz_size |
Definition at line 453 of file uma_int.h.
Referenced by bucket_drain(), sysctl_vm_zone_stats(), uma_zalloc_domain(), uma_zalloc_pcpu_arg(), uma_zone_memory(), zone_alloc_bucket(), zone_alloc_item(), zone_alloc_sysctl(), zone_ctor(), zone_fetch_bucket(), zone_free_item(), and zone_update_caches().
uint32_t uma_zone::uz_sleepers |
Definition at line 461 of file uma_int.h.
Referenced by uma_zfree_arg(), uma_zone_exhausted(), zone_alloc_limit_hard(), and zone_alloc_sysctl().
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().
smr_t uma_zone::uz_smr |
Definition at line 456 of file uma_int.h.
Referenced by bucket_drain(), cache_drain(), cache_fetch_bucket(), cache_free(), uma_zfree_smr(), uma_zone_get_smr(), uma_zone_set_smr(), zone_ctor(), zone_fetch_bucket(), and zone_free_item().
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().
counter_u64_t uma_zone::uz_xdomain |
Definition at line 462 of file uma_int.h.
Referenced by cache_free(), uma_vm_zone_stats(), zone_alloc_counters(), zone_alloc_sysctl(), and zone_dtor().