• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jbd2/

Lines Matching refs:jh

345 	struct journal_head *jh, *new_jh, *descriptor;
447 jh = commit_transaction->t_reserved_list;
448 JBUFFER_TRACE(jh, "reserved, unused: refile");
453 if (jh->b_committed_data) {
454 struct buffer_head *bh = jh2bh(jh);
457 jbd2_free(jh->b_committed_data, bh->b_size);
458 jh->b_committed_data = NULL;
461 jbd2_journal_refile_buffer(journal, jh);
535 jh = commit_transaction->t_buffers;
541 clear_buffer_jbddirty(jh2bh(jh));
542 JBUFFER_TRACE(jh, "journal is aborting: refile");
543 jbd2_buffer_abort_trigger(jh,
544 jh->b_frozen_data ?
545 jh->b_frozen_triggers :
546 jh->b_triggers);
547 jbd2_journal_refile_buffer(journal, jh);
616 atomic_inc(&jh2bh(jh)->b_count);
622 set_bit(BH_JWrite, &jh2bh(jh)->b_state);
629 JBUFFER_TRACE(jh, "ph3: write metadata");
631 jh, &new_jh, blocknr);
649 write_tag_block(tag_bytes, tag, jh2bh(jh)->b_blocknr);
758 jh = commit_transaction->t_iobuf_list->b_tprev;
759 bh = jh2bh(jh);
772 JBUFFER_TRACE(jh, "ph4: unfile after journal write");
773 jbd2_journal_unfile_buffer(journal, jh);
780 jbd2_journal_put_journal_head(jh);
787 jh = commit_transaction->t_shadow_list->b_tprev;
788 bh = jh2bh(jh);
796 JBUFFER_TRACE(jh, "file as BJ_Forget");
797 jbd2_journal_file_buffer(jh, commit_transaction, BJ_Forget);
801 JBUFFER_TRACE(jh, "brelse shadowed buffer");
814 jh = commit_transaction->t_log_list->b_tprev;
815 bh = jh2bh(jh);
828 jbd2_journal_unfile_buffer(journal, jh);
829 jbd2_journal_put_journal_head(jh);
876 jh = commit_transaction->t_forget;
878 bh = jh2bh(jh);
880 J_ASSERT_JH(jh, jh->b_transaction == commit_transaction);
895 if (jh->b_committed_data) {
896 jbd2_free(jh->b_committed_data, bh->b_size);
897 jh->b_committed_data = NULL;
898 if (jh->b_frozen_data) {
899 jh->b_committed_data = jh->b_frozen_data;
900 jh->b_frozen_data = NULL;
901 jh->b_frozen_triggers = NULL;
903 } else if (jh->b_frozen_data) {
904 jbd2_free(jh->b_frozen_data, bh->b_size);
905 jh->b_frozen_data = NULL;
906 jh->b_frozen_triggers = NULL;
910 cp_transaction = jh->b_cp_transaction;
912 JBUFFER_TRACE(jh, "remove from old cp transaction");
914 __jbd2_journal_remove_checkpoint(jh);
931 if (buffer_freed(bh) && !jh->b_next_transaction) {
937 JBUFFER_TRACE(jh, "add to new checkpointing trans");
938 __jbd2_journal_insert_checkpoint(jh, commit_transaction);
941 JBUFFER_TRACE(jh, "refile for checkpoint writeback");
942 __jbd2_journal_refile_buffer(jh);
953 JBUFFER_TRACE(jh, "refile or unfile freed buffer");
954 __jbd2_journal_refile_buffer(jh);
955 if (!jh->b_transaction) {