Searched refs:num_cnodes (Results 1 – 7 of 7) sorted by relevance
101 int num_cnodes; variable523 for (cnode = num_online_nodes(); cnode < num_cnodes; cnode++) in sn_init_pdas()530 for (cnode = 0; cnode < num_cnodes; cnode++) in sn_init_pdas()547 for (cnode = 0; cnode < num_cnodes; cnode++) { in sn_init_pdas()724 num_cnodes = num_online_nodes(); in build_cnode_tables()739 sn_cnodeid_to_nasid[num_cnodes] = brd->brd_nasid; in build_cnode_tables()740 physical_node_map[brd->brd_nasid] = num_cnodes++; in build_cnode_tables()
99 for (i = 0; i < num_cnodes; i++) { in sn_fixup_ionodes()
502 for (cnodeid = 0; cnodeid < num_cnodes; cnodeid++) { in tiocx_init()
394 if (alloc_chrdev_region(&first_dev, 0, num_cnodes, in scdrv_init()401 for (cnode = 0; cnode < num_cnodes; cnode++) { in scdrv_init()
17 extern int num_cnodes;
346 static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) in allocate_cnodes() argument350 if (num_cnodes <= 0) { in allocate_cnodes()353 head = vzalloc(array_size(num_cnodes, in allocate_cnodes()360 for (i = 1; i < num_cnodes; i++) { in allocate_cnodes()364 head[num_cnodes - 1].next = NULL; in allocate_cnodes()2724 int num_cnodes = SB_ONDISK_JOURNAL_SIZE(sb) * 2; in journal_init() local2861 journal->j_cnode_free_list = allocate_cnodes(num_cnodes); in journal_init()2863 journal->j_cnode_free = journal->j_cnode_free_list ? num_cnodes : 0; in journal_init()2872 sizeof (struct reiserfs_journal_cnode) * num_cnodes); in journal_init()
55 #define cnode_possible(n) ((n) < num_cnodes)121 for (cnode = 0; cnode < num_cnodes; cnode++) { in sn_hwperf_geoid_to_cnode()