Home
last modified time | relevance | path

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

12

/fs/affs/
Dfile.c435 tmp_bh.b_state = 0; in affs_bread_ino()
440 bh->b_state |= tmp_bh.b_state; in affs_bread_ino()
454 tmp_bh.b_state = 0; in affs_getzeroblk_ino()
459 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino()
473 tmp_bh.b_state = 0; in affs_getemptyblk_ino()
478 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino()
567 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs()
708 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
739 bh->b_state &= ~(1UL << BH_New); in affs_write_end_ofs()
/fs/
Dbuffer.c60 = container_of(word, struct buffer_head, b_state); in sync_buffer()
72 wait_on_bit_lock(&bh->b_state, BH_Lock, sync_buffer, in __lock_buffer()
79 clear_bit_unlock(BH_Lock, &bh->b_state); in unlock_buffer()
81 wake_up_bit(&bh->b_state, BH_Lock); in unlock_buffer()
91 wait_on_bit(&bh->b_state, BH_Lock, sync_buffer, TASK_UNINTERRUPTIBLE); in __wait_on_buffer()
105 if (!test_bit(BH_Quiet, &bh->b_state) && printk_ratelimit()) in quiet_error()
368 bh->b_state, bh->b_size); in __find_get_block_slow()
473 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
486 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
499 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in end_buffer_async_read()
[all …]
Dmpage.c149 page_bh->b_state = bh->b_state; in map_buffer_to_page()
228 map_bh->b_state = 0; in do_mpage_readpage()
525 map_bh.b_state = 0; in __mpage_writepage()
Ddirect-io.c517 map_bh->b_state = 0; in get_more_blocks()
/fs/gfs2/
Dmeta_io.h72 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
74 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock)))
Dbmap.c644 struct buffer_head bh = { .b_state = 0, .b_blocknr = 0 }; in gfs2_extent_map()
1275 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()
Dops_file.c319 bh.b_state = 0; in gfs2_allocate_page_backing()
Dlog.c540 bh->b_state = (1 << BH_Mapped) | (1 << BH_Uptodate) | (1 << BH_Lock); in gfs2_log_fake_buf()
Dops_fstype.c602 bh.b_state = 0; in map_journal_extents()
/fs/jbd/
Dcommit.c606 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in journal_commit_transaction()
616 set_bit(BH_JWrite, &jh2bh(new_jh)->b_state); in journal_commit_transaction()
726 clear_bit(BH_JWrite, &bh->b_state); in journal_commit_transaction()
737 wake_up_bit(&bh->b_state, BH_Unshadow); in journal_commit_transaction()
Dtransaction.c648 DEFINE_WAIT_BIT(wait, &bh->b_state, BH_Unshadow); in do_get_write_access()
651 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
/fs/jbd2/
Dcommit.c617 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in jbd2_journal_commit_transaction()
627 set_bit(BH_JWrite, &jh2bh(new_jh)->b_state); in jbd2_journal_commit_transaction()
774 clear_bit(BH_JWrite, &bh->b_state); in jbd2_journal_commit_transaction()
785 wake_up_bit(&bh->b_state, BH_Unshadow); in jbd2_journal_commit_transaction()
Dtransaction.c658 DEFINE_WAIT_BIT(wait, &bh->b_state, BH_Unshadow); in do_get_write_access()
661 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
/fs/ext4/
Dinode.c1201 dummy.b_state = 0; in ext4_getblk()
1908 new.b_state = lbh->b_state; in mpage_da_map_blocks()
2022 lbh->b_state = bh->b_state & BH_FLAGS; in mpage_add_bh_to_extent()
2030 if (logical == next && (bh->b_state & BH_FLAGS) == lbh->b_state) { in mpage_add_bh_to_extent()
2103 mpd->lbh.b_state = 0; in __mpage_da_writepage()
2118 bh->b_state = 0; in __mpage_da_writepage()
2153 mpd->lbh.b_state = in __mpage_da_writepage()
2154 bh->b_state & BH_FLAGS; in __mpage_da_writepage()
2185 mpd->lbh.b_state = 0; in mpage_da_writepages()
Ddir.c132 map_bh.b_state = 0; in ext4_readdir()
Dext4.h1368 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state)); in bitmap_uptodate()
1372 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state); in set_bitmap_uptodate()
/fs/ntfs/
Daops.c111 bit_spin_lock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
126 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
162 bit_spin_unlock(BH_Uptodate_Lock, &first->b_state); in ntfs_end_buffer_async_read()
/fs/jfs/
Dsuper.c653 tmp_bh.b_state = 0; in jfs_quota_read()
693 tmp_bh.b_state = 0; in jfs_quota_write()
/fs/ext3/
Ddir.c132 map_bh.b_state = 0; in ext3_readdir()
/fs/ext2/
Dsuper.c1333 tmp_bh.b_state = 0; in ext2_quota_read()
1372 tmp_bh.b_state = 0; in ext2_quota_write()
/fs/reiserfs/
Dprints.c148 bh->b_state, bh->b_page, in sprintf_buffer_head()
Dsuper.c2147 tmp_bh.b_state = 0; in reiserfs_quota_read()
2193 tmp_bh.b_state = 0; in reiserfs_quota_write()
/fs/ufs/
Dinode.c523 dummy.b_state = 0; in ufs_getfrag()
/fs/isofs/
Dinode.c1058 dummy.b_state = 0; in isofs_bmap()

12