Home
last modified time | relevance | path

Searched refs:b_state (Results 1 – 7 of 7) sorted by relevance

/linux/fs/
H A Dbuffer.c68 wait_on_bit_lock_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __lock_buffer()
74 clear_and_wake_up_bit(BH_Lock, &bh->b_state); in unlock_buffer()
118 wait_on_bit_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __wait_on_buffer()
124 if (!test_bit(BH_Quiet, &bh->b_state)) in buffer_io_error()
150 set_bit(BH_Quiet, &bh->b_state); in bio_endio_bh()
251 if (test_bit_acquire(BH_Migrate, &head->b_state)) { in __find_get_block_slow()
280 bh->b_state, bh->b_size, bdev, in __find_get_block_slow()
1489 unsigned long b_state; in discard_buffer() local
1494 b_state = READ_ONCE(bh->b_state); in discard_buffer()
1496 } while (!try_cmpxchg_relaxed(&bh->b_state, &b_state, in discard_buffer()
[all …]
H A Dmpage.c120 page_bh->b_state = bh->b_state; in map_buffer_to_folio()
216 map_bh->b_state = 0; in do_mpage_readpage()
542 map_bh.b_state = 0; in mpage_write_folio()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c161 u8 b_state, b_rate; in qlcnic_82xx_store_beacon() local
167 err = qlcnic_validate_beacon(adapter, beacon, &b_state, &b_rate); in qlcnic_82xx_store_beacon()
173 if (ahw->beacon_state == b_state) in qlcnic_82xx_store_beacon()
196 err = qlcnic_config_led(adapter, b_state, b_rate); in qlcnic_82xx_store_beacon()
199 ahw->beacon_state = b_state; in qlcnic_82xx_store_beacon()
/linux/include/linux/
H A Djbd2.h340 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head()
345 bit_spin_unlock(BH_JournalHead, &bh->b_state); in jbd_unlock_bh_journal_head()
/linux/fs/gfs2/
H A Dbmap.c2299 bh.b_state = 0; in gfs2_map_journal_extents()
2324 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents()
2366 bh.b_state = 0; in gfs2_write_alloc_required()
/linux/fs/ext4/
H A Dinode.c877 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
885 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state()
888 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state()
2141 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent()
2151 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
H A Dext4.h4019 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate()
4023 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()