Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libnsctl/common/
H A Dmachdep.c248 int nodecnt; in nsc_name_to_id() local
253 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() local
291 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()
/titanic_50/usr/src/uts/common/avs/ncall/
H A Dncall.c709 int nodecnt; in ncallgetnodes() local
716 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()