/freebsd-11-stable/sys/sys/ |
H A D | vmmeter.h | 119 extern struct vmmeter vm_cnt; 133 return (vm_cnt.v_free_severe > vm_cnt.v_free_count); 149 return (vm_cnt.v_free_min > vm_cnt.v_free_count); 160 return (vm_cnt.v_free_target > vm_cnt.v_free_count); 171 return (vm_cnt.v_free_target - vm_cnt.v_free_count);
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_meter.c | 56 struct vmmeter vm_cnt; variable in typeref:struct:vmmeter 59 CTLFLAG_RW, &vm_cnt.v_free_min, 0, "Minimum low-free-pages threshold"); 61 CTLFLAG_RW, &vm_cnt.v_free_target, 0, "Desired free pages"); 63 CTLFLAG_RW, &vm_cnt.v_free_reserved, 0, "Pages reserved for deadlock"); 65 CTLFLAG_RW, &vm_cnt.v_inactive_target, 0, "Pages desired inactive"); 67 CTLFLAG_RW, &vm_cnt.v_pageout_free_min, 0, "Min pages reserved for kernel"); 69 CTLFLAG_RW, &vm_cnt.v_free_severe, 0, "Severe page depletion point"); 138 &vm_cnt.v_free_count) 207 total.t_free = vm_cnt.v_free_count; 228 count = *(u_int *)((char *)&vm_cnt [all...] |
H A D | vm_pageout.c | 992 nclean = vm_cnt.v_inactive_count + vm_cnt.v_free_count; 993 ndirty = vm_cnt.v_laundry_count; 1339 inactq_shortage = vm_cnt.v_inactive_target - (vm_cnt.v_inactive_count + 1340 vm_cnt.v_laundry_count / act_scan_laundry_weight) + 1691 wakeup(&vm_cnt.v_free_count); 1740 wakeup(&vm_cnt.v_free_count); 1802 vm_cnt.v_interrupt_free_min = 2; 1803 if (vm_cnt [all...] |
H A D | vm_zeroidle.c | 86 if (zero_state && vm_page_zero_count >= ZIDLE_LO(vm_cnt.v_free_count)) 88 if (vm_page_zero_count >= ZIDLE_HI(vm_cnt.v_free_count)) 100 if (vm_page_zero_count >= ZIDLE_HI(vm_cnt.v_free_count))
|
H A D | vm_page.c | 227 if (vm_cnt.v_page_size == 0) 228 vm_cnt.v_page_size = PAGE_SIZE; 229 if (((vm_cnt.v_page_size - 1) & vm_cnt.v_page_size) != 0) 400 &vm_cnt.v_inactive_count; 404 &vm_cnt.v_active_count; 408 &vm_cnt.v_laundry_count; 687 vm_cnt.v_page_count = 0; 688 vm_cnt.v_free_count = 0; 714 vm_cnt [all...] |
H A D | vm_phys.h | 121 return (vm_cnt.v_free_count += adj);
|
H A D | memguard.c | 182 mem_pgs = vm_cnt.v_page_count;
|
H A D | swap_pager.c | 209 s = vm_cnt.v_page_count - vm_cnt.v_free_reserved - vm_cnt.v_wire_count; 522 vm_cnt.v_page_count / 2; 2302 if (vm_cnt.v_free_count + swap_pager_avail < nblks + nswap_lowat)
|
H A D | vm_kern.c | 571 vm_cnt.v_page_count++;
|
H A D | vm_glue.c | 192 if (npages + vm_cnt.v_wire_count > vm_page_max_wired)
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kmem.h | 82 #define freemem vm_cnt.v_free_count 83 #define minfree vm_cnt.v_free_min
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | uma_machdep.c | 92 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
|
H A D | machdep.c | 211 ptoa((uintmax_t)vm_cnt.v_free_count), 212 ptoa((uintmax_t)vm_cnt.v_free_count) / 1048576);
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | uma_machdep.c | 76 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
|
H A D | efirt_machdep.c | 77 atomic_subtract_int(&vm_cnt.v_wire_count,
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | uma_machdep.c | 76 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
|
H A D | pmap.c | 1415 atomic_subtract_rel_int(&vm_cnt.v_wire_count, 1); 1544 atomic_subtract_int(&vm_cnt.v_wire_count, 1); 1572 atomic_subtract_int(&vm_cnt.v_wire_count, 1); 1590 &vm_cnt.v_wire_count, 1); 1700 atomic_subtract_int(&vm_cnt.v_wire_count, 1); 2026 atomic_add_int(&vm_cnt.v_wire_count, 1); 3810 &vm_cnt.v_wire_count, 1);
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | uma_machdep.c | 97 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
|
H A D | machdep.c | 213 ptoa((uintmax_t)vm_cnt.v_free_count), 214 ptoa((uintmax_t)vm_cnt.v_free_count) / 1048576);
|
/freebsd-11-stable/sys/compat/linprocfs/ |
H A D | linprocfs.c | 157 memfree = vm_cnt.v_free_count * PAGE_SIZE; 164 memused = vm_cnt.v_wire_count * PAGE_SIZE; 179 cached = vm_cnt.v_inactive_count * PAGE_SIZE; 433 vm_cnt.v_vnodepgsin, 434 vm_cnt.v_vnodepgsout, 435 vm_cnt.v_swappgsin, 436 vm_cnt.v_swappgsout, 437 vm_cnt.v_intr, 438 vm_cnt.v_swtch,
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_kmem.c | 124 kmem_size_val = (uint64_t)vm_cnt.v_page_count * PAGE_SIZE;
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | vm_machdep.c | 431 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
|
H A D | machdep.c | 190 printf("avail memory = %lu (%lu MB)\n", vm_cnt.v_free_count * PAGE_SIZE, 191 vm_cnt.v_free_count / ((1024 * 1024) / PAGE_SIZE));
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_malloc.c | 735 mem_size = vm_cnt.v_page_count; 839 KASSERT(vm_cnt.v_page_count != 0, ("malloc_register before vm_init"));
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | machdep.c | 226 (uintmax_t)arm32_ptob(vm_cnt.v_free_count), 227 (uintmax_t)arm32_ptob(vm_cnt.v_free_count) / mbyte);
|