Lines Matching refs:descriptor
504 struct journal_head *descriptor;
510 descriptor = NULL;
525 &descriptor, &offset,
532 if (descriptor)
533 flush_descriptor(journal, descriptor, offset);
538 * Write out one revoke record. We need to create a new descriptor
548 struct journal_head *descriptor;
559 descriptor = *descriptorp;
562 /* Make sure we have a descriptor with space left for the record */
563 if (descriptor) {
565 flush_descriptor(journal, descriptor, offset);
566 descriptor = NULL;
570 if (!descriptor) {
571 descriptor = jbd2_journal_get_descriptor_buffer(journal);
572 if (!descriptor)
574 header = (journal_header_t *) &jh2bh(descriptor)->b_data[0];
580 JBUFFER_TRACE(descriptor, "file as BJ_LogCtl");
581 jbd2_journal_file_buffer(descriptor, transaction, BJ_LogCtl);
584 *descriptorp = descriptor;
588 * ((__be64 *)(&jh2bh(descriptor)->b_data[offset])) =
593 * ((__be32 *)(&jh2bh(descriptor)->b_data[offset])) =
602 * Flush a revoke descriptor out to the journal. If we are aborting,
609 struct journal_head *descriptor,
613 struct buffer_head *bh = jh2bh(descriptor);
620 header = (jbd2_journal_revoke_header_t *) jh2bh(descriptor)->b_data;