Searched refs:nodecnt (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libnsctl/common/
H A Dmachdep.c248 int nodecnt; local
253 nodecnt = nsc_getcurrentnodes(&nodes);
254 if (nodecnt < 0) {
257 for (slot = 0; slot < nodecnt; slot++) {
263 if (slot >= nodecnt) {
284 int nodecnt; local
291 nodecnt = nsc_getcurrentnodes(&nodes);
292 if (nodecnt < 0) {
295 for (slot = 0; slot < nodecnt; slot++) {
307 if (slot >= nodecnt) {
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_subr.c367 int *nodecnt,
389 *nodecnt = 1;
423 *nodecnt = 0;
453 *nodecnt = 0;
477 *nodecnt = 0;
492 ++*nodecnt;
513 int nodecnt,
534 for (i = 0; i < nodecnt; i++) {
861 int nodecnt; local
876 if (meta_read_nodelist(&nodecnt,
366 meta_read_nodelist( int *nodecnt, mndiskset_membershiplist_t **nl, md_error_t *ep ) argument
512 meta_write_nodelist( int nodecnt, char **nids, md_error_t *ep ) argument
[all...]
H A Dmeta_mn_handlers.c371 int nodecnt; local
408 nodecnt = 0;
412 nodecnt++;
415 nodeno = (d->msg_chooseid_rcnt%nodecnt);
428 nodecnt = 0;
432 if (nodecnt == nodeno)
434 nodecnt++;
H A Dmeta_metad_subr.c885 int nodecnt; local
903 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
904 nodecnt = 0; /* no nodes are alive */
1153 if (nodecnt)
1166 if (nodecnt)
H A Dmeta_name.c749 int nodecnt, nrcnt; local
771 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
772 nodecnt = 0; /* no nodes are alive */
832 if (nodecnt)
H A Dmeta_set_hst.c283 int nodecnt; local
308 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
2088 int nodecnt; local
2101 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
2365 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
H A Dmeta_set.c4256 int nodecnt; local
4274 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
4413 if (nodecnt)
/illumos-gate/usr/src/uts/common/avs/ncall/
H A Dncall.c709 int nodecnt; local
716 nodecnt = ncall_maxnodes();
717 if (nodecnt <= 0) {
728 *rvalp = nodecnt;
731 nodelist = kmem_zalloc(sizeof (*nodelist) * nodecnt, KM_SLEEP);
745 ASSERT(slot < nodecnt);
766 kmem_free(nodelist, sizeof (*nodelist) * nodecnt);
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c1037 int nodecnt; local
1053 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
1301 int nodecnt; local
1312 if (meta_read_nodelist(&nodecnt, &nl, ep) == -1) {
/illumos-gate/usr/src/head/
H A Dmeta.h1952 extern int meta_read_nodelist(int *nodecnt,
1954 extern int meta_write_nodelist(int nodecnt, char **nids,

Completed in 140 milliseconds