/fs/nilfs2/ |
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() 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_page_bug() 215 dbh->b_state = sbh->b_state & mask; in nilfs_copy_page() [all …]
|
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()
|
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()
|
/fs/ |
D | buffer.c | 67 wait_on_bit_lock_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __lock_buffer() 73 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer() 75 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer() 120 wait_on_bit_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); in __wait_on_buffer() 134 if (!test_bit(BH_Quiet, &bh->b_state)) in buffer_io_error() 240 bh->b_state, bh->b_size, bdev, in __find_get_block_slow() 280 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read() 293 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read() 306 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read() 336 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write() [all …]
|
D | mpage.c | 162 page_bh->b_state = bh->b_state; in map_buffer_to_page() 262 map_bh->b_state = 0; in do_mpage_readpage() 616 map_bh.b_state = 0; in __mpage_writepage()
|
D | direct-io.c | 693 map_bh->b_state = 0; in get_more_blocks()
|
/fs/affs/ |
D | file.c | 451 tmp_bh.b_state = 0; in affs_bread_ino() 456 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 470 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 475 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() 489 tmp_bh.b_state = 0; in affs_getemptyblk_ino() 494 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino() 584 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs() 734 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs() 768 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
|
/fs/xfs/ |
D | xfs_buf.c | 95 if (!(bp->b_state & XFS_BSTATE_IN_FLIGHT)) { in xfs_buf_ioacct_inc() 96 bp->b_state |= XFS_BSTATE_IN_FLIGHT; in xfs_buf_ioacct_inc() 112 if (bp->b_state & XFS_BSTATE_IN_FLIGHT) { in __xfs_buf_ioacct_dec() 113 bp->b_state &= ~XFS_BSTATE_IN_FLIGHT; in __xfs_buf_ioacct_dec() 160 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && in xfs_buf_stale() 1028 bp->b_state &= ~XFS_BSTATE_DISPOSE; in xfs_buf_rele() 1039 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { in xfs_buf_rele() 1580 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_wait_rele() 1658 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_isolate()
|
D | xfs_buf.h | 143 unsigned int b_state; /* internal state flags */ member
|
/fs/gfs2/ |
D | glops.c | 37 bh, (unsigned long long)bh->b_blocknr, bh->b_state, in gfs2_ail_error() 60 const unsigned long b_state = (1UL << BH_Dirty)|(1UL << BH_Pinned)|(1UL << BH_Lock); in __gfs2_ail_flush() local 68 if (bh->b_state & b_state) { in __gfs2_ail_flush()
|
D | meta_io.h | 76 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
|
D | bmap.c | 1332 struct buffer_head bh = { .b_state = 0, .b_blocknr = 0 }; in gfs2_extent_map() 2302 bh.b_state = 0; in gfs2_map_journal_extents() 2327 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents() 2369 bh.b_state = 0; in gfs2_write_alloc_required()
|
D | trace_gfs2.h | 461 __entry->state = bh->b_state;
|
/fs/ext4/ |
D | page-io.c | 94 bit_spin_lock(BH_Uptodate_Lock, &head->b_state); in ext4_finish_bio() 106 bit_spin_unlock(BH_Uptodate_Lock, &head->b_state); in ext4_finish_bio()
|
D | inode.c | 774 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state() 783 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state() 786 cmpxchg(&bh->b_state, old_state, new_state) != old_state)); in ext4_update_bh_state() 2296 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent() 2306 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
|
D | ext4.h | 3345 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate() 3349 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
|
/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() 659 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in jbd2_journal_commit_transaction()
|
D | transaction.c | 997 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE); in do_get_write_access()
|
/fs/ntfs/ |
D | aops.c | 96 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read() 111 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read() 145 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
|
/fs/jfs/ |
D | super.c | 757 tmp_bh.b_state = 0; in jfs_quota_read() 797 tmp_bh.b_state = 0; in jfs_quota_write()
|
/fs/ext2/ |
D | super.c | 1514 tmp_bh.b_state = 0; in ext2_quota_read() 1553 tmp_bh.b_state = 0; in ext2_quota_write()
|
/fs/reiserfs/ |
D | prints.c | 162 bh->b_state, bh->b_page, in scnprintf_buffer_head()
|
D | super.c | 2508 tmp_bh.b_state = 0; in reiserfs_quota_read() 2557 tmp_bh.b_state = 0; in reiserfs_quota_write()
|
/fs/isofs/ |
D | inode.c | 1167 dummy.b_state = 0; in isofs_bmap()
|
/fs/f2fs/ |
D | data.c | 1579 bh->b_state = (bh->b_state & ~F2FS_MAP_FLAGS) | map.m_flags; in __get_data_block()
|