/freebsd/sys/vm/ |
H A D | vm_pageout.c | 124 static void vm_pageout_mightbe_oom(struct vm_domain *vmd, int page_shortage, 206 static int vm_pageout_launder(struct vm_domain *vmd, int launder, 692 vm_pageout_launder(struct vm_domain *vmd, int launder, bool in_shortfall) in vm_pageout_launder() argument 722 marker = &vmd->vmd_markers[queue]; in vm_pageout_launder() 723 pq = &vmd->vmd_pagequeues[queue]; in vm_pageout_launder() 959 struct vm_domain *vmd; in vm_pageout_laundry_worker() local 966 vmd = VM_DOMAIN(domain); in vm_pageout_laundry_worker() 967 pq = &vmd->vmd_pagequeues[PQ_LAUNDRY]; in vm_pageout_laundry_worker() 968 KASSERT(vmd->vmd_segs != 0, ("domain without segments")); in vm_pageout_laundry_worker() 979 (void)EVENTHANDLER_REGISTER(swapon, vm_pageout_swapon, vmd, in vm_pageout_laundry_worker() [all …]
|
H A D | vm_pagequeue.h | 390 void vm_domain_set(struct vm_domain *vmd); 391 void vm_domain_clear(struct vm_domain *vmd); 392 int vm_domain_allocate(struct vm_domain *vmd, int req, int npages); 411 vm_paging_target(struct vm_domain *vmd) 414 return (vmd->vmd_free_target - vmd->vmd_free_count); 421 vm_paging_needed(struct vm_domain *vmd, u_int free_count) 424 return (free_count < vmd->vmd_pageout_wakeup_thresh); 431 vm_paging_min(struct vm_domain *vmd) 434 return (vmd 406 vm_paging_target(struct vm_domain * vmd) vm_paging_target() argument 416 vm_paging_needed(struct vm_domain * vmd,u_int free_count) vm_paging_needed() argument 426 vm_paging_min(struct vm_domain * vmd) vm_paging_min() argument 436 vm_paging_severe(struct vm_domain * vmd) vm_paging_severe() argument 447 vm_laundry_target(struct vm_domain * vmd) vm_laundry_target() argument 456 vm_domain_freecnt_inc(struct vm_domain * vmd,int adj) vm_domain_freecnt_inc() argument [all...] |
H A D | vm_page.c | 185 static int vm_domain_alloc_fail(struct vm_domain *vmd, vm_object_t object, 214 struct vm_domain *vmd; in vm_page_init_cache_zones() local 221 vmd = VM_DOMAIN(domain); in vm_page_init_cache_zones() 223 pgcache = &vmd->vmd_pgcache[pool]; in vm_page_init_cache_zones() 236 vmd->vmd_page_count / 1000; in vm_page_init_cache_zones() 331 struct vm_domain *vmd; in vm_page_blacklist_add() local 339 vmd = VM_DOMAIN(vm_phys_domain(pa)); in vm_page_blacklist_add() 340 vm_domain_free_lock(vmd); in vm_page_blacklist_add() 342 vm_domain_free_unlock(vmd); in vm_page_blacklist_add() 344 vm_domain_freecnt_inc(vmd, -1); in vm_page_blacklist_add() [all …]
|
H A D | vm_meter.c | 484 struct vm_domain *vmd; in sysctl_vm_laundry_pages() local 487 vmd = arg1; in sysctl_vm_laundry_pages() 488 ret = vmd->vmd_pagequeues[PQ_LAUNDRY].pq_cnt + in sysctl_vm_laundry_pages() 489 vmd->vmd_pagequeues[PQ_UNSWAPPABLE].pq_cnt; in sysctl_vm_laundry_pages() 494 vm_domain_stats_init(struct vm_domain *vmd, struct sysctl_oid *parent) in vm_domain_stats_init() argument 498 vmd->vmd_oid = SYSCTL_ADD_NODE(NULL, SYSCTL_CHILDREN(parent), OID_AUTO, in vm_domain_stats_init() 499 vmd->vmd_name, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, ""); in vm_domain_stats_init() 500 oid = SYSCTL_ADD_NODE(NULL, SYSCTL_CHILDREN(vmd->vmd_oid), OID_AUTO, in vm_domain_stats_init() 503 "free_count", CTLFLAG_RD, &vmd->vmd_free_count, 0, in vm_domain_stats_init() 506 "active", CTLFLAG_RD, &vmd->vmd_pagequeues[PQ_ACTIVE].pq_cnt, 0, in vm_domain_stats_init() [all …]
|
H A D | vm_reserv.c | 437 struct vm_domain *vmd; in vm_reserv_depopulate() local 479 vmd = VM_DOMAIN(rv->domain); in vm_reserv_depopulate() 482 vm_domain_free_lock(vmd); in vm_reserv_depopulate() 484 vm_domain_free_unlock(vmd); in vm_reserv_depopulate() 487 vm_domain_freecnt_inc(vmd, 1); in vm_reserv_depopulate() 626 struct vm_domain *vmd; in vm_reserv_alloc_contig() local 671 vmd = VM_DOMAIN(domain); in vm_reserv_alloc_contig() 684 if (!vm_domain_allocate(vmd, req, npages)) in vm_reserv_alloc_contig() 762 vmd = VM_DOMAIN(domain); in vm_reserv_alloc_contig() 763 if (vm_domain_allocate(vmd, req, npages)) { in vm_reserv_alloc_contig() [all …]
|
H A D | vm_kern.c | 935 struct vm_domain *vmd; in kmem_bootstrap_free() local 955 vmd = vm_pagequeue_domain(m); in kmem_bootstrap_free() 956 vm_domain_free_lock(vmd); in kmem_bootstrap_free() 958 vm_domain_free_unlock(vmd); in kmem_bootstrap_free() 960 vm_domain_freecnt_inc(vmd, 1); in kmem_bootstrap_free()
|
H A D | vm_phys.c | 1255 struct vm_domain *vmd; in vm_phys_lazy_init_domain() local 1264 vmd = VM_DOMAIN(domain); in vm_phys_lazy_init_domain() 1266 vm_domain_free_assert_locked(vmd); in vm_phys_lazy_init_domain() 1268 vm_domain_free_lock(vmd); in vm_phys_lazy_init_domain() 1289 unlocked = vm_domain_allocate(vmd, in vm_phys_lazy_init_domain() 1292 vm_domain_free_unlock(vmd); in vm_phys_lazy_init_domain() 1295 vm_domain_freecnt_inc(vmd, 1 << oind); in vm_phys_lazy_init_domain() 1296 vm_domain_free_lock(vmd); in vm_phys_lazy_init_domain() 1305 vm_domain_free_unlock(vmd); in vm_phys_lazy_init_domain()
|
/freebsd/sys/modules/vmd/ |
H A D | Makefile | 1 .PATH: ${SRCTOP}/sys/dev/vmd 3 KMOD= vmd 6 vmd.c \
|
/freebsd/sys/dev/vmm/ |
H A D | vmm_dev.c | 959 struct vmmctl_vm_destroy *vmd; in vmmctl_ioctl() local 961 vmd = (struct vmmctl_vm_destroy *)data; in vmmctl_ioctl() 962 vmd->name[VM_MAX_NAMELEN] = '\0'; in vmmctl_ioctl() 963 for (size_t i = 0; i < nitems(vmd->reserved); i++) { in vmmctl_ioctl() 964 if (vmd->reserved[i] != 0) { in vmmctl_ioctl() 970 error = vmmdev_lookup_and_destroy(vmd->name, td->td_ucred); in vmmctl_ioctl()
|
/freebsd/lib/libvmmapi/ |
H A D | vmmapi.c | 200 struct vmmctl_vm_destroy vmd; in vm_destroy() local 202 memset(&vmd, 0, sizeof(vmd)); in vm_destroy() 203 (void)strlcpy(vmd.name, vm->name, sizeof(vmd.name)); in vm_destroy() 204 if (ioctl(vm->ctlfd, VMMCTL_VM_DESTROY, &vmd) != 0) in vm_destroy()
|
/freebsd/sys/conf/ |
H A D | files.i386 |
|
H A D | files.x86 | 326 dev/vmd/vmd.c optional vmd | vmd_bus
|
/freebsd/sys/dev/vmd/ |
H A D | vmd.c | 54 #include <dev/vmd/vmd.h> 77 SYSCTL_NODE(_hw, OID_AUTO, vmd, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, 751 DRIVER_MODULE(vmd, pci, vmd_pci_driver, NULL, NULL); 752 MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, vmd,
|
/freebsd/sys/modules/ |
H A D | Makefile | 824 _vmd= vmd
|
/freebsd/share/man/man4/ |
H A D | Makefile | 892 _vmd.4= vmd.4
|
/freebsd/sys/amd64/conf/ |
H A D | GENERIC | 186 device vmd
|
H A D | NOTES |
|
/freebsd/sys/x86/conf/ |
H A D | NOTES | 384 device vmd
|
/freebsd/sys/i386/conf/ |
H A D | NOTES |
|
/freebsd/contrib/ncurses/misc/ |
H A D | terminfo.src | 21094 # https://web.archive.org/web/20030914201935/http://www.minix-vmd.org/pub/Minix-vmd/1.7.0/wwwman/ma…
|