• Home
  • Raw
  • Download

Lines Matching refs:b_state

70 	wait_on_bit_lock_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE);  in __lock_buffer()
76 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer()
78 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer()
123 wait_on_bit_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __wait_on_buffer()
139 if (!test_bit(BH_Quiet, &bh->b_state)) in buffer_io_error()
247 bh->b_state, bh->b_size); in __find_get_block_slow()
309 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
322 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
335 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
366 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
378 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
384 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
1501 unsigned long b_state, b_state_old; in discard_buffer() local
1506 b_state = bh->b_state; in discard_buffer()
1508 b_state_old = cmpxchg(&bh->b_state, b_state, in discard_buffer()
1509 (b_state & ~BUFFER_FLAGS_DISCARD)); in discard_buffer()
1510 if (b_state_old == b_state) in discard_buffer()
1512 b_state = b_state_old; in discard_buffer()
1589 unsigned long blocksize, unsigned long b_state) in create_empty_buffers() argument
1596 bh->b_state |= b_state; in create_empty_buffers()
1663 …ruct buffer_head *create_page_buffers(struct page *page, struct inode *inode, unsigned int b_state) in create_page_buffers() argument
1668 create_empty_buffers(page, 1 << ACCESS_ONCE(inode->i_blkbits), b_state); in create_page_buffers()
2570 bh->b_state = 0; in nobh_write_begin()
2774 map_bh.b_state = 0; in nobh_truncate_page()
2932 tmp.b_state = 0; in generic_block_bmap()
2945 set_bit(BH_Quiet, &bh->b_state); in end_bio_bh_io_sync()
3189 (bh->b_state & ((1 << BH_Dirty) | (1 << BH_Lock))); in buffer_busy()