Searched refs:jh2bh (Results 1 - 11 of 11) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | jbd_common.h | 6 static inline struct buffer_head *jh2bh(struct journal_head *jh) jh2bh() function
|
/linux-4.1.27/fs/jbd/ |
H A D | checkpoint.c | 91 * Called under jbd_lock_bh_state(jh2bh(jh)), and drops it 96 struct buffer_head *bh = jh2bh(jh); __try_to_free_cp_buf() 223 bh = jh2bh(jh); __wait_cp_io() 285 * Called under jbd_lock_bh_state(jh2bh(jh)), and drops it 290 struct buffer_head *bh = jh2bh(jh); __process_buffer() 401 bh = jh2bh(jh); log_do_checkpoint() 572 if (jbd_trylock_bh_state(jh2bh(jh))) { journal_clean_one_cp_list() 662 * This function is called with jbd_lock_bh_state(jh2bh(jh)) 725 J_ASSERT_JH(jh, buffer_dirty(jh2bh(jh)) || buffer_jbddirty(jh2bh(jh))); __journal_insert_checkpoint() 729 journal_grab_journal_head(jh2bh(jh)); __journal_insert_checkpoint()
|
H A D | commit.c | 137 bh = jh2bh(descriptor); journal_write_commit_record() 207 bh = jh2bh(jh); journal_submit_data_buffers() 397 struct buffer_head *bh = jh2bh(jh); journal_commit_transaction() 460 bh = jh2bh(jh); journal_commit_transaction() 545 clear_buffer_jbddirty(jh2bh(jh)); journal_commit_transaction() 573 bh = jh2bh(descriptor); journal_commit_transaction() 616 get_bh(jh2bh(jh)); journal_commit_transaction() 622 set_buffer_jwrite(jh2bh(jh)); journal_commit_transaction() 632 set_buffer_jwrite(jh2bh(new_jh)); journal_commit_transaction() 633 wbuf[bufs++] = jh2bh(new_jh); journal_commit_transaction() 645 tag->t_blocknr = cpu_to_be32(jh2bh(jh)->b_blocknr); journal_commit_transaction() 724 bh = jh2bh(jh); journal_commit_transaction() 753 bh = jh2bh(jh); journal_commit_transaction() 785 bh = jh2bh(jh); journal_commit_transaction() 848 bh = jh2bh(jh); journal_commit_transaction()
|
H A D | revoke.c | 429 struct buffer_head *bh = jh2bh(jh); journal_cancel_revoke() 604 header = (journal_header_t *) &jh2bh(descriptor)->b_data[0]; write_one_revoke_record() 617 * ((__be32 *)(&jh2bh(descriptor)->b_data[offset])) = write_one_revoke_record() 635 struct buffer_head *bh = jh2bh(descriptor); flush_descriptor() 642 header = (journal_revoke_header_t *) jh2bh(descriptor)->b_data; flush_descriptor()
|
H A D | transaction.c | 539 bh = jh2bh(jh); do_get_write_access() 675 jbd_alloc(jh2bh(jh)->b_size, do_get_write_access() 716 J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), do_get_write_access() 718 page = jh2bh(jh)->b_page; do_get_write_access() 719 offset = offset_in_page(jh2bh(jh)->b_data); do_get_write_access() 721 memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size); do_get_write_access() 813 J_ASSERT_JH(jh, buffer_locked(jh2bh(jh))); journal_get_create_access() 824 clear_buffer_dirty(jh2bh(jh)); journal_get_create_access() 899 committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); journal_get_undo_access() 1521 * jbd_lock_bh_state(jh2bh(jh)) is held. 1545 * jbd_lock_bh_state(jh2bh(jh)) is held. 1575 struct buffer_head *bh = jh2bh(jh); __journal_temp_unlink_buffer() 1639 struct buffer_head *bh = jh2bh(jh); journal_unfile_buffer() 1778 struct buffer_head *bh = jh2bh(jh); __dispose_buffer() 2083 struct buffer_head *bh = jh2bh(jh); __journal_file_buffer() 2159 jbd_lock_bh_state(jh2bh(jh)); journal_file_buffer() 2163 jbd_unlock_bh_state(jh2bh(jh)); journal_file_buffer() 2173 * Called under jbd_lock_bh_state(jh2bh(jh)) 2180 struct buffer_head *bh = jh2bh(jh); __journal_refile_buffer() 2227 struct buffer_head *bh = jh2bh(jh); journal_refile_buffer()
|
H A D | journal.c | 315 struct buffer_head *bh_in = jh2bh(jh_in); journal_write_metadata_buffer() 345 new_page = jh2bh(jh_in)->b_page; journal_write_metadata_buffer() 346 new_offset = offset_in_page(jh2bh(jh_in)->b_data); journal_write_metadata_buffer() 376 memcpy(tmp, mapped_data + new_offset, jh2bh(jh_in)->b_size); journal_write_metadata_buffer() 396 new_bh->b_size = jh2bh(jh_in)->b_size; journal_write_metadata_buffer() 2000 J_ASSERT_BH(bh, jh2bh(jh) == bh); __journal_remove_journal_head() 2022 struct buffer_head *bh = jh2bh(jh); journal_put_journal_head()
|
/linux-4.1.27/fs/jbd2/ |
H A D | checkpoint.c | 95 struct buffer_head *bh = jh2bh(jh); __try_to_free_cp_buf() 254 bh = jh2bh(jh); jbd2_log_do_checkpoint() 337 bh = jh2bh(jh); jbd2_log_do_checkpoint() 617 J_ASSERT_JH(jh, buffer_dirty(jh2bh(jh)) || buffer_jbddirty(jh2bh(jh))); __jbd2_journal_insert_checkpoint() 621 jbd2_journal_grab_journal_head(jh2bh(jh)); __jbd2_journal_insert_checkpoint()
|
H A D | transaction.c | 794 bh = jh2bh(jh); do_get_write_access() 925 jbd2_alloc(jh2bh(jh)->b_size, do_get_write_access() 966 J_EXPECT_JH(jh, buffer_uptodate(jh2bh(jh)), do_get_write_access() 968 page = jh2bh(jh)->b_page; do_get_write_access() 969 offset = offset_in_page(jh2bh(jh)->b_data); do_get_write_access() 974 memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size); do_get_write_access() 1072 J_ASSERT_JH(jh, buffer_locked(jh2bh(jh))); jbd2_journal_get_create_access() 1083 clear_buffer_dirty(jh2bh(jh)); jbd2_journal_get_create_access() 1160 committed_data = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); jbd2_journal_get_undo_access() 1216 struct buffer_head *bh = jh2bh(jh); jbd2_buffer_frozen_trigger() 1230 triggers->t_abort(triggers, jh2bh(jh)); jbd2_buffer_abort_trigger() 1694 * jbd_lock_bh_state(jh2bh(jh)) is held. 1718 * jbd_lock_bh_state(jh2bh(jh)) is held. 1748 struct buffer_head *bh = jh2bh(jh); __jbd2_journal_temp_unlink_buffer() 1800 struct buffer_head *bh = jh2bh(jh); jbd2_journal_unfile_buffer() 1931 struct buffer_head *bh = jh2bh(jh); __dispose_buffer() 2232 struct buffer_head *bh = jh2bh(jh); __jbd2_journal_file_buffer() 2296 jbd_lock_bh_state(jh2bh(jh)); jbd2_journal_file_buffer() 2300 jbd_unlock_bh_state(jh2bh(jh)); jbd2_journal_file_buffer() 2310 * Called under jbd_lock_bh_state(jh2bh(jh)) 2317 struct buffer_head *bh = jh2bh(jh); __jbd2_journal_refile_buffer() 2364 struct buffer_head *bh = jh2bh(jh); jbd2_journal_refile_buffer()
|
H A D | commit.c | 497 struct buffer_head *bh = jh2bh(jh); jbd2_journal_commit_transaction() 597 clear_buffer_jbddirty(jh2bh(jh)); jbd2_journal_commit_transaction() 670 atomic_inc(&jh2bh(jh)->b_count); jbd2_journal_commit_transaction() 676 set_bit(BH_JWrite, &jh2bh(jh)->b_state); jbd2_journal_commit_transaction() 696 write_tag_block(journal, tag, jh2bh(jh)->b_blocknr); jbd2_journal_commit_transaction() 846 bh = jh2bh(jh); jbd2_journal_commit_transaction() 943 bh = jh2bh(jh); jbd2_journal_commit_transaction()
|
H A D | journal.c | 360 struct buffer_head *bh_in = jh2bh(jh_in); jbd2_journal_write_metadata_buffer() 399 new_page = jh2bh(jh_in)->b_page; jbd2_journal_write_metadata_buffer() 400 new_offset = offset_in_page(jh2bh(jh_in)->b_data); jbd2_journal_write_metadata_buffer() 2531 J_ASSERT_BH(bh, jh2bh(jh) == bh); __journal_remove_journal_head() 2553 struct buffer_head *bh = jh2bh(jh); jbd2_journal_put_journal_head()
|
H A D | revoke.c | 426 struct buffer_head *bh = jh2bh(jh); jbd2_journal_cancel_revoke()
|
Completed in 395 milliseconds