Lines Matching refs:locked

2129     struct buffer_head * locked;  in wait_tb_buffers_until_unlocked()  local
2137 locked = NULL; in wait_tb_buffers_until_unlocked()
2139 for ( i = p_s_tb->tb_path->path_length; !locked && i > ILLEGAL_PATH_ELEMENT_OFFSET; i-- ) { in wait_tb_buffers_until_unlocked()
2157 locked = PATH_OFFSET_PBUFFER (p_s_tb->tb_path, i); in wait_tb_buffers_until_unlocked()
2161 for ( i = 0; !locked && i < MAX_HEIGHT && p_s_tb->insert_size[i]; i++ ) { in wait_tb_buffers_until_unlocked()
2169 locked = p_s_tb->L[i]; in wait_tb_buffers_until_unlocked()
2172 if ( !locked && p_s_tb->FL[i] ) { in wait_tb_buffers_until_unlocked()
2176 locked = p_s_tb->FL[i]; in wait_tb_buffers_until_unlocked()
2179 if ( !locked && p_s_tb->CFL[i] ) { in wait_tb_buffers_until_unlocked()
2183 locked = p_s_tb->CFL[i]; in wait_tb_buffers_until_unlocked()
2188 if ( !locked && (p_s_tb->rnum[i]) ) { in wait_tb_buffers_until_unlocked()
2194 locked = p_s_tb->R[i]; in wait_tb_buffers_until_unlocked()
2198 if ( !locked && p_s_tb->FR[i] ) { in wait_tb_buffers_until_unlocked()
2202 locked = p_s_tb->FR[i]; in wait_tb_buffers_until_unlocked()
2205 if ( !locked && p_s_tb->CFR[i] ) { in wait_tb_buffers_until_unlocked()
2209 locked = p_s_tb->CFR[i]; in wait_tb_buffers_until_unlocked()
2221 for ( i = 0; !locked && i < MAX_FEB_SIZE; i++ ) { in wait_tb_buffers_until_unlocked()
2225 locked = p_s_tb->FEB[i] ; in wait_tb_buffers_until_unlocked()
2230 if (locked) { in wait_tb_buffers_until_unlocked()
2234 …ait_tb_buffers_until_released(): too many iterations waiting for buffer to unlock (%b)\n", locked); in wait_tb_buffers_until_unlocked()
2241 __wait_on_buffer (locked); in wait_tb_buffers_until_unlocked()
2247 } while (locked); in wait_tb_buffers_until_unlocked()