Lines Matching refs:descriptor
528 struct buffer_head *descriptor; in jbd2_journal_write_revoke_records() local
534 descriptor = NULL; in jbd2_journal_write_revoke_records()
549 &descriptor, &offset, record); in jbd2_journal_write_revoke_records()
555 if (descriptor) in jbd2_journal_write_revoke_records()
556 flush_descriptor(journal, descriptor, offset); in jbd2_journal_write_revoke_records()
573 struct buffer_head *descriptor; in write_one_revoke_record() local
583 descriptor = *descriptorp; in write_one_revoke_record()
596 if (descriptor) { in write_one_revoke_record()
598 flush_descriptor(journal, descriptor, offset); in write_one_revoke_record()
599 descriptor = NULL; in write_one_revoke_record()
603 if (!descriptor) { in write_one_revoke_record()
604 descriptor = jbd2_journal_get_descriptor_buffer(transaction, in write_one_revoke_record()
606 if (!descriptor) in write_one_revoke_record()
610 BUFFER_TRACE(descriptor, "file in log_bufs"); in write_one_revoke_record()
611 jbd2_file_log_bh(log_bufs, descriptor); in write_one_revoke_record()
614 *descriptorp = descriptor; in write_one_revoke_record()
618 * ((__be64 *)(&descriptor->b_data[offset])) = in write_one_revoke_record()
621 * ((__be32 *)(&descriptor->b_data[offset])) = in write_one_revoke_record()
636 struct buffer_head *descriptor, in flush_descriptor() argument
644 header = (jbd2_journal_revoke_header_t *)descriptor->b_data; in flush_descriptor()
646 jbd2_descriptor_block_csum_set(journal, descriptor); in flush_descriptor()
648 set_buffer_jwrite(descriptor); in flush_descriptor()
649 BUFFER_TRACE(descriptor, "write"); in flush_descriptor()
650 set_buffer_dirty(descriptor); in flush_descriptor()
651 write_dirty_buffer(descriptor, REQ_SYNC); in flush_descriptor()