Lines Matching refs:blocknr
435 if (cn->blocknr == bl && cn->sb == sb) in get_journal_hash_dev()
524 cn_orig = journal_hash(table, cn->sb, cn->blocknr); in insert_journal_hash()
530 journal_hash(table, cn->sb, cn->blocknr) = cn; in insert_journal_hash()
1174 b_blocknr_t blocknr = cn->blocknr; in find_newer_jl_for_cn() local
1178 if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist) { in find_newer_jl_for_cn()
1210 if (cn->blocknr != 0) { in remove_all_from_journal_list()
1214 cn->blocknr, cn->bh ? 1 : 0, in remove_all_from_journal_list()
1219 jl, cn->blocknr, 1); in remove_all_from_journal_list()
1418 if (cn->blocknr == 0) { in flush_journal_list()
1496 BUG_ON(cn->blocknr != saved_bh->b_blocknr); in flush_journal_list()
1648 if (cn->blocknr == 0) { in write_one_transaction()
1696 if (!pjl && cn->blocknr && cn->bh in dirty_one_transaction()
1854 if (cur->blocknr == block && cur->sb == sb in remove_journal_hash()
1865 cur->blocknr = 0; in remove_journal_hash()
3352 cn->blocknr = bh->b_blocknr; in journal_mark_dirty()
3416 b_blocknr_t blocknr, int already_cleaned) in remove_from_transaction() argument
3423 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in remove_from_transaction()
3475 b_blocknr_t blocknr = cn->blocknr; in can_dirty() local
3485 if (cur->jlist && cur->bh && cur->blocknr && cur->sb == sb && in can_dirty()
3486 cur->blocknr == blocknr) { in can_dirty()
3499 cur->blocknr && cur->sb == sb && cur->blocknr == blocknr) { in can_dirty()
3729 struct super_block *sb, b_blocknr_t blocknr) in journal_mark_freed() argument
3738 cn = get_journal_hash_dev(sb, journal->j_hash_table, blocknr); in journal_mark_freed()
3748 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3759 set_bit_in_list_bitmap(sb, blocknr, jb); in journal_mark_freed()
3767 cleaned = remove_from_transaction(sb, blocknr, cleaned); in journal_mark_freed()
3774 blocknr); in journal_mark_freed()
3776 if (sb == cn->sb && blocknr == cn->blocknr) { in journal_mark_freed()
4143 jl_cn->blocknr = cn->bh->b_blocknr; in do_journal_end()