Searched refs:VMEM_FREE (Results 1 – 12 of 12) sorted by relevance
/titanic_41/usr/src/lib/libumem/common/ |
H A D | vmem.c | 306 vsp->vs_type = VMEM_FREE; in vmem_freelist_insert() 320 ASSERT(vsp->vs_type == VMEM_FREE); in vmem_freelist_delete() 512 ASSERT(vsp->vs_type == VMEM_FREE); in vmem_seg_alloc() 671 if (vprev->vs_type == VMEM_FREE) { in vmem_advance() 672 if (vnext->vs_type == VMEM_FREE) { in vmem_advance() 681 } else if (vnext->vs_type == VMEM_FREE) { in vmem_advance() 737 if (vsp->vs_type == VMEM_FREE && (vs_size = VS_SIZE(vsp)) > realsize && in vmem_nextfit_alloc() 754 if (vsp->vs_type == VMEM_FREE && VS_SIZE(vsp) >= size) in vmem_nextfit_alloc() 770 if (vsp->vs_type == VMEM_FREE && VS_SIZE(vsp) >= size) in vmem_nextfit_alloc() 910 ASSERT(vsp->vs_knext->vs_type == VMEM_FREE); in vmem_xalloc() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | vmem.c | 436 vsp->vs_type = VMEM_FREE; in vmem_freelist_insert() 450 ASSERT(vsp->vs_type == VMEM_FREE); in vmem_freelist_delete() 619 ASSERT(vsp->vs_type == VMEM_FREE); in vmem_seg_alloc() 775 if (vprev->vs_type == VMEM_FREE) { in vmem_advance() 776 if (vnext->vs_type == VMEM_FREE) { in vmem_advance() 785 } else if (vnext->vs_type == VMEM_FREE) { in vmem_advance() 842 if (vsp->vs_type == VMEM_FREE && (vs_size = VS_SIZE(vsp)) > realsize && in vmem_nextfit_alloc() 859 if (vsp->vs_type == VMEM_FREE && VS_SIZE(vsp) >= size) in vmem_nextfit_alloc() 873 if (vsp->vs_type == VMEM_FREE && VS_SIZE(vsp) >= size) in vmem_nextfit_alloc() 1027 ASSERT(vsp->vs_knext->vs_type == VMEM_FREE); in vmem_xalloc() [all …]
|
H A D | bio.c | 1137 btop(vmem_size(heap_arena, VMEM_FREE)) / 4) * (PAGESIZE / 1024); in binit() 1154 btop(vmem_size(heap_arena, VMEM_FREE)) / 4) * (PAGESIZE / 1024); in binit()
|
H A D | kmem.c | 3566 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); in kmem_maxavail()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | vmem.h | 94 #define VMEM_FREE 0x02 macro
|
/titanic_41/usr/src/uts/common/conf/ |
H A D | param.c | 588 pgcnt_t virtmegs = vmem_size(heap_arena, VMEM_FREE) >> 20; in param_calc()
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | seg_kmem.c | 1304 vmem_size(kmem_lp_arena, VMEM_FREE) <= kmemlp_qnt && in segkmem_alloc_lp() 1319 if (vmem_size(kmem_lp_arena, VMEM_FREE) < in segkmem_alloc_lp() 1323 } else if (vmem_size(kmem_lp_arena, VMEM_FREE) <= in segkmem_alloc_lp()
|
/titanic_41/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 95 VMEM_ALLOC | VMEM_FREE) + 1), NM_INOQUANT, VM_SLEEP); in namenodeno_alloc()
|
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 2098 if (vs->vs_type != VMEM_ALLOC && vs->vs_type != VMEM_FREE) in whatis_walk_seg() 3156 return (vmem_seg_walk_common_init(wsp, VMEM_FREE, "free")); in vmem_free_walk_init() 3357 t = VMEM_FREE; in vmem_seg() 3433 t == VMEM_FREE ? "FREE" : in vmem_seg()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 2263 if (vs->vs_type != VMEM_ALLOC && vs->vs_type != VMEM_FREE) in whatis_walk_seg() 3523 return (vmem_seg_walk_common_init(wsp, VMEM_FREE, "free")); in vmem_free_walk_init() 3724 t = VMEM_FREE; in vmem_seg() 3800 t == VMEM_FREE ? "FREE" : in vmem_seg()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | logindmux.c | 288 if (vmem_size(logdmux_minor_arena, VMEM_FREE) == 0) { in logdmuxopen()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | arc.c | 3589 n = vmem_size(heap_arena, VMEM_FREE) - in arc_available_memory() 3590 (vmem_size(heap_arena, VMEM_FREE | VMEM_ALLOC) >> 2); in arc_available_memory() 3607 n = vmem_size(zio_arena, VMEM_FREE) - in arc_available_memory() 5107 MIN(available_memory, vmem_size(heap_arena, VMEM_FREE)); in arc_memory_throttle() 5303 arc_c = MIN(arc_c, vmem_size(heap_arena, VMEM_ALLOC | VMEM_FREE) / 8); in arc_init()
|