Lines Matching defs:locked
901 * Read an uncached buffer from disk. Allocates and returns a locked
1085 * Lock a buffer object, if it is not already locked.
1087 * If we come across a stale, pinned, locked buffer, we know that we are
1090 * will still be locked. Rather than continuing to have trylock attempts
1099 int locked;
1101 locked = down_trylock(&bp->b_sema) == 0;
1102 if (locked)
1106 return locked;
1112 * If we come across a stale, pinned, locked buffer, we know that we
1115 * hence it will still be locked. Rather than sleeping until someone
1391 * To simulate an I/O failure, the buffer must be locked and held with at least
2149 * at I/O completion time. In either case, buffers remain locked until I/O
2216 * This will take the @buffer_list, write all non-locked and non-pinned buffers
2261 * Wait on the locked buffer, check for errors and unlock and
2317 * The buffer is now locked, under I/O and wait listed on the original