Home
last modified time | relevance | path

Searched refs:num_cnodes (Results 1 – 1 of 1) sorted by relevance

/fs/reiserfs/
Djournal.c344 static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) in allocate_cnodes() argument
348 if (num_cnodes <= 0) { in allocate_cnodes()
351 head = vzalloc(array_size(num_cnodes, in allocate_cnodes()
358 for (i = 1; i < num_cnodes; i++) { in allocate_cnodes()
362 head[num_cnodes - 1].next = NULL; in allocate_cnodes()
2714 int num_cnodes = SB_ONDISK_JOURNAL_SIZE(sb) * 2; in journal_init() local
2865 journal->j_cnode_free_list = allocate_cnodes(num_cnodes); in journal_init()
2867 journal->j_cnode_free = journal->j_cnode_free_list ? num_cnodes : 0; in journal_init()
2876 sizeof (struct reiserfs_journal_cnode) * num_cnodes); in journal_init()