Home
last modified time | relevance | path

Searched refs:BH_Lock (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/include/linux/
Dlocks.h19 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()
Dfs.h216 BH_Lock, /* 1 if the buffer is locked */ enumerator
/linux-2.4.37.9/drivers/md/
Draid5.c431 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()
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()
966 set_bit(BH_Lock, &bh->b_state); in handle_stripe()
1022 set_bit(BH_Lock, &bh->b_state); in handle_stripe()
1041 set_bit(BH_Lock, &bh->b_state); in handle_stripe()
1105 set_bit(BH_Lock, &bh->b_state); in handle_stripe()
1156 clear_bit(BH_Lock, &bh->b_state); in handle_stripe()
Draid1.c700 (1<<BH_Mapped) | (1<<BH_Lock); in raid1_make_request()
1248 (1<<BH_Mapped) | (1<<BH_Lock); in raid1d()
1486 bh->b_state = (1<<BH_Req) | (1<<BH_Mapped) | (1<<BH_Lock); in raid1_sync_request()
Dmd.c492 bh.b_state = (1 << BH_Req) | (1 << BH_Mapped) | (1 << BH_Lock); in sync_page_io()
/linux-2.4.37.9/fs/
Dbuffer.c174 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()
2389 tmp->b_state = (1 << BH_Mapped) | (1 << BH_Lock) | (1 << BH_Req); in brw_kiovec()
2693 if (test_and_set_bit(BH_Lock, &bh->b_state)) { in sync_page_buffers()
2721 #define BUFFER_BUSY_BITS ((1<<BH_Dirty) | (1<<BH_Lock))
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_aops.c742 set_bit(BH_Lock, &bh->b_state); in xfs_page_state_convert()
811 !test_and_set_bit(BH_Lock, &bh->b_state)) { in xfs_page_state_convert()
/linux-2.4.37.9/fs/jbd/
Dcommit.c463 set_bit(BH_Lock, &jh2bh(new_jh)->b_state); in journal_commit_transaction()
Dtransaction.c583 locked = test_and_set_bit(BH_Lock, &bh->b_state); in do_get_write_access()
/linux-2.4.37.9/fs/jfs/
Djfs_logmgr.c1994 assert(!test_bit(BH_Lock, &bp->l_bh.b_state)); in lbmStartIO()
1995 set_bit(BH_Lock, &bp->l_bh.b_state); in lbmStartIO()
/linux-2.4.37.9/drivers/block/
Dll_rw_blk.c1289 if (!test_bit(BH_Lock, &bh->b_state)) in submit_bh()
Dloop.c430 bh->b_state = (1 << BH_Req) | (1 << BH_Mapped) | (1 << BH_Lock); in loop_get_buffer()
Dumem.c1022 set_bit(BH_Lock, &bh->b_state); in mm_init_mem()
/linux-2.4.37.9/drivers/ide/
Dide-tape.c3031 set_bit(BH_Lock, &bh->b_state); in __idetape_kmalloc_stage()
3060 set_bit(BH_Lock, &bh->b_state); in __idetape_kmalloc_stage()