Lines Matching refs:blocknr
434 if (cn->blocknr == bl && cn->sb == sb) in get_journal_hash_dev()
521 cn_orig = journal_hash(table, cn->sb, cn->blocknr); in insert_journal_hash()
527 journal_hash(table, cn->sb, cn->blocknr) = cn; in insert_journal_hash()
1151 b_blocknr_t blocknr = cn->blocknr; in find_newer_jl_for_cn() local
1155 if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist) { in find_newer_jl_for_cn()
1166 b_blocknr_t blocknr = cn->blocknr; in newer_jl_done() local
1170 if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist && in newer_jl_done()
1200 if (cn->blocknr != 0) { in remove_all_from_journal_list()
1204 cn->blocknr, cn->bh ? 1 : 0, in remove_all_from_journal_list()
1209 jl, cn->blocknr, 1); in remove_all_from_journal_list()
1401 if (cn->blocknr == 0) { in flush_journal_list()
1465 BUG_ON(cn->blocknr != saved_bh->b_blocknr); in flush_journal_list()
1604 if (cn->blocknr == 0) { in test_transaction()
1634 if (cn->blocknr == 0) { in write_one_transaction()
1681 if (!pjl && cn->blocknr && cn->bh in dirty_one_transaction()
1832 if (cur->blocknr == block && cur->sb == sb in remove_journal_hash()
1843 cur->blocknr = 0; in remove_journal_hash()
3291 cn->blocknr = bh->b_blocknr; in journal_mark_dirty()
3353 b_blocknr_t blocknr, int already_cleaned) in remove_from_transaction() argument
3360 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in remove_from_transaction()
3412 b_blocknr_t blocknr = cn->blocknr; in can_dirty() local
3421 if (cur->jlist && cur->bh && cur->blocknr && cur->sb == sb && in can_dirty()
3422 cur->blocknr == blocknr) { in can_dirty()
3434 cur->blocknr && cur->sb == sb && cur->blocknr == blocknr) { in can_dirty()
3649 struct super_block *sb, b_blocknr_t blocknr) in journal_mark_freed() argument
3658 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in journal_mark_freed()
3668 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3676 set_bit_in_list_bitmap(sb, blocknr, jb); in journal_mark_freed()
3684 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3688 blocknr); in journal_mark_freed()
3690 if (sb == cn->sb && blocknr == cn->blocknr) { in journal_mark_freed()
4050 jl_cn->blocknr = cn->bh->b_blocknr; in do_journal_end()