• Home
  • Raw
  • Download

Lines Matching refs:record

124 	struct jbd_revoke_record_s *record;  in insert_revoke_hash()  local
129 record = kmem_cache_alloc(revoke_record_cache, GFP_NOFS); in insert_revoke_hash()
130 if (!record) in insert_revoke_hash()
133 record->sequence = seq; in insert_revoke_hash()
134 record->blocknr = blocknr; in insert_revoke_hash()
136 list_add(&record->hash, hash_list); in insert_revoke_hash()
158 struct jbd_revoke_record_s *record; in find_revoke_record() local
162 record = (struct jbd_revoke_record_s *) hash_list->next; in find_revoke_record()
163 while (&(record->hash) != hash_list) { in find_revoke_record()
164 if (record->blocknr == blocknr) in find_revoke_record()
165 return record; in find_revoke_record()
166 record = (struct jbd_revoke_record_s *) record->hash.next; in find_revoke_record()
377 struct jbd_revoke_record_s *record; in journal_cancel_revoke() local
397 record = find_revoke_record(journal, bh->b_blocknr); in journal_cancel_revoke()
398 if (record) { in journal_cancel_revoke()
401 list_del(&record->hash); in journal_cancel_revoke()
402 kmem_cache_free(revoke_record_cache, record); in journal_cancel_revoke()
409 record = find_revoke_record(journal, bh->b_blocknr); in journal_cancel_revoke()
410 J_ASSERT_JH(jh, record == NULL); in journal_cancel_revoke()
441 struct jbd_revoke_record_s *record; in journal_write_revoke_records() local
455 record = (struct jbd_revoke_record_s *) in journal_write_revoke_records()
459 record); in journal_write_revoke_records()
461 list_del(&record->hash); in journal_write_revoke_records()
462 kmem_cache_free(revoke_record_cache, record); in journal_write_revoke_records()
479 struct jbd_revoke_record_s *record) in write_one_revoke_record() argument
521 htonl(record->blocknr); in write_one_revoke_record()
583 struct jbd_revoke_record_s *record; in journal_set_revoke() local
585 record = find_revoke_record(journal, blocknr); in journal_set_revoke()
586 if (record) { in journal_set_revoke()
589 if (tid_gt(sequence, record->sequence)) in journal_set_revoke()
590 record->sequence = sequence; in journal_set_revoke()
607 struct jbd_revoke_record_s *record; in journal_test_revoke() local
609 record = find_revoke_record(journal, blocknr); in journal_test_revoke()
610 if (!record) in journal_test_revoke()
612 if (tid_gt(sequence, record->sequence)) in journal_test_revoke()
626 struct jbd_revoke_record_s *record; in journal_clear_revoke() local
634 record = (struct jbd_revoke_record_s*) hash_list->next; in journal_clear_revoke()
635 list_del(&record->hash); in journal_clear_revoke()
636 kmem_cache_free(revoke_record_cache, record); in journal_clear_revoke()