Lines Matching refs:msr
11037 msync_req_t msr;
11248 queue_iterate(&object->msr_q, msr, msync_req_t, msr_q) {
11251 * on overlapping msr to be done, then reiterate
11253 msr_lock(msr);
11254 if (msr->flag == VM_MSYNC_SYNCHRONIZING &&
11255 ((offset >= msr->offset &&
11256 offset < (msr->offset + msr->length)) ||
11257 (msr->offset >= offset &&
11258 msr->offset < (offset + flush_size))))
11260 assert_wait((event_t) msr,THREAD_INTERRUPTIBLE);
11261 msr_unlock(msr);
11267 msr_unlock(msr);
11293 msr = (msync_req_t)queue_first(&req_q);
11294 msr_lock(msr);
11295 while(msr->flag != VM_MSYNC_DONE) {
11296 assert_wait((event_t) msr, THREAD_INTERRUPTIBLE);
11297 msr_unlock(msr);
11299 msr_lock(msr);
11301 queue_remove(&req_q, msr, msync_req_t, req_q);
11302 msr_unlock(msr);
11303 vm_object_deallocate(msr->object);
11304 msync_req_free(msr);