/linux-6.12.1/include/linux/ |
D | buffer_head.h | 60 unsigned long b_state; /* buffer state bitmap (see above) */ member 92 if (!test_bit(BH_##bit, &(bh)->b_state)) \ 93 set_bit(BH_##bit, &(bh)->b_state); \ 97 clear_bit(BH_##bit, &(bh)->b_state); \ 101 return test_bit(BH_##bit, &(bh)->b_state); \ 110 return test_and_set_bit(BH_##bit, &(bh)->b_state); \ 114 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \ 149 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS() 157 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS() 162 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate() [all …]
|
D | jbd2.h | 343 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head() 348 bit_spin_unlock(BH_JournalHead, &bh->b_state); in jbd_unlock_bh_journal_head()
|
/linux-6.12.1/fs/nilfs2/ |
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() 182 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_folio_bug() 218 dbh->b_state = sbh->b_state & mask; in nilfs_copy_folio() [all …]
|
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()
|
D | bmap.c | 506 bmap->b_state = 0; in nilfs_bmap_read() 559 bmap->b_state = 0; in nilfs_bmap_init_gc() 569 store->state = bmap->b_state; in nilfs_bmap_save() 578 bmap->b_state = store->state; in nilfs_bmap_restore()
|
/linux-6.12.1/fs/affs/ |
D | file.c | 474 tmp_bh.b_state = 0; in affs_bread_ino() 479 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 493 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 498 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() 512 tmp_bh.b_state = 0; in affs_getemptyblk_ino() 517 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino() 602 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs() 752 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs() 786 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
|
/linux-6.12.1/fs/ |
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() 235 bh->b_state, bh->b_size, bdev, in __find_get_block_slow() 1580 unsigned long b_state; in discard_buffer() local 1585 b_state = READ_ONCE(bh->b_state); in discard_buffer() 1587 } while (!try_cmpxchg(&bh->b_state, &b_state, in discard_buffer() 1588 b_state & ~BUFFER_FLAGS_DISCARD)); in discard_buffer() [all …]
|
D | mpage.c | 121 page_bh->b_state = bh->b_state; in map_buffer_to_folio() 220 map_bh->b_state = 0; in do_mpage_readpage() 541 map_bh.b_state = 0; in __mpage_writepage()
|
D | direct-io.c | 627 map_bh->b_state = 0; in get_more_blocks()
|
/linux-6.12.1/fs/gfs2/ |
D | glops.c | 41 bh, (unsigned long long)bh->b_blocknr, bh->b_state, in gfs2_ail_error() 66 const unsigned long b_state = (1UL << BH_Dirty)|(1UL << BH_Pinned)|(1UL << BH_Lock); in __gfs2_ail_flush() local 74 if (bh->b_state & b_state) { in __gfs2_ail_flush()
|
D | meta_io.h | 78 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
|
D | bmap.c | 2259 bh.b_state = 0; in gfs2_map_journal_extents() 2284 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents() 2326 bh.b_state = 0; in gfs2_write_alloc_required()
|
D | trace_gfs2.h | 459 __entry->state = bh->b_state;
|
/linux-6.12.1/fs/xfs/ |
D | xfs_buf.c | 112 if (!(bp->b_state & XFS_BSTATE_IN_FLIGHT)) { in xfs_buf_ioacct_inc() 113 bp->b_state |= XFS_BSTATE_IN_FLIGHT; in xfs_buf_ioacct_inc() 129 if (bp->b_state & XFS_BSTATE_IN_FLIGHT) { in __xfs_buf_ioacct_dec() 130 bp->b_state &= ~XFS_BSTATE_IN_FLIGHT; in __xfs_buf_ioacct_dec() 177 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && in xfs_buf_stale() 1107 bp->b_state &= ~XFS_BSTATE_DISPOSE; in xfs_buf_rele_cached() 1118 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { in xfs_buf_rele_cached() 1880 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_drain_rele() 1981 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_isolate()
|
D | xfs_buf.h | 182 unsigned int b_state; /* internal state flags */ member
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/ |
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-6.12.1/fs/jbd2/ |
D | commit.c | 42 clear_bit_unlock(BH_Shadow, &orig_bh->b_state); in journal_end_buffer_io_sync() 44 wake_up_bit(&orig_bh->b_state, BH_Shadow); in journal_end_buffer_io_sync() 661 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in jbd2_journal_commit_transaction()
|
D | transaction.c | 1096 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE); in do_get_write_access()
|
/linux-6.12.1/fs/jfs/ |
D | super.c | 750 tmp_bh.b_state = 0; in jfs_quota_read() 789 tmp_bh.b_state = 0; in jfs_quota_write()
|
/linux-6.12.1/fs/ext4/ |
D | inode.c | 755 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state() 763 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state() 766 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state() 1972 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent() 1982 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
|
D | ext4.h | 3804 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate() 3808 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
|
/linux-6.12.1/fs/ext2/ |
D | super.c | 1506 tmp_bh.b_state = 0; in ext2_quota_read() 1544 tmp_bh.b_state = 0; in ext2_quota_write()
|
/linux-6.12.1/fs/reiserfs/ |
D | prints.c | 162 bh->b_state, bh->b_page, in scnprintf_buffer_head()
|
D | super.c | 2505 tmp_bh.b_state = 0; in reiserfs_quota_read() 2553 tmp_bh.b_state = 0; in reiserfs_quota_write()
|
/linux-6.12.1/fs/isofs/ |
D | inode.c | 1129 dummy.b_state = 0; in isofs_bmap()
|