Searched refs:num_cnodes (Results 1 – 2 of 2) sorted by relevance
29 static int num_cnodes; variable55 if (ordinal < num_cnodes && ordinal >= 0) in ordinal_to_nasid()95 for (cnode = 0; cnode < num_cnodes; cnode++) { in cache_obj_to_cnode()852 num_cnodes = uv_num_possible_blades(); in uv_sysfs_init()
344 static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) in allocate_cnodes() argument348 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() local2865 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()