Lines Matching refs:descriptor
503 struct journal_head *descriptor;
509 descriptor = NULL;
524 &descriptor, &offset,
531 if (descriptor)
532 flush_descriptor(journal, descriptor, offset);
537 * Write out one revoke record. We need to create a new descriptor
547 struct journal_head *descriptor;
558 descriptor = *descriptorp;
561 /* Make sure we have a descriptor with space left for the record */
562 if (descriptor) {
564 flush_descriptor(journal, descriptor, offset);
565 descriptor = NULL;
569 if (!descriptor) {
570 descriptor = journal_get_descriptor_buffer(journal);
571 if (!descriptor)
573 header = (journal_header_t *) &jh2bh(descriptor)->b_data[0];
579 JBUFFER_TRACE(descriptor, "file as BJ_LogCtl");
580 journal_file_buffer(descriptor, transaction, BJ_LogCtl);
583 *descriptorp = descriptor;
586 * ((__be32 *)(&jh2bh(descriptor)->b_data[offset])) =
593 * Flush a revoke descriptor out to the journal. If we are aborting,
600 struct journal_head *descriptor,
604 struct buffer_head *bh = jh2bh(descriptor);
611 header = (journal_revoke_header_t *) jh2bh(descriptor)->b_data;