Home | History | Annotate | Download | only in uvm

Lines Matching defs:locked

81  * must be locked.   to modify pg->loan_count, both the owner of the page
82 * and pg->interlock must be locked. pg->flags is (as always) locked by
88 * from dying pg->interlock should be locked. this forces us to sometimes
123 * on entry the map is locked by the caller)
170 /* locked: map, amap, uobj */
181 /* locked: if (rv > 0) => map, amap, uobj [o.w. unlocked] */
210 * unlock what we locked, unlock the maps and return
285 * map now locked. now do the loanout...
334 * => called with map, amap, uobj locked
339 * 1 = got it, everything still locked
412 * we have the page and its owner locked: do the loan now.
443 * => pages should be object-owned and the object should be locked.
559 * => uobj shouldn't be locked. (we'll lock it)
589 * => called with map, amap, uobj locked
594 * 1 = got it, everything still locked
604 bool locked;
614 /* locked
616 /* locked: maps(read), amap(if there), uobj */
618 if (uobj->pgops->pgo_get) { /* try locked pgo_get */
629 * check the result of the locked pgo_get. if there is a problem,
645 /* locked: uobj */
650 /* locked: <nothing> */
664 locked = uvmfault_relock(ufi);
665 if (locked && amap)
677 (locked && amap && amap_lookup(&ufi->entry->aref,
679 if (locked)
681 locked = false;
700 if (locked == false) {
718 * all data structures locked. do the loanout. page can not
810 * => called with map, amap, uobj locked
815 * 1 = got it, everything still locked
1090 * => called with uobj locked
1121 /* uobj still locked */