Searched refs:journal_head_cache (Results 1 – 1 of 1) sorted by relevance
1714 static struct kmem_cache *journal_head_cache; variable1723 J_ASSERT(journal_head_cache == NULL); in journal_init_journal_head_cache()1724 journal_head_cache = kmem_cache_create("journal_head", in journal_init_journal_head_cache()1730 if (!journal_head_cache) { in journal_init_journal_head_cache()1739 if (journal_head_cache) { in journal_destroy_journal_head_cache()1740 kmem_cache_destroy(journal_head_cache); in journal_destroy_journal_head_cache()1741 journal_head_cache = NULL; in journal_destroy_journal_head_cache()1755 ret = kmem_cache_alloc(journal_head_cache, GFP_NOFS); in journal_alloc_journal_head()1763 ret = kmem_cache_alloc(journal_head_cache, GFP_NOFS); in journal_alloc_journal_head()1775 kmem_cache_free(journal_head_cache, jh); in journal_free_journal_head()