Home
last modified time | relevance | path

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

12

/fs/nilfs2/
Dpage.c44 int blkbits, unsigned long b_state) in __nilfs_get_page_block() argument
51 create_empty_buffers(page, 1 << blkbits, b_state); in __nilfs_get_page_block()
64 unsigned long b_state) in nilfs_grab_buffer() argument
75 bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); in nilfs_grab_buffer()
128 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
133 bits = sbh->b_state & ((1UL << BH_Uptodate) | (1UL << BH_Mapped)); in nilfs_copy_buffer()
136 bits &= bh->b_state; in nilfs_copy_buffer()
196 (unsigned long long)bh->b_blocknr, bh->b_state); in nilfs_page_bug()
230 dbh->b_state = sbh->b_state & mask; in nilfs_copy_page()
Dbmap.h121 int b_state; member
247 return !!(bmap->b_state & NILFS_BMAP_DIRTY); in nilfs_bmap_dirty()
253 bmap->b_state |= NILFS_BMAP_DIRTY; in nilfs_bmap_set_dirty()
259 bmap->b_state &= ~NILFS_BMAP_DIRTY; in nilfs_bmap_clear_dirty()
Dbmap.c491 bmap->b_state = 0; in nilfs_bmap_read()
547 bmap->b_state = 0; in nilfs_bmap_init_gc()
557 store->state = bmap->b_state; in nilfs_bmap_save()
566 bmap->b_state = store->state; in nilfs_bmap_restore()
/fs/affs/
Dfile.c443 tmp_bh.b_state = 0; in affs_bread_ino()
448 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
462 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
467 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
481 tmp_bh.b_state = 0; in affs_getemptyblk_ino()
486 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino()
575 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs()
716 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
747 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
/fs/
Dmpage.c135 page_bh->b_state = bh->b_state; in map_buffer_to_page()
214 map_bh->b_state = 0; in do_mpage_readpage()
375 map_bh.b_state = 0; in mpage_readpages()
409 map_bh.b_state = 0; in mpage_readpage()
526 map_bh.b_state = 0; in __mpage_writepage()
Dbuffer.c65 wait_on_bit_lock(&bh->b_state, BH_Lock, sleep_on_buffer, in __lock_buffer()
72 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer()
74 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer()
85 wait_on_bit(&bh->b_state, BH_Lock, sleep_on_buffer, TASK_UNINTERRUPTIBLE); in __wait_on_buffer()
100 if (!test_bit(BH_Quiet, &bh->b_state) && printk_ratelimit()) in quiet_error()
222 bh->b_state, bh->b_size); in __find_get_block_slow()
285 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
298 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
311 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
348 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_write()
[all …]
Ddirect-io.c600 map_bh->b_state = 0; in get_more_blocks()
/fs/gfs2/
Dglops.c34 bh, (unsigned long long)bh->b_blocknr, bh->b_state, in gfs2_ail_error()
56 const unsigned long b_state = (1UL << BH_Dirty)|(1UL << BH_Pinned)|(1UL << BH_Lock); in __gfs2_ail_flush() local
63 if (bh->b_state & b_state) { in __gfs2_ail_flush()
Dmeta_io.h79 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
Dfile.c339 bh.b_state = 0; in gfs2_allocate_page_backing()
695 struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; in fallocate_chunk()
Dbmap.c682 struct buffer_head bh = { .b_state = 0, .b_blocknr = 0 }; in gfs2_extent_map()
1305 bh.b_state = 0; in gfs2_write_alloc_required()
Drecovery.c390 struct buffer_head bh_map = { .b_state = 0, .b_blocknr = 0 }; in clean_journal()
Dtrace_gfs2.h441 __entry->state = bh->b_state;
/fs/ext4/
Dinode.c626 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | map.m_flags; in _ext4_get_block()
1496 ((mpd->b_state & (1 << BH_Mapped)) && in mpage_da_map_and_submit()
1497 !(mpd->b_state & (1 << BH_Delay)) && in mpage_da_map_and_submit()
1498 !(mpd->b_state & (1 << BH_Unwritten)))) in mpage_da_map_and_submit()
1527 if (mpd->b_state & (1 << BH_Delay)) in mpage_da_map_and_submit()
1628 unsigned long b_state) in mpage_add_bh_to_extent() argument
1670 mpd->b_state = b_state & BH_FLAGS; in mpage_add_bh_to_extent()
1678 if (logical == next && (b_state & BH_FLAGS) == mpd->b_state) { in mpage_add_bh_to_extent()
1791 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | map.m_flags; in ext4_da_get_block_prep()
2135 bh->b_state); in write_cache_pages_da()
[all …]
Dext4.h173 unsigned long b_state; /* state of the extent */ member
2347 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in BUFFER_FNS()
2351 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
/fs/jbd2/
Dcommit.c602 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in jbd2_journal_commit_transaction()
616 set_bit(BH_JWrite, &jh2bh(new_jh)->b_state); in jbd2_journal_commit_transaction()
791 clear_bit(BH_JWrite, &bh->b_state); in jbd2_journal_commit_transaction()
807 wake_up_bit(&bh->b_state, BH_Unshadow); in jbd2_journal_commit_transaction()
Dtransaction.c733 DEFINE_WAIT_BIT(wait, &bh->b_state, BH_Unshadow); in do_get_write_access()
736 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
/fs/ntfs/
Daops.c112 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
127 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
163 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
/fs/jfs/
Dsuper.c669 tmp_bh.b_state = 0; in jfs_quota_read()
709 tmp_bh.b_state = 0; in jfs_quota_write()
/fs/ext3/
Ddir.c128 map_bh.b_state = 0; in ext3_readdir()
/fs/jbd/
Dtransaction.c637 DEFINE_WAIT_BIT(wait, &bh->b_state, BH_Unshadow); in do_get_write_access()
640 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
Dcommit.c738 wake_up_bit(&bh->b_state, BH_Unshadow); in journal_commit_transaction()
/fs/ext2/
Dsuper.c1409 tmp_bh.b_state = 0; in ext2_quota_read()
1449 tmp_bh.b_state = 0; in ext2_quota_write()
/fs/reiserfs/
Dprints.c148 bh->b_state, bh->b_page, in sprintf_buffer_head()
Dsuper.c2259 tmp_bh.b_state = 0; in reiserfs_quota_read()
2305 tmp_bh.b_state = 0; in reiserfs_quota_write()

12