Lines Matching defs:val_cnt
879 uint_t val_cnt = *val_cntp;
882 for (j = 0; j < val_cnt; j++) {
900 uint_t val_cnt, uint_t flags)
923 vdp = calloc(val_cnt, sizeof (val_desc_t));
930 &val_cnt, flags, &vdp, media);
933 &val_cnt, flags, &vdp, media);
941 cnt = val_cnt;
986 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags)
1008 prop_val, val_cnt, flags);
1023 prop_name, prop_val, val_cnt, flags);
1036 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags)
1041 (prop_val == NULL && val_cnt > 0) ||
1042 (prop_val != NULL && val_cnt == 0) ||
1052 val_cnt, flags);
1058 prop_val, val_cnt);
1484 char **prop_val, uint_t *val_cnt, datalink_media_t media,
1499 *val_cnt = 1;
1584 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
1590 if (val_cnt != 1)
1604 if ((status = set_public_prop(handle, pdp, linkid, vdp, val_cnt,
1632 uint_t val_cnt = *val_cntp;
1635 if (val_cnt != 1)
1678 char **prop_val, uint_t *val_cnt, datalink_media_t media,
1690 *val_cnt = 0;
1695 *val_cnt = 1;
1707 uint_t val_cnt = *val_cntp;
1710 if (val_cnt != 1)
1751 char **prop_val, uint_t *val_cnt, datalink_media_t media,
1771 if (mrp.mrp_ncpus > *val_cnt)
1775 *val_cnt = 0;
1792 *val_cnt = pv_range->mpr_count;
1813 uint_t val_cnt = *val_cntp;
1827 status = dladm_strs2range(prop_val, val_cnt, MAC_PROPVAL_UINT32,
1844 if (val_cnt < ncpus) {
1885 if (val_cnt < ncpus) {
1932 char **prop_val, uint_t *val_cnt, datalink_media_t media,
1956 *val_cnt = 1;
2046 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2062 *val_cnt = 1;
2113 uint_t val_cnt = *val_cntp;
2116 if (val_cnt != 1)
2133 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2153 *val_cnt = 1;
2188 char **prop_val, uint_t *val_cnt, datalink_media_t media,
2219 *val_cnt = 0;
2223 *val_cnt = 1;
2254 char **prop_val, uint_t *val_cnt, datalink_media_t media,
2289 *val_cnt = 0;
2293 *val_cnt = 1;
2324 char **prop_val, uint_t *val_cnt, datalink_media_t media, uint_t flags,
2330 return (get_uint32(handle, pdp, linkid, prop_val, val_cnt, media,
2337 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt,
2358 status = rp->rp_extract(vdp, val_cnt, &mrp);
2376 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2391 *val_cnt = 0;
2395 if (cnt > *val_cnt)
2401 *val_cnt = cnt;
2408 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2423 *val_cnt = 0;
2426 if (p->mp_ipaddrcnt > *val_cnt)
2444 *val_cnt = p->mp_ipaddrcnt;
2590 uint_t val_cnt = *val_cntp;
2593 if (val_cnt > MPT_MAXIPADDR)
2596 for (i = 0; i < val_cnt; i++) {
2610 for (i = 0; i < val_cnt; i++) {
2869 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2884 *val_cnt = 0;
2887 if (p->mp_cidcnt > *val_cnt)
2895 *val_cnt = p->mp_cidcnt;
2928 uint_t val_cnt = *val_cntp;
2931 if (val_cnt > MPT_MAXCID)
2934 for (i = 0; i < val_cnt; i++) {
2948 for (i = 0; i < val_cnt; i++) {
2958 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
2970 if (sa.ms_addrcnt > *val_cnt)
2977 *val_cnt = i;
2981 *val_cnt = sa.ms_addrcnt;
2995 uint_t val_cnt = *val_cntp;
2998 if (val_cnt >= MPT_MAXMACADDR)
3001 for (i = 0; i < val_cnt; i++) {
3016 for (i = 0; i < val_cnt; i++) {
3026 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
3039 val_cnt = (uint_t)-1;
3041 for (i = 0; i < val_cnt; i++) {
3046 msa.ms_addrcnt = val_cnt;
3058 char **prop_val, uint_t *val_cnt, datalink_media_t media,
3074 *val_cnt = 0;
3093 *val_cnt = 1;
3145 uint_t val_cnt = *val_cntp;
3148 if (val_cnt != 1)
3179 datalink_id_t linkid, char **prop_val, uint_t *val_cnt, uint_t id,
3195 if (wrp->wl_rates_num > *val_cnt) {
3202 *val_cnt = 1;
3211 *val_cnt = wrp->wl_rates_num;
3221 char **prop_val, uint_t *val_cnt, datalink_media_t media,
3226 val_cnt, media, flags, perm_flags));
3229 return (get_rate_common(handle, pdp, linkid, prop_val, val_cnt,
3236 char **prop_val, uint_t *val_cnt, datalink_media_t media,
3249 val_cnt, MAC_PROP_WL_SUPPORTED_RATES, perm_flags));
3285 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
3296 if (val_cnt != 1)
3318 uint_t val_cnt = *val_cntp;
3321 if (val_cnt != 1)
3368 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3385 *val_cnt = 1;
3393 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3420 *val_cnt = 1;
3428 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
3434 if (val_cnt != 1)
3459 char **prop_val, uint_t *val_cnt, datalink_media_t media,
3483 *val_cnt = 1;
3491 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
3496 if (val_cnt != 1)
3521 uint_t val_cnt = *val_cntp;
3524 if (val_cnt != 1)
3544 uint_t val_cnt = *val_cntp;
3550 if (val_cnt != 1)
3564 const char *prop_name, char **prop_val, uint_t val_cnt)
3578 if (val_cnt == 0) {
3586 for (i = 0; i < val_cnt; i++) {
3588 if (i != val_cnt - 1)
3747 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
3843 uint_t val_cnt = *val_cntp;
3846 if (val_cnt != 1)
3855 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3876 *val_cnt = 1;
3883 char **prop_val, uint_t *val_cnt, datalink_media_t media, uint_t flags,
3900 *val_cnt = 1;
3908 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3929 *val_cnt = 1;
3937 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3949 *val_cnt = 1;
3956 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
3968 *val_cnt = 1;
3975 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4018 *val_cnt = 1;
4039 *val_cnt = count;
4054 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4075 *val_cnt = 1;
4082 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4107 *val_cnt = 1;
4115 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags)
4126 (prop_val != NULL && val_cnt == 0))
4139 for (i = 0; i < val_cnt; i++) {
4162 for (i = 0; i < val_cnt; i++) {
4171 if (i != (val_cnt -1))
4185 const char *prop_name, char **prop_val, uint_t *val_cnt,
4193 (prop_val != NULL && val_cnt == 0))
4218 *val_cnt = 1;
4281 char **prop_val, uint_t *val_cnt, datalink_media_t media, uint_t flags,
4291 *val_cnt = 1;
4299 prop_val, val_cnt) != DLADM_STATUS_OK)
4327 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
4351 uint_t val_cnt = *val_cntp;
4354 if (val_cnt != 1)
4410 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4419 *val_cnt = 1;
4423 prop_val, val_cnt) != DLADM_STATUS_OK)
4438 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
4447 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4457 *val_cnt = 1;
4476 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
4504 uint_t val_cnt = *val_cntp;
4507 if (val_cnt != 1)
4817 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4842 *val_cnt = 1;
4849 datalink_id_t linkid, char **prop_val, uint_t *val_cnt,
4867 *val_cnt = 1;
4874 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,