/linux-2.4.37.9/fs/jbd/ |
D | revoke.c | 311 test_bit(BH_RevokeValid, &bh2->b_state)) in journal_revoke() 319 bh2->b_state)); in journal_revoke() 329 J_ASSERT_BH(bh, !test_bit(BH_Revoked, &bh->b_state)); in journal_revoke() 330 set_bit(BH_Revoked, &bh->b_state); in journal_revoke() 331 set_bit(BH_RevokeValid, &bh->b_state); in journal_revoke() 381 if (test_and_set_bit(BH_RevokeValid, &bh->b_state)) in journal_cancel_revoke() 382 need_cancel = (test_and_clear_bit(BH_Revoked, &bh->b_state)); in journal_cancel_revoke() 385 clear_bit(BH_Revoked, &bh->b_state); in journal_cancel_revoke() 413 clear_bit(BH_Revoked, &bh2->b_state); in journal_cancel_revoke() 540 set_bit(BH_JWrite, &jh2bh(descriptor)->b_state); in flush_descriptor() [all …]
|
D | commit.c | 322 clear_bit(BH_Freed, &bh->b_state); in journal_commit_transaction() 323 clear_bit(BH_Dirty, &bh->b_state); in journal_commit_transaction() 422 set_bit(BH_JWrite, &bh->b_state); in journal_commit_transaction() 452 set_bit(BH_JWrite, &jh2bh(jh)->b_state); in journal_commit_transaction() 462 set_bit(BH_JWrite, &jh2bh(new_jh)->b_state); in journal_commit_transaction() 463 set_bit(BH_Lock, &jh2bh(new_jh)->b_state); in journal_commit_transaction() 507 clear_bit(BH_Dirty, &bh->b_state); in journal_commit_transaction() 548 clear_bit(BH_JWrite, &jh2bh(jh)->b_state); in journal_commit_transaction() 575 clear_bit(BH_JWrite, &bh->b_state); in journal_commit_transaction() 610 clear_bit(BH_JWrite, &bh->b_state); in journal_commit_transaction() [all …]
|
D | transaction.c | 583 locked = test_and_set_bit(BH_Lock, &bh->b_state); in do_get_write_access() 1142 set_bit(BH_JBDDirty, &bh->b_state); in journal_dirty_metadata() 1253 clear_bit(BH_Dirty, &bh->b_state); in journal_forget() 1254 clear_bit(BH_JBDDirty, &bh->b_state); in journal_forget() 1625 if (test_and_clear_bit(BH_JBDDirty, &jh2bh(jh)->b_state)) { in __journal_unfile_buffer() 1626 set_bit(BH_Dirty, &jh2bh(jh)->b_state); in __journal_unfile_buffer() 1709 bh->b_state); in debug_page() 1819 clear_bit(BH_JBDDirty, &bh->b_state); in dispose_buffer() 1936 clear_bit(BH_JBDDirty, &bh->b_state); in journal_unmap_buffer() 1946 set_bit(BH_Freed, &bh->b_state); in journal_unmap_buffer() [all …]
|
D | checkpoint.c | 191 clear_bit(BH_JWrite, &bh->b_state); in __flush_batch() 225 J_ASSERT_BH(bh, !test_bit(BH_JWrite, &bh->b_state)); in __flush_buffer() 226 set_bit(BH_JWrite, &bh->b_state); in __flush_buffer()
|
/linux-2.4.37.9/fs/ |
D | buffer.c | 165 clear_bit(BH_Wait_IO, &bh->b_state); in unlock_buffer() 166 clear_bit(BH_Launder, &bh->b_state); in unlock_buffer() 174 clear_bit(BH_Lock, &bh->b_state); in unlock_buffer() 264 if (test_and_set_bit(BH_Lock, &bh->b_state)) in write_some_buffers() 1196 set_bit(BH_Sync, &bh->b_state); in bread() 1322 bh->b_state = 0; in create_buffers() 1380 clear_bit(BH_Uptodate, &bh->b_state); in discard_buffer() 1381 clear_bit(BH_Mapped, &bh->b_state); in discard_buffer() 1382 clear_bit(BH_Req, &bh->b_state); in discard_buffer() 1383 clear_bit(BH_New, &bh->b_state); in discard_buffer() [all …]
|
/linux-2.4.37.9/fs/bfs/ |
D | file.c | 74 bh_result->b_state |= (1UL << BH_Mapped); in bfs_get_block() 86 bh_result->b_state |= (1UL << BH_Mapped); in bfs_get_block() 100 bh_result->b_state |= (1UL << BH_Mapped); in bfs_get_block() 133 bh_result->b_state |= (1UL << BH_Mapped); in bfs_get_block()
|
/linux-2.4.37.9/fs/affs/ |
D | file.c | 362 bh_result->b_state |= (1UL << BH_Mapped); in affs_get_block() 368 bh_result->b_state |= (1UL << BH_New); in affs_get_block() 407 bh_result->b_state &= ~(1UL << BH_Mapped); in affs_get_block() 445 tmp_bh.b_state = 0; in affs_bread_ino() 450 bh->b_state |= tmp_bh.b_state; in affs_bread_ino() 464 tmp_bh.b_state = 0; in affs_getzeroblk_ino() 469 bh->b_state |= tmp_bh.b_state; in affs_getzeroblk_ino() 483 tmp_bh.b_state = 0; in affs_getemptyblk_ino() 488 bh->b_state |= tmp_bh.b_state; in affs_getemptyblk_ino() 592 bh->b_state &= ~(1UL << BH_New); in affs_extent_file_ofs() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | locks.h | 19 if (test_bit(BH_Lock, &bh->b_state)) in wait_on_buffer() 25 while (test_and_set_bit(BH_Lock, &bh->b_state)) in lock_buffer()
|
D | fs.h | 256 unsigned long b_state; /* buffer state bitmap (see above) */ member 279 #define __buffer_state(bh, state) (((bh)->b_state & (1UL << BH_##state)) != 0) 1174 set_bit(BH_Uptodate, &bh->b_state); in mark_buffer_uptodate() 1176 clear_bit(BH_Uptodate, &bh->b_state); in mark_buffer_uptodate() 1179 #define atomic_set_buffer_clean(bh) test_and_clear_bit(BH_Dirty, &(bh)->b_state) 1210 return test_and_set_bit(BH_Dirty, &bh->b_state); in atomic_set_buffer_dirty() 1216 set_bit(BH_Async, &bh->b_state); in mark_buffer_async() 1218 clear_bit(BH_Async, &bh->b_state); in mark_buffer_async() 1223 set_bit(BH_Attached, &bh->b_state); in set_buffer_attached() 1228 clear_bit(BH_Attached, &bh->b_state); in clear_buffer_attached() [all …]
|
/linux-2.4.37.9/fs/fat/ |
D | file.c | 60 bh_result->b_state |= (1UL << BH_Mapped); in fat_get_block() 79 bh_result->b_state |= (1UL << BH_Mapped); in fat_get_block() 80 bh_result->b_state |= (1UL << BH_New); in fat_get_block()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | tail_conversion.c | 148 clear_bit(BH_Mapped, &bh->b_state) ; in reiserfs_unmap_buffer() 149 clear_bit(BH_Req, &bh->b_state) ; in reiserfs_unmap_buffer() 150 clear_bit(BH_New, &bh->b_state) ; in reiserfs_unmap_buffer()
|
D | journal.c | 112 clear_bit(BH_Dirty, &bh->b_state) ; in reiserfs_clean_and_file_buffer() 374 clear_bit(BH_JPrepared, &bh->b_state) ; in clear_prepared_bits() 381 return test_bit(BH_JDirty, &((struct buffer_head *)bh)->b_state) ; in buffer_journaled() 391 return test_bit(BH_JNew, &((struct buffer_head *)bh)->b_state) ; in buffer_journal_new() 398 set_bit(BH_JNew, &bh->b_state) ; in mark_buffer_journal_new() 405 clear_bit(BH_JDirty, &bh->b_state) ; in mark_buffer_not_journaled() 836 set_bit(BH_Dirty, &(SB_JOURNAL(p_s_sb)->j_header_bh->b_state)) ; in _update_journal_header_block() 891 clear_bit(BH_Dirty, &bh->b_state) ; in submit_logged_buffer() 1152 if (!test_bit(BH_JPrepared, &cn->bh->b_state)) { in kupdate_one_transaction() 1573 set_bit(BH_Dirty, &(real_blocks[i]->b_state)) ; in journal_read_transaction() [all …]
|
/linux-2.4.37.9/drivers/md/ |
D | raid5.c | 214 clear_bit(BH_Uptodate, &sh->bh_cache[i]->b_state); in init_stripe() 414 set_bit(BH_Uptodate, &bh->b_state); in raid5_end_read_request() 422 clear_bit(BH_Uptodate, &bh->b_state); in raid5_end_read_request() 429 clear_bit(BH_Uptodate, &bh->b_state); in raid5_end_read_request() 431 clear_bit(BH_Lock, &bh->b_state); in raid5_end_read_request() 456 clear_bit(BH_Lock, &bh->b_state); in raid5_end_write_request() 474 bh->b_state = (1 << BH_Req) | (1 << BH_Mapped); in raid5_build_block() 685 set_bit(BH_Uptodate, &sh->bh_cache[dd_idx]->b_state); in compute_block() 744 set_bit(BH_Lock, &bh->b_state); in compute_parity() 769 set_bit(BH_Lock, &sh->bh_cache[pd_idx]->b_state); in compute_parity() [all …]
|
/linux-2.4.37.9/fs/hpfs/ |
D | file.c | 78 bh_result->b_state |= (1UL << BH_Mapped); in hpfs_get_block() 94 bh_result->b_state |= (1UL << BH_Mapped) | (1UL << BH_New); in hpfs_get_block()
|
/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_kcompat.h | 15 bh->b_state |= 1 << BH_Mapped; in map_bh()
|
/linux-2.4.37.9/fs/jfs/ |
D | inode.c | 264 bh_result->b_state |= (1UL << BH_New); in jfs_get_block() 269 bh_result->b_state |= (1UL << BH_Mapped); in jfs_get_block() 287 bh_result->b_state |= ((1UL << BH_Mapped) | (1UL << BH_New)); in jfs_get_block()
|
D | jfs_logmgr.c | 1717 lbuf->l_bh.b_state = 0; in lbmLogInit() 1859 clear_bit(BH_Uptodate, &bp->l_bh.b_state); in lbmRead() 1861 set_bit(BH_Mapped, &bp->l_bh.b_state); in lbmRead() 1862 set_bit(BH_Req, &bp->l_bh.b_state); in lbmRead() 1992 set_bit(BH_Dirty, &bp->l_bh.b_state); in lbmStartIO() 1994 assert(!test_bit(BH_Lock, &bp->l_bh.b_state)); in lbmStartIO() 1995 set_bit(BH_Lock, &bp->l_bh.b_state); in lbmStartIO() 1997 set_bit(BH_Mapped, &bp->l_bh.b_state); in lbmStartIO() 1998 set_bit(BH_Req, &bp->l_bh.b_state); in lbmStartIO()
|
/linux-2.4.37.9/fs/efs/ |
D | file.c | 35 bh_result->b_state |= (1UL << BH_Mapped); in efs_get_block()
|
/linux-2.4.37.9/drivers/block/ |
D | ll_rw_blk.c | 1005 sync = test_and_clear_bit(BH_Sync, &bh->b_state); in __make_request() 1177 bh->b_end_io(bh, test_bit(BH_Uptodate, &bh->b_state)); in __make_request() 1234 bh->b_state &= ~(1 << BH_Dirty); in generic_make_request() 1289 if (!test_bit(BH_Lock, &bh->b_state)) in submit_bh() 1292 set_bit(BH_Req, &bh->b_state); in submit_bh() 1293 set_bit(BH_Launder, &bh->b_state); in submit_bh() 1413 bh->b_end_io(bh, test_bit(BH_Uptodate, &bh->b_state)); in ll_rw_block()
|
D | loop.c | 393 if (!uptodate || test_bit(BH_Dirty, &bh->b_state)) { in loop_end_io_transfer() 430 bh->b_state = (1 << BH_Req) | (1 << BH_Mapped) | (1 << BH_Lock); in loop_get_buffer() 501 set_bit(BH_Dirty, &rbh->b_state); in loop_make_request() 512 set_bit(BH_Dirty, &bh->b_state); in loop_make_request() 541 int rw = !!test_and_clear_bit(BH_Dirty, &bh->b_state); in loop_handle_bh()
|
/linux-2.4.37.9/mm/ |
D | highmem.c | 431 bh->b_state = bh_orig->b_state; in create_bounce()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | hfsplus_fs.h | 345 bh->b_state |= (1UL << BH_Mapped); \ 347 #define set_buffer_new(bh) (bh->b_state |= (1UL << BH_New))
|
/linux-2.4.37.9/fs/hfs/ |
D | file.c | 117 bh_result->b_state |= (1UL << BH_Mapped); in hfs_get_block() 119 bh_result->b_state |= (1UL << BH_New); in hfs_get_block()
|
/linux-2.4.37.9/fs/minix/ |
D | itree_common.c | 165 bh_result->b_state |= (1UL << BH_Mapped); in get_block() 199 bh_result->b_state |= (1UL << BH_New); in get_block()
|
/linux-2.4.37.9/fs/ufs/ |
D | inode.c | 327 bh_result->b_state |= (1UL << BH_Mapped); in ufs_getfrag_block() 397 bh_result->b_state |= (1UL << BH_Mapped); in ufs_getfrag_block() 399 bh_result->b_state |= (1UL << BH_New); in ufs_getfrag_block() 419 dummy.b_state = 0; in ufs_getfrag()
|