Lines Matching refs:vd_val

222 #define	PD_CHECK_ALLOC	0x2	/* alloc vd_val as part of pd_check */
977 free((void *)((val_desc_t *)vdp + i)->vd_val);
1332 *ret_val = pdp->pd_defval.vd_val;
1365 ret_val[valc] = vdp[valc].vd_val;
1374 pdp->pd_optval[i].vd_val;
1593 dzp = (dld_ioc_zid_t *)vdp->vd_val;
1668 vdp->vd_val = (uintptr_t)dzp;
1728 vdp->vd_val = (uintptr_t)maxbw;
1738 if (vdp->vd_val == RESET_VAL) {
1741 bcopy((char *)vdp->vd_val, &mrp->mrp_maxbw, sizeof (uint64_t));
1871 vdp[i].vd_val = (uintptr_t)cpus[i];
1877 if (i != j && vdp[i].vd_val == vdp[j].vd_val) {
1908 if (vdp[0].vd_val == RESET_VAL) {
1915 mrp->mrp_cpu[i] = (uint32_t)vdp[i].vd_val;
2013 vdp->vd_val = (uintptr_t)poolname;
2024 if (vdp->vd_val == RESET_VAL) {
2030 (void) strlcpy(mrp->mrp_pool, (char *)vdp->vd_val,
2075 mrp->mrp_priority = (mac_priority_level_t)vdp->vd_val;
2119 v->vd_val = UNSPEC_VAL;
2121 v->vd_val = 0;
2123 v->vd_val = strtoul(prop_val[0], NULL, 0);
2124 if (v->vd_val == 0)
2240 if (vdp->vd_val == RESET_VAL)
2242 else if (vdp->vd_val == UNSPEC_VAL)
2245 mrp->mrp_nrxrings = vdp->vd_val;
2310 if (vdp->vd_val == RESET_VAL)
2312 else if (vdp->vd_val == UNSPEC_VAL)
2315 mrp->mrp_ntxrings = vdp->vd_val;
2456 types |= (uint32_t)vdp[i].vd_val;
2470 if (vdp->vd_val == 0) {
2474 bcopy((void *)vdp[i].vd_val, &p->mp_ipaddrs[i],
2601 vdp[i].vd_val = (uintptr_t)addr;
2611 free((void *)vdp[i].vd_val);
2612 vdp[i].vd_val = NULL;
2906 if (vdp->vd_val == 0) {
2910 bcopy((void *)vdp[i].vd_val, &p->mp_cids[i],
2939 vdp[i].vd_val = (uintptr_t)cid;
2949 free((void *)vdp[i].vd_val);
2950 vdp[i].vd_val = NULL;
3011 vdp[i].vd_val = (uintptr_t)addr;
3017 free((void *)vdp[i].vd_val);
3018 vdp[i].vd_val = NULL;
3038 if (vdp->vd_val == 0) {
3042 bcopy((void *)vdp[i].vd_val, msa.ms_addrs[i],
3167 vdp->vd_val = (uintptr_t)dlap;
3169 vdp->vd_val = 0;
3300 rates.wr_rates[0] = vdp[0].vd_val;
3344 vdp->vd_val = (uintptr_t)(uint_t)
3431 dladm_wlan_powermode_t powermode = vdp->vd_val;
3493 dladm_wlan_radio_t radio = vdp->vd_val;
3532 vdp->vd_val = hlim;
3558 vdp->vd_val = elim;
3762 val = (void *)vdp->vd_val;
3770 u8 = vdp->vd_val;
3774 u16 = vdp->vd_val;
3778 u32 = vdp->vd_val;
3782 val = &vdp->vd_val;
3848 v->vd_val = strtoul(prop_val[0], NULL, 0);
4257 * are zone and autopush, which populate vdp->vd_val). So
4308 if (val == pd->pd_defval.vd_val && pd->pd_defval.vd_name[0] != '\0') {
4314 if (val == pd->pd_optval[i].vd_val) {
4358 vdp->vd_val = 0;
4365 vdp->vd_val = 0;
4368 vdp->vd_val = strtoul(prop_val[0], &cp, 0);
4375 return (vdp->vd_val > 65535 ? DLADM_STATUS_BADVAL :
4378 if (vdp->vd_val > 255)
4390 vdp->vd_val != 0) {
4486 pvid = vdp->vd_val;
4511 vdp->vd_val = 1;
4514 vdp->vd_val = strtoul(prop_val[0], &cp, 0);
4519 return (vdp->vd_val > VLAN_ID_MAX ? DLADM_STATUS_BADVAL :
4886 (void) memcpy(dip->pr_val, &vdp->vd_val, dip->pr_valsize);