Searched refs:vm_refcnt (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/sys/vm/ |
| H A D | vm_glue.c | 560 if (p1->p_vmspace->vm_refcnt > 1) { in vm_forkproc() 572 atomic_add_int(&p1->p_vmspace->vm_refcnt, 1); in vm_forkproc()
|
| H A D | vm_map.c | 290 vm->vm_refcnt = 1; in vmspace_alloc() 349 if (vm->vm_refcnt == 0) in vmspace_free() 352 if (atomic_fetchadd_int(&vm->vm_refcnt, -1) == 1) in vmspace_free() 390 atomic_add_int(&vmspace0.vm_refcnt, 1); in vmspace_exit() 392 refcnt = vm->vm_refcnt; in vmspace_exit() 400 } while (!atomic_cmpset_int(&vm->vm_refcnt, refcnt, refcnt - 1)); in vmspace_exit() 438 refcnt = vm->vm_refcnt; in vmspace_acquire_ref() 443 } while (!atomic_cmpset_int(&vm->vm_refcnt, refcnt, refcnt + 1)); in vmspace_acquire_ref() 475 KASSERT(newvm->vm_refcnt > 0, in vmspace_switch_aio() 486 atomic_add_int(&newvm->vm_refcnt, 1); in vmspace_switch_aio() [all …]
|
| H A D | vm_map.h | 272 volatile int vm_refcnt; /* number of references */ member
|
| /freebsd-12.1/sys/kern/ |
| H A D | init_main.c | 589 vmspace0.vm_refcnt = 1; in proc0_init()
|
| H A D | vfs_aio.c | 1162 KASSERT(myvm->vm_refcnt > 1, in aio_daemon() 1163 ("AIOD: bad vm refcnt for exiting daemon: %d", myvm->vm_refcnt)); in aio_daemon()
|
| H A D | kern_exec.c | 1099 if (vmspace->vm_refcnt == 1 && vm_map_min(map) == sv_minuser && in exec_new_vmspace()
|
| /freebsd-12.1/sys/dev/cxgbe/tom/ |
| H A D | t4_ddp.c | 1375 atomic_add_int(&vm->vm_refcnt, 1); in hold_aio()
|