Home | History | Annotate | Download | only in e2fsck

Lines Matching full:record

22  * + Recovery: during recovery we record the transaction ID of all
39 * latter: journaling a block cancels any revoke record for that block
77 /* Each revoke record represents one single revoked block. During
124 struct jbd_revoke_record_s *record;
129 record = kmem_cache_alloc(revoke_record_cache, GFP_NOFS);
130 if (!record)
133 record->sequence = seq;
134 record->blocknr = blocknr;
136 list_add(&record->hash, hash_list);
152 /* Find a revoke record in the journal's hash table. */
158 struct jbd_revoke_record_s *record;
162 record = (struct jbd_revoke_record_s *) hash_list->next;
163 while (&(record->hash) != hash_list) {
164 if (record->blocknr == blocknr)
165 return record;
166 record = (struct jbd_revoke_record_s *) record->hash.next;
322 * record against a buffer_head which is
377 struct jbd_revoke_record_s *record;
388 * full search for a revoke record. */
397 record = find_revoke_record(journal, bh->b_blocknr);
398 if (record) {
401 list_del(&record->hash);
402 kmem_cache_free(revoke_record_cache, record);
409 record = find_revoke_record(journal, bh->b_blocknr);
410 J_ASSERT_JH(jh, record == NULL);
441 struct jbd_revoke_record_s *record;
455 record = (struct jbd_revoke_record_s *)
459 record);
461 list_del(&record->hash);
462 kmem_cache_free(revoke_record_cache, record);
471 * Write out one revoke record. We need to create a new descriptor
479 struct jbd_revoke_record_s *record)
495 /* Make sure we have a descriptor with space left for the record */
512 /* Record it so that we can wait for IO completion later */
521 htonl(record->blocknr);
562 * record all revoke records, including the tid of the latest instance
566 * (ie. has not been revoked by a revoke record in that or a subsequent
573 * First, setting revoke records. We create a new revoke record for
583 struct jbd_revoke_record_s *record;
585 record = find_revoke_record(journal, blocknr);
586 if (record) {
587 /* If we have multiple occurences, only record the
588 * latest sequence number in the hashed record */
589 if (tid_gt(sequence, record->sequence))
590 record->sequence = sequence;
598 * that block been revoked? A revoke record with a given transaction
607 struct jbd_revoke_record_s *record;
609 record = find_revoke_record(journal, blocknr);
610 if (!record)
612 if (tid_gt(sequence, record->sequence))
626 struct jbd_revoke_record_s *record;
634 record = (struct jbd_revoke_record_s*) hash_list->next;
635 list_del(&record->hash);
636 kmem_cache_free(revoke_record_cache, record);