Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/platform/x86/
Duv_sysfs.c29 static int num_cnodes; variable
55 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()
/linux-6.6.21/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()
2721 int num_cnodes = SB_ONDISK_JOURNAL_SIZE(sb) * 2; in journal_init() local
2872 journal->j_cnode_free_list = allocate_cnodes(num_cnodes); in journal_init()
2874 journal->j_cnode_free = journal->j_cnode_free_list ? num_cnodes : 0; in journal_init()
2883 sizeof (struct reiserfs_journal_cnode) * num_cnodes); in journal_init()