Lines Matching refs:b_state
60 = container_of(word, struct buffer_head, b_state); in sync_buffer()
72 wait_on_bit_lock(&bh->b_state, BH_Lock, sync_buffer, in __lock_buffer()
79 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer()
81 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer()
91 wait_on_bit(&bh->b_state, BH_Lock, sync_buffer, TASK_UNINTERRUPTIBLE); in __wait_on_buffer()
105 if (!test_bit(BH_Quiet, &bh->b_state) && printk_ratelimit()) in quiet_error()
368 bh->b_state, bh->b_size); in __find_get_block_slow()
473 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
486 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
499 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
536 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
548 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
554 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
1001 bh->b_state = 0; in alloc_page_buffers()
1622 unsigned long blocksize, unsigned long b_state) in create_empty_buffers() argument
1629 bh->b_state |= b_state; in create_empty_buffers()
2605 bh->b_state = 0; in nobh_write_begin()
2963 tmp.b_state = 0; in generic_block_bmap()
2976 set_bit(BH_Eopnotsupp, &bh->b_state); in end_bio_bh_io_sync()
2980 set_bit(BH_Quiet, &bh->b_state); in end_bio_bh_io_sync()
3148 (bh->b_state & ((1 << BH_Dirty) | (1 << BH_Lock))); in buffer_busy()