| /linux/fs/nilfs2/ |
| H A D | page.c | 30 unsigned long b_state) in __nilfs_get_folio_block() argument 37 bh = create_empty_buffers(folio, 1 << blkbits, b_state); in __nilfs_get_folio_block() 49 unsigned long b_state) in nilfs_grab_buffer() argument 60 bh = __nilfs_get_folio_block(folio, blkoff, index, blkbits, b_state); in nilfs_grab_buffer() 84 set_mask_bits(&bh->b_state, clear_bits, 0); in nilfs_forget_buffer() 113 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer() 118 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer() 121 bits &= bh->b_state; in nilfs_copy_buffer() 181 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_folio_bug() 217 dbh->b_state = sbh->b_state & mask; in nilfs_copy_folio() [all …]
|
| H A D | bmap.h | 122 int b_state; member 260 return !!(bmap->b_state & NILFS_BMAP_DIRTY); in nilfs_bmap_dirty() 266 bmap->b_state |= NILFS_BMAP_DIRTY; in nilfs_bmap_set_dirty() 272 bmap->b_state &= ~NILFS_BMAP_DIRTY; in nilfs_bmap_clear_dirty()
|
| H A D | segment.c | 1947 set_mask_bits(&bh->b_state, clear_bits, set_bits); in nilfs_segctor_complete_write()
|
| /linux/include/linux/ |
| H A D | buffer_head.h | 61 unsigned long b_state; /* buffer state bitmap (see above) */ member 93 if (!test_bit(BH_##bit, &(bh)->b_state)) \ 94 set_bit(BH_##bit, &(bh)->b_state); \ 98 clear_bit(BH_##bit, &(bh)->b_state); \ 102 return test_bit(BH_##bit, &(bh)->b_state); \ 111 return test_and_set_bit(BH_##bit, &(bh)->b_state); \ 115 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \ 150 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS() 158 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS() 163 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate() [all …]
|
| /linux/fs/affs/ |
| H A D | file.c | 476 tmp_bh.b_state = 0; in affs_bread_ino() 481 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 495 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 500 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() 514 tmp_bh.b_state = 0; in affs_getemptyblk_ino() 519 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino() 604 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs() 757 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs() 791 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
|
| /linux/fs/ |
| H A D | buffer.c | 71 wait_on_bit_lock_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __lock_buffer() 77 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer() 79 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() 129 if (!test_bit(BH_Quiet, &bh->b_state)) in buffer_io_error() 214 if (test_bit_acquire(BH_Migrate, &head->b_state)) { in __find_get_block_slow() 243 bh->b_state, bh->b_size, bdev, in __find_get_block_slow() 1604 unsigned long b_state; in discard_buffer() local 1609 b_state = READ_ONCE(bh->b_state); in discard_buffer() 1611 } while (!try_cmpxchg_relaxed(&bh->b_state, &b_state, in discard_buffer() [all …]
|
| H A D | mpage.c | 121 page_bh->b_state = bh->b_state; in map_buffer_to_folio() 217 map_bh->b_state = 0; in do_mpage_readpage() 543 map_bh.b_state = 0; in mpage_write_folio()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sysfs.c | 161 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/fs/xfs/ |
| H A D | xfs_buf.c | 83 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && in xfs_buf_stale() 905 bp->b_state &= ~XFS_BSTATE_DISPOSE; in xfs_buf_rele_cached() 916 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { in xfs_buf_rele_cached() 1529 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_drain_rele() 1628 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_isolate()
|
| H A D | xfs_buf.h | 173 unsigned int b_state; /* internal state flags */ member
|
| /linux/fs/jfs/ |
| H A D | super.c | 715 tmp_bh.b_state = 0; in jfs_quota_read() 754 tmp_bh.b_state = 0; in jfs_quota_write()
|
| /linux/fs/gfs2/ |
| H A D | bmap.c | 2266 bh.b_state = 0; in gfs2_map_journal_extents() 2291 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents() 2333 bh.b_state = 0; in gfs2_write_alloc_required()
|
| /linux/fs/ext2/ |
| H A D | super.c | 1541 tmp_bh.b_state = 0; in ext2_quota_read() 1579 tmp_bh.b_state = 0; in ext2_quota_write()
|
| /linux/fs/ext4/ |
| H A D | inode.c | 870 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state() 878 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state() 881 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state() 2136 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent() 2146 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
|
| /linux/mm/ |
| H A D | migrate.c | 957 migrating = test_and_set_bit_lock(BH_Migrate, &head->b_state); in __buffer_migrate_folio() 994 clear_bit_unlock(BH_Migrate, &head->b_state); in __buffer_migrate_folio()
|
| /linux/fs/isofs/ |
| H A D | inode.c | 1131 dummy.b_state = 0; in isofs_bmap()
|
| /linux/fs/jbd2/ |
| H A D | transaction.c | 1092 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE); in do_get_write_access()
|
| /linux/fs/ocfs2/ |
| H A D | aops.c | 2168 bh_result->b_state = 0; in ocfs2_dio_wr_get_block()
|
| H A D | journal.c | 677 (unsigned long long)bh->b_blocknr, bh->b_state); in __ocfs2_journal_access()
|