Lines Matching refs:fix_block

2732 	buf_block_t*	fix_block;  in buf_page_get_gen()  local
2817 fix_block = block; in buf_page_get_gen()
2818 buf_block_fix(fix_block); in buf_page_get_gen()
2874 fix_block = block; in buf_page_get_gen()
2877 buf_block_fix(fix_block); in buf_page_get_gen()
2884 fix_mutex = buf_page_get_mutex(&fix_block->page); in buf_page_get_gen()
2893 buf_page_t* fix_page = &fix_block->page; in buf_page_get_gen()
2908 buf_block_unfix(fix_block); in buf_page_get_gen()
2914 if (UNIV_UNLIKELY(fix_block->page.is_corrupt && in buf_page_get_gen()
2917 buf_block_unfix(fix_block); in buf_page_get_gen()
2922 switch(buf_block_get_state(fix_block)) { in buf_page_get_gen()
2936 buf_block_unfix(fix_block); in buf_page_get_gen()
2952 buf_block_unfix(fix_block); in buf_page_get_gen()
2981 ut_ad(fix_block->page.buf_fix_count > 0); in buf_page_get_gen()
2984 os_atomic_decrement_uint32(&fix_block->page.buf_fix_count, 1); in buf_page_get_gen()
2986 --fix_block->page.buf_fix_count; in buf_page_get_gen()
2989 fix_block = block; in buf_page_get_gen()
3089 buf_block_mutex_enter(fix_block); in buf_page_get_gen()
3091 buf_block_set_io_fix(fix_block, BUF_IO_NONE); in buf_page_get_gen()
3093 buf_block_mutex_exit(fix_block); in buf_page_get_gen()
3110 ut_ad(block == fix_block); in buf_page_get_gen()
3111 ut_ad(fix_block->page.buf_fix_count > 0); in buf_page_get_gen()
3118 ut_ad(buf_block_get_state(fix_block) == BUF_BLOCK_FILE_PAGE); in buf_page_get_gen()
3130 buf_block_unfix(fix_block); in buf_page_get_gen()
3137 fix_mutex = buf_page_get_mutex(&fix_block->page); in buf_page_get_gen()
3140 if (buf_LRU_free_page(&fix_block->page, true)) { in buf_page_get_gen()
3178 if (buf_flush_page_try(buf_pool, fix_block)) { in buf_page_get_gen()
3182 guess = fix_block; in buf_page_get_gen()
3188 buf_block_mutex_exit(fix_block); in buf_page_get_gen()
3190 buf_block_fix(fix_block); in buf_page_get_gen()
3196 ut_ad(fix_block->page.buf_fix_count > 0); in buf_page_get_gen()
3203 ret = rw_lock_s_lock_nowait(&fix_block->debug_latch, file, line); in buf_page_get_gen()
3210 || !fix_block->page.file_page_was_freed); in buf_page_get_gen()
3213 access_time = buf_page_is_accessed(&fix_block->page); in buf_page_get_gen()
3217 buf_block_mutex_enter(fix_block); in buf_page_get_gen()
3219 buf_page_set_accessed(&fix_block->page); in buf_page_get_gen()
3221 buf_block_mutex_exit(fix_block); in buf_page_get_gen()
3225 buf_page_make_young_if_needed(&fix_block->page); in buf_page_get_gen()
3230 ut_a(fix_block->page.buf_fix_count > 0); in buf_page_get_gen()
3231 ut_a(buf_block_get_state(fix_block) == BUF_BLOCK_FILE_PAGE); in buf_page_get_gen()
3238 buf_wait_for_read(fix_block, trx); in buf_page_get_gen()
3245 buf_wait_for_read(fix_block, trx); in buf_page_get_gen()
3252 rw_lock_s_lock_inline(&fix_block->lock, 0, file, line); in buf_page_get_gen()
3259 rw_lock_x_lock_inline(&fix_block->lock, 0, file, line); in buf_page_get_gen()
3265 mtr_memo_push(mtr, fix_block, fix_type); in buf_page_get_gen()
3276 ut_a(ibuf_count_get(buf_block_get_space(fix_block), in buf_page_get_gen()
3277 buf_block_get_page_no(fix_block)) == 0); in buf_page_get_gen()
3288 return(fix_block); in buf_page_get_gen()