Searched refs:npairs (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_hc_opl.c | 78 const nvlist_t *auth, nvlist_t *snvl, int npairs, ...) in cmd_fmri_hc_set() argument 88 npairs = MIN(npairs, HC_MAXPAIRS); in cmd_fmri_hc_set() 90 va_start(ap, npairs); in cmd_fmri_hc_set() 91 for (i = 0; i < npairs; i++) { in cmd_fmri_hc_set() 109 err |= nvlist_add_uint32(fmri, FM_FMRI_HC_LIST_SZ, npairs); in cmd_fmri_hc_set() 110 err |= nvlist_add_nvlist_array(fmri, FM_FMRI_HC_LIST, pairs, npairs); in cmd_fmri_hc_set()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | fm.c | 897 nvlist_t *snvl, int npairs, ...) in fm_fmri_hc_set() argument 907 npairs = MIN(npairs, HC_MAXPAIRS); in fm_fmri_hc_set() 909 va_start(ap, npairs); in fm_fmri_hc_set() 910 for (i = 0; i < npairs; i++) { in fm_fmri_hc_set() 926 if (nvlist_add_nvlist_array(fmri, FM_FMRI_HC_LIST, pairs, npairs) != 0) in fm_fmri_hc_set() 929 for (i = 0; i < npairs; i++) in fm_fmri_hc_set() 1288 nvlist_t *snvl, nvlist_t *bboard, int npairs, ...) in fm_fmri_hc_create() argument 1340 npairs = MIN(npairs, HC_MAXPAIRS); in fm_fmri_hc_create() 1342 va_start(ap, npairs); in fm_fmri_hc_create() 1343 for (i = n; i < npairs + n; i++) { in fm_fmri_hc_create() [all …]
|
/titanic_50/usr/src/lib/fm/topo/libtopo/common/ |
H A D | hc.c | 690 int npairs = 0; in make_hc_pairs() local 710 npairs++; in make_hc_pairs() 722 if (nslashes < npairs || npairs == 0) { in make_hc_pairs() 727 *num = npairs; in make_hc_pairs() 731 if ((pa = topo_mod_zalloc(mod, npairs * sizeof (nvlist_t *))) == NULL) { in make_hc_pairs() 745 for (i = 0; i < npairs; i++) { in make_hc_pairs() 790 if (i < npairs) { in make_hc_pairs() 791 for (i = 0; i < npairs; i++) in make_hc_pairs() 793 topo_mod_free(mod, pa, npairs * sizeof (nvlist_t *)); in make_hc_pairs() 961 int npairs, n; in hc_fmri_str2nvl() local [all …]
|