/linux-6.3-rc2/include/linux/ |
A D | buffer_head.h | 94 if (!test_bit(BH_##bit, &(bh)->b_state)) \ 95 set_bit(BH_##bit, &(bh)->b_state); \ 99 clear_bit(BH_##bit, &(bh)->b_state); \ 103 return test_bit(BH_##bit, &(bh)->b_state); \ 112 return test_and_set_bit(BH_##bit, &(bh)->b_state); \ 116 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \ 151 if (test_bit(BH_Uptodate, &bh->b_state)) in BUFFER_FNS() 159 set_bit(BH_Uptodate, &bh->b_state); in BUFFER_FNS() 164 clear_bit(BH_Uptodate, &bh->b_state); in clear_buffer_uptodate() 173 return test_bit_acquire(BH_Uptodate, &bh->b_state); in buffer_uptodate() [all …]
|
A D | jbd2.h | 352 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head() 357 bit_spin_unlock(BH_JournalHead, &bh->b_state); in jbd_unlock_bh_journal_head()
|
/linux-6.3-rc2/fs/nilfs2/ |
A D | page.c | 30 int blkbits, unsigned long b_state) in __nilfs_get_page_block() argument 37 create_empty_buffers(page, 1 << blkbits, b_state); in __nilfs_get_page_block() 50 unsigned long b_state) in nilfs_grab_buffer() argument 61 bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); in nilfs_grab_buffer() 83 set_mask_bits(&bh->b_state, clear_bits, 0); in nilfs_forget_buffer() 112 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer() 117 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer() 120 bits &= bh->b_state; in nilfs_copy_buffer() 180 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_page_bug() 214 dbh->b_state = sbh->b_state & mask; in nilfs_copy_page() [all …]
|
A D | bmap.h | 110 int b_state; member 248 return !!(bmap->b_state & NILFS_BMAP_DIRTY); in nilfs_bmap_dirty() 254 bmap->b_state |= NILFS_BMAP_DIRTY; in nilfs_bmap_set_dirty() 260 bmap->b_state &= ~NILFS_BMAP_DIRTY; in nilfs_bmap_clear_dirty()
|
A D | bmap.c | 504 bmap->b_state = 0; in nilfs_bmap_read() 560 bmap->b_state = 0; in nilfs_bmap_init_gc() 570 store->state = bmap->b_state; in nilfs_bmap_save() 579 bmap->b_state = store->state; in nilfs_bmap_restore()
|
/linux-6.3-rc2/fs/affs/ |
A D | file.c | 472 tmp_bh.b_state = 0; in affs_bread_ino() 477 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 491 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 496 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() 510 tmp_bh.b_state = 0; in affs_getemptyblk_ino() 515 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino() 601 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.3-rc2/fs/ |
A D | buffer.c | 76 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer() 78 wake_up_bit(&bh->b_state, BH_Lock); in unlock_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() 1499 unsigned long b_state; in discard_buffer() local 1504 b_state = READ_ONCE(bh->b_state); in discard_buffer() 1506 } while (!try_cmpxchg(&bh->b_state, &b_state, in discard_buffer() 1507 b_state & ~BUFFER_FLAGS_DISCARD)); in discard_buffer() 1589 bh->b_state |= b_state; in create_empty_buffers() 1704 b_state); in create_page_buffers() [all …]
|
A D | mpage.c | 103 page_bh->b_state = bh->b_state; in map_buffer_to_folio() 203 map_bh->b_state = 0; in do_mpage_readpage() 531 map_bh.b_state = 0; in __mpage_writepage()
|
A D | direct-io.c | 620 map_bh->b_state = 0; in get_more_blocks()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_buf.c | 106 if (!(bp->b_state & XFS_BSTATE_IN_FLIGHT)) { in xfs_buf_ioacct_inc() 107 bp->b_state |= XFS_BSTATE_IN_FLIGHT; in xfs_buf_ioacct_inc() 123 if (bp->b_state & XFS_BSTATE_IN_FLIGHT) { in __xfs_buf_ioacct_dec() 124 bp->b_state &= ~XFS_BSTATE_IN_FLIGHT; in __xfs_buf_ioacct_dec() 171 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && in xfs_buf_stale() 1045 bp->b_state &= ~XFS_BSTATE_DISPOSE; in xfs_buf_rele() 1056 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { in xfs_buf_rele() 1798 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_drain_rele() 1899 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_isolate()
|
A D | xfs_buf.h | 156 unsigned int b_state; /* internal state flags */ member
|
/linux-6.3-rc2/fs/gfs2/ |
A 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()
|
A D | meta_io.h | 78 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
|
A D | bmap.c | 2264 bh.b_state = 0; in gfs2_map_journal_extents() 2289 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents() 2331 bh.b_state = 0; in gfs2_write_alloc_required()
|
A D | trace_gfs2.h | 459 __entry->state = bh->b_state;
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sysfs.c | 162 u8 b_state, b_rate; in qlcnic_82xx_store_beacon() local 168 err = qlcnic_validate_beacon(adapter, beacon, &b_state, &b_rate); in qlcnic_82xx_store_beacon() 174 if (ahw->beacon_state == b_state) in qlcnic_82xx_store_beacon() 197 err = qlcnic_config_led(adapter, b_state, b_rate); in qlcnic_82xx_store_beacon() 200 ahw->beacon_state = b_state; in qlcnic_82xx_store_beacon()
|
/linux-6.3-rc2/fs/jbd2/ |
A 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() 666 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in jbd2_journal_commit_transaction()
|
A D | transaction.c | 1115 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE); in do_get_write_access()
|
/linux-6.3-rc2/fs/jfs/ |
A 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.3-rc2/fs/reiserfs/ |
A D | prints.c | 162 bh->b_state, bh->b_page, in scnprintf_buffer_head()
|
A D | super.c | 2506 tmp_bh.b_state = 0; in reiserfs_quota_read() 2554 tmp_bh.b_state = 0; in reiserfs_quota_write()
|
/linux-6.3-rc2/fs/ext2/ |
A D | super.c | 1514 tmp_bh.b_state = 0; in ext2_quota_read() 1552 tmp_bh.b_state = 0; in ext2_quota_write()
|
/linux-6.3-rc2/fs/ext4/ |
A D | inode.c | 781 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state() 789 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state() 792 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state() 2181 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent() 2191 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
|
A D | ext4.h | 3798 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate() 3802 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
|
/linux-6.3-rc2/fs/isofs/ |
A D | inode.c | 1161 dummy.b_state = 0; in isofs_bmap()
|