Lines Matching refs:blocknr

432 		if (cn->blocknr == bl && cn->sb == sb)  in get_journal_hash_dev()
519 cn_orig = journal_hash(table, cn->sb, cn->blocknr); in insert_journal_hash()
525 journal_hash(table, cn->sb, cn->blocknr) = cn; in insert_journal_hash()
1172 b_blocknr_t blocknr = cn->blocknr; in find_newer_jl_for_cn() local
1176 if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist) { in find_newer_jl_for_cn()
1208 if (cn->blocknr != 0) { in remove_all_from_journal_list()
1212 cn->blocknr, cn->bh ? 1 : 0, in remove_all_from_journal_list()
1217 jl, cn->blocknr, 1); in remove_all_from_journal_list()
1416 if (cn->blocknr == 0) { in flush_journal_list()
1494 BUG_ON(cn->blocknr != saved_bh->b_blocknr); in flush_journal_list()
1646 if (cn->blocknr == 0) { in write_one_transaction()
1694 if (!pjl && cn->blocknr && cn->bh in dirty_one_transaction()
1852 if (cur->blocknr == block && cur->sb == sb in remove_journal_hash()
1863 cur->blocknr = 0; in remove_journal_hash()
3363 cn->blocknr = bh->b_blocknr; in journal_mark_dirty()
3427 b_blocknr_t blocknr, int already_cleaned) in remove_from_transaction() argument
3434 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in remove_from_transaction()
3486 b_blocknr_t blocknr = cn->blocknr; in can_dirty() local
3496 if (cur->jlist && cur->bh && cur->blocknr && cur->sb == sb && in can_dirty()
3497 cur->blocknr == blocknr) { in can_dirty()
3510 cur->blocknr && cur->sb == sb && cur->blocknr == blocknr) { in can_dirty()
3740 struct super_block *sb, b_blocknr_t blocknr) in journal_mark_freed() argument
3749 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in journal_mark_freed()
3759 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3770 set_bit_in_list_bitmap(sb, blocknr, jb); in journal_mark_freed()
3778 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3785 blocknr); in journal_mark_freed()
3787 if (sb == cn->sb && blocknr == cn->blocknr) { in journal_mark_freed()
4154 jl_cn->blocknr = cn->bh->b_blocknr; in do_journal_end()