Lines Matching defs:locked
566 * Look up a buffer in the buffer cache and return it referenced and locked
581 * - the buffer we found and locked.
907 * Read an uncached buffer from disk. Allocates and returns a locked
1106 * Lock a buffer object, if it is not already locked.
1108 * If we come across a stale, pinned, locked buffer, we know that we are
1111 * will still be locked. Rather than continuing to have trylock attempts
1120 int locked;
1122 locked = down_trylock(&bp->b_sema) == 0;
1123 if (locked)
1127 return locked;
1133 * If we come across a stale, pinned, locked buffer, we know that we
1136 * hence it will still be locked. Rather than sleeping until someone
1412 * To simulate an I/O failure, the buffer must be locked and held with at least
2137 * at I/O completion time. In either case, buffers remain locked until I/O
2203 * This will take the @buffer_list, write all non-locked and non-pinned buffers
2248 * Wait on the locked buffer, check for errors and unlock and
2304 * The buffer is now locked, under I/O and wait listed on the original