Home
last modified time | relevance | path

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

/fs/nilfs2/
A Dpage.c30 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 …]
A Dbmap.h122 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()
A Dbmap.c488 bmap->b_state = 0; in nilfs_bmap_read()
541 bmap->b_state = 0; in nilfs_bmap_init_gc()
551 store->state = bmap->b_state; in nilfs_bmap_save()
560 bmap->b_state = store->state; in nilfs_bmap_restore()
A Dsegment.c1947 set_mask_bits(&bh->b_state, clear_bits, set_bits); in nilfs_segctor_complete_write()
/fs/affs/
A Dfile.c476 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()
/fs/
A Dbuffer.c77 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer()
79 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer()
129 if (!test_bit(BH_Quiet, &bh->b_state)) in buffer_io_error()
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()
1612 b_state & ~BUFFER_FLAGS_DISCARD)); in discard_buffer()
1694 bh->b_state |= b_state; in create_empty_buffers()
1794 unsigned int b_state) in folio_create_buffers() argument
[all …]
A Dmpage.c121 page_bh->b_state = bh->b_state; in map_buffer_to_folio()
217 map_bh->b_state = 0; in do_mpage_readpage()
537 map_bh.b_state = 0; in mpage_write_folio()
A Ddirect-io.c627 map_bh->b_state = 0; in get_more_blocks()
/fs/gfs2/
A Dglops.c42 bh, (unsigned long long)bh->b_blocknr, bh->b_state, in gfs2_ail_error()
67 const unsigned long b_state = (1UL << BH_Dirty)|(1UL << BH_Pinned)|(1UL << BH_Lock); in __gfs2_ail_flush() local
75 if (bh->b_state & b_state) { in __gfs2_ail_flush()
A Dmeta_io.h76 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
A Dbmap.c2266 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()
A Dtrace_gfs2.h467 __entry->state = bh->b_state;
/fs/xfs/
A Dxfs_buf.c83 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && in xfs_buf_stale()
908 bp->b_state &= ~XFS_BSTATE_DISPOSE; in xfs_buf_rele_cached()
919 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { in xfs_buf_rele_cached()
1532 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_drain_rele()
1631 bp->b_state |= XFS_BSTATE_DISPOSE; in xfs_buftarg_isolate()
A Dxfs_buf.h171 unsigned int b_state; /* internal state flags */ member
/fs/jbd2/
A Dcommit.c42 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()
A Dtransaction.c1092 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE); in do_get_write_access()
/fs/jfs/
A Dsuper.c715 tmp_bh.b_state = 0; in jfs_quota_read()
754 tmp_bh.b_state = 0; in jfs_quota_write()
/fs/ext2/
A Dsuper.c1541 tmp_bh.b_state = 0; in ext2_quota_read()
1579 tmp_bh.b_state = 0; in ext2_quota_write()
/fs/ext4/
A Dinode.c864 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
872 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state()
875 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); in ext4_update_bh_state()
2129 map->m_flags = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent()
2139 (bh->b_state & BH_FLAGS) == map->m_flags) { in mpage_add_bh_to_extent()
A Dext4.h3843 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate()
3847 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
/fs/isofs/
A Dinode.c1126 dummy.b_state = 0; in isofs_bmap()
/fs/ocfs2/
A Djournal.c677 (unsigned long long)bh->b_blocknr, bh->b_state); in __ocfs2_journal_access()
A Daops.c2168 bh_result->b_state = 0; in ocfs2_dio_wr_get_block()

Completed in 94 milliseconds