• Home
  • Raw
  • Download

Lines Matching refs:desc

1983 				       struct reiserfs_journal_desc *desc,  in journal_compare_desc_commit()  argument
1986 if (get_commit_trans_id(commit) != get_desc_trans_id(desc) || in journal_compare_desc_commit()
1987 get_commit_trans_len(commit) != get_desc_trans_len(desc) || in journal_compare_desc_commit()
2006 struct reiserfs_journal_desc *desc; in journal_transaction_is_valid() local
2014 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_transaction_is_valid()
2015 if (get_desc_trans_len(desc) > 0 in journal_transaction_is_valid()
2018 && get_desc_trans_id(desc) > *oldest_invalid_trans_id) { in journal_transaction_is_valid()
2023 get_desc_trans_id(desc), in journal_transaction_is_valid()
2028 && *newest_mount_id > get_desc_mount_id(desc)) { in journal_transaction_is_valid()
2033 get_desc_mount_id(desc), in journal_transaction_is_valid()
2037 if (get_desc_trans_len(desc) > SB_JOURNAL(sb)->j_trans_max) { in journal_transaction_is_valid()
2041 get_desc_trans_len(desc)); in journal_transaction_is_valid()
2053 ((offset + get_desc_trans_len(desc) + in journal_transaction_is_valid()
2058 if (journal_compare_desc_commit(sb, desc, commit)) { in journal_transaction_is_valid()
2069 get_desc_trans_id(desc); in journal_transaction_is_valid()
2074 get_desc_trans_id(desc)); in journal_transaction_is_valid()
2084 get_desc_trans_len(desc), in journal_transaction_is_valid()
2085 get_desc_trans_id(desc)); in journal_transaction_is_valid()
2113 struct reiserfs_journal_desc *desc; in journal_read_transaction() local
2127 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read_transaction()
2132 get_desc_trans_len(desc), get_desc_mount_id(desc)); in journal_read_transaction()
2133 if (get_desc_trans_id(desc) < oldest_trans_id) { in journal_read_transaction()
2141 if (get_desc_mount_id(desc) != newest_mount_id) { in journal_read_transaction()
2144 "newest_mount_id %lu", get_desc_mount_id(desc), in journal_read_transaction()
2150 ((trans_offset + get_desc_trans_len(desc) + 1) % in journal_read_transaction()
2157 if (journal_compare_desc_commit(sb, desc, commit)) { in journal_read_transaction()
2178 trans_id = get_desc_trans_id(desc); in journal_read_transaction()
2183 log_blocks = kmalloc_array(get_desc_trans_len(desc), in journal_read_transaction()
2186 real_blocks = kmalloc_array(get_desc_trans_len(desc), in journal_read_transaction()
2200 for (i = 0; i < get_desc_trans_len(desc); i++) { in journal_read_transaction()
2209 le32_to_cpu(desc->j_realblock[i])); in journal_read_transaction()
2240 ll_rw_block(REQ_OP_READ, 0, get_desc_trans_len(desc), log_blocks); in journal_read_transaction()
2241 for (i = 0; i < get_desc_trans_len(desc); i++) { in journal_read_transaction()
2249 get_desc_trans_len(desc) - i); in journal_read_transaction()
2250 brelse_array(real_blocks, get_desc_trans_len(desc)); in journal_read_transaction()
2263 for (i = 0; i < get_desc_trans_len(desc); i++) { in journal_read_transaction()
2267 for (i = 0; i < get_desc_trans_len(desc); i++) { in journal_read_transaction()
2274 get_desc_trans_len(desc) - i); in journal_read_transaction()
2285 ((trans_offset + get_desc_trans_len(desc) + in journal_read_transaction()
2370 struct reiserfs_journal_desc *desc; in journal_read() local
2456 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read()
2458 oldest_trans_id = get_desc_trans_id(desc); in journal_read()
2460 newest_mount_id = get_desc_mount_id(desc); in journal_read()
2467 } else if (oldest_trans_id > get_desc_trans_id(desc)) { in journal_read()
2469 oldest_trans_id = get_desc_trans_id(desc); in journal_read()
2478 if (newest_mount_id < get_desc_mount_id(desc)) { in journal_read()
2479 newest_mount_id = get_desc_mount_id(desc); in journal_read()
2483 get_desc_mount_id(desc)); in journal_read()
2485 cur_dblock += get_desc_trans_len(desc) + 2; in journal_read()
3989 struct reiserfs_journal_desc *desc; in do_journal_end() local
4080 desc = (struct reiserfs_journal_desc *)(d_bh)->b_data; in do_journal_end()
4083 set_desc_trans_id(desc, journal->j_trans_id); in do_journal_end()
4161 desc->j_realblock[i] = in do_journal_end()
4171 set_desc_trans_len(desc, journal->j_len); in do_journal_end()
4172 set_desc_mount_id(desc, journal->j_mount_id); in do_journal_end()
4173 set_desc_trans_id(desc, journal->j_trans_id); in do_journal_end()