Searched refs:busy_lock (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/vm/ |
H A D | vm_page.h | 242 u_int busy_lock; /* busy owners lock (A) */ member 725 #define vm_page_busy_fetch(m) atomic_load_int(&(m)->busy_lock) 742 (m), (m)->busy_lock, curthread, __FILE__, __LINE__)); \ 755 (m), (m)->busy_lock, curthread, __FILE__, __LINE__)); \ 769 if (!atomic_cmpset_rel_int(&(m)->busy_lock, \ 774 if (!atomic_cmpset_rel_int(&(m)->busy_lock, \ 796 } while (!atomic_cmpset_int(&(m)->busy_lock, _busy_lock, \
|
H A D | vm_page.c | 437 marker->busy_lock = VPB_CURTHREAD_EXCLUSIVE; in vm_page_init_marker() 507 m->busy_lock = VPB_FREED; in vm_page_init_page() 973 if (atomic_fcmpset_rel_int(&m->busy_lock, in vm_page_busy_downgrade() 1001 if (!atomic_fcmpset_acq_int(&m->busy_lock, &x, in vm_page_busy_tryupgrade() 1039 if (atomic_fcmpset_int(&m->busy_lock, &x, in vm_page_sunbusy() 1046 if (!atomic_fcmpset_rel_int(&m->busy_lock, &x, VPB_UNBUSIED)) in vm_page_sunbusy() 1151 } while (!atomic_fcmpset_int(&m->busy_lock, &x, x | VPB_BIT_WAITERS)); in _vm_page_busy_sleep() 1185 if (atomic_fcmpset_acq_int(&m->busy_lock, &x, in vm_page_trysbusy() 1211 if (atomic_cmpset_acq_int(&m->busy_lock, VPB_UNBUSIED, in vm_page_tryxbusy() 1226 atomic_store_rel_int(&m->busy_lock, VPB_UNBUSIED); in vm_page_xunbusy_hard_tail() [all …]
|
H A D | vm_phys.c | 1048 range[i].busy_lock = VPB_UNBUSIED; in vm_phys_fictitious_init_range()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | dmu_os.c | 178 if ((m->busy_lock & VPB_BIT_WAITERS) != 0) in dmu_read_pages() 301 if ((m->busy_lock & VPB_BIT_WAITERS) != 0) in dmu_read_pages()
|