Lines Matching refs:descriptor
520 struct buffer_head *descriptor; in jbd2_journal_write_revoke_records() local
526 descriptor = NULL; in jbd2_journal_write_revoke_records()
541 &descriptor, &offset, record); in jbd2_journal_write_revoke_records()
547 if (descriptor) in jbd2_journal_write_revoke_records()
548 flush_descriptor(journal, descriptor, offset); in jbd2_journal_write_revoke_records()
565 struct buffer_head *descriptor; in write_one_revoke_record() local
575 descriptor = *descriptorp; in write_one_revoke_record()
588 if (descriptor) { in write_one_revoke_record()
590 flush_descriptor(journal, descriptor, offset); in write_one_revoke_record()
591 descriptor = NULL; in write_one_revoke_record()
595 if (!descriptor) { in write_one_revoke_record()
596 descriptor = jbd2_journal_get_descriptor_buffer(transaction, in write_one_revoke_record()
598 if (!descriptor) in write_one_revoke_record()
602 BUFFER_TRACE(descriptor, "file in log_bufs"); in write_one_revoke_record()
603 jbd2_file_log_bh(log_bufs, descriptor); in write_one_revoke_record()
606 *descriptorp = descriptor; in write_one_revoke_record()
610 * ((__be64 *)(&descriptor->b_data[offset])) = in write_one_revoke_record()
613 * ((__be32 *)(&descriptor->b_data[offset])) = in write_one_revoke_record()
628 struct buffer_head *descriptor, in flush_descriptor() argument
634 put_bh(descriptor); in flush_descriptor()
638 header = (jbd2_journal_revoke_header_t *)descriptor->b_data; in flush_descriptor()
640 jbd2_descriptor_block_csum_set(journal, descriptor); in flush_descriptor()
642 set_buffer_jwrite(descriptor); in flush_descriptor()
643 BUFFER_TRACE(descriptor, "write"); in flush_descriptor()
644 set_buffer_dirty(descriptor); in flush_descriptor()
645 write_dirty_buffer(descriptor, REQ_SYNC); in flush_descriptor()