Lines Matching defs:locked
259 * => Map, amap and thus anon should be locked by caller.
261 * => If we are successful, return with everything still locked.
266 * by the anon): if successful, return with the owning object locked.
296 bool we_own, locked;
321 * we have it on loan], then that uobject is locked
404 locked = uvmfault_relock(ufi);
405 if (locked || we_own) {
417 * case (i.e. drop anon lock if not locked).
449 if (locked) {
465 if (locked) {
500 if (!locked) {
539 * => on success, return a new locked anon via 'nanon'.
540 * (*nanon)->an_page will be a resident, locked, dirty page.
594 * The new anon is locked.
707 * possible to call here with the main map locked if the caller
710 * the map locked off during I/O.
920 /* locked: maps(read), amap(if there), uobj */
927 * locked: nothing, pgo_fault has unlocked
971 * => called with nothing locked.
996 /* locked: maps(read) */
1148 /* locked: maps(read) */
1188 /* locked: maps(read), amap(if there) */
1284 * => called with amap locked (if exists).
1299 /* locked: maps(read), amap(if there) */
1352 /* locked: maps(read), amap(if there) */
1365 * => called with amap and anon locked.
1375 /* locked: amap, anon */
1431 /* locked: maps(read), amap, anon */
1450 * if it succeeds, locks are still valid and locked.
1485 uobj = anon->an_page->uobject; /* locked by anonget if !NULL */
1487 /* locked: maps(read), amap, anon, uobj(if one) */
1638 * note: oanon is still locked, as is the new anon. we
1682 /* locked: maps(read), amap, oanon, anon(if different from oanon) */
1894 * locked:
1938 * locked:
1991 * Locked: maps(read), amap(if there), uobj
2038 "with locked get", (uintptr_t)curpg, 0, 0, 0);
2061 /* locked: maps(read), amap(if there), uobj */
2123 bool locked;
2136 /* Locked: maps(read), amap(if there), uobj */
2149 /* Locked: uobj(write) */
2157 /* locked: pg(if no error) */
2189 locked = uvmfault_relock(ufi);
2190 if (locked && amap)
2204 /* locked(locked): maps(read), amap(if !null), uobj, pg */
2205 /* locked(!locked): uobj, pg */
2214 (locked && amap && amap_lookup(&ufi->entry->aref,
2216 if (locked)
2218 locked = false;
2240 if (locked == false) {
2253 /* locked: maps(read), amap(if !null), uobj */
2469 * Locked:
2474 * anon must be write locked (promotion). uobj can be either.
2606 * => map may be read-locked by caller, but MUST NOT be write-locked.
2607 * => if map is read-locked, any operations which may cause map to
2608 * be write-locked in uvm_fault() must be taken care of by
2661 * => map must be at least read-locked.