Searched refs:nodecnt (Results 1 – 2 of 2) sorted by relevance
248 int nodecnt; in nsc_name_to_id() local253 nodecnt = nsc_getcurrentnodes(&nodes); in nsc_name_to_id()254 if (nodecnt < 0) { in nsc_name_to_id()257 for (slot = 0; slot < nodecnt; slot++) { in nsc_name_to_id()263 if (slot >= nodecnt) { in nsc_name_to_id()284 int nodecnt; in nsc_id_to_name() local291 nodecnt = nsc_getcurrentnodes(&nodes); in nsc_id_to_name()292 if (nodecnt < 0) { in nsc_id_to_name()295 for (slot = 0; slot < nodecnt; slot++) { in nsc_id_to_name()307 if (slot >= nodecnt) { in nsc_id_to_name()
709 int nodecnt; in ncallgetnodes() local716 nodecnt = ncall_maxnodes(); in ncallgetnodes()717 if (nodecnt <= 0) { in ncallgetnodes()728 *rvalp = nodecnt; in ncallgetnodes()731 nodelist = kmem_zalloc(sizeof (*nodelist) * nodecnt, KM_SLEEP); in ncallgetnodes()745 ASSERT(slot < nodecnt); in ncallgetnodes()766 kmem_free(nodelist, sizeof (*nodelist) * nodecnt); in ncallgetnodes()