Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/reiserfs/
Djournal.c309 static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) { in allocate_cnodes() argument
312 if (num_cnodes <= 0) { in allocate_cnodes()
315 head = vmalloc(num_cnodes * sizeof(struct reiserfs_journal_cnode)) ; in allocate_cnodes()
319 memset(head, 0, num_cnodes * sizeof(struct reiserfs_journal_cnode)) ; in allocate_cnodes()
322 for (i = 1 ; i < num_cnodes; i++) { in allocate_cnodes()
326 head[num_cnodes -1].next = NULL ; in allocate_cnodes()
2042 int num_cnodes = SB_ONDISK_JOURNAL_SIZE(p_s_sb) * 2 ; in journal_init() local
2198 SB_JOURNAL(p_s_sb)->j_cnode_free_list = allocate_cnodes(num_cnodes) ; in journal_init()
2201 num_cnodes : 0 ; in journal_init()