Lines Matching refs:vd_val

234 #define	PD_CHECK_ALLOC	0x2	/* alloc vd_val as part of pd_check */
1089 vdp->vd_val = RESET_VAL;
1107 free((void *)((val_desc_t *)vdp + i)->vd_val);
1523 *ret_val = pdp->pd_defval.vd_val;
1556 ret_val[valc] = vdp[valc].vd_val;
1565 pdp->pd_optval[i].vd_val;
1822 dzp = (dld_ioc_zid_t *)vdp->vd_val;
1913 vdp->vd_val = (uintptr_t)dzp;
1950 if (vdp->vd_val != RESET_VAL)
1951 bcopy((char *)vdp->vd_val, &mrp->mrp_cos, sizeof (uint8_t));
1983 vdp->vd_val = (uintptr_t)cos;
2040 vdp->vd_val = (uintptr_t)maxbw;
2050 if (vdp->vd_val == RESET_VAL) {
2053 bcopy((char *)vdp->vd_val, &mrp->mrp_maxbw, sizeof (uint64_t));
2089 vdp->vd_val = (uintptr_t)pfcmap;
2281 vdp->vd_val = (uintptr_t)etsbw;
2291 if (vdp->vd_val == RESET_VAL) {
2294 bcopy((char *)vdp->vd_val, &mrp->mrp_etsbw,
2308 if (vdp->vd_val == RESET_VAL)
2311 mrp->mrp_pfcmap = (uint32_t)(uintptr_t)(vdp->vd_val);
2444 vdp[i].vd_val = (uintptr_t)cpus[i];
2450 if (vdp[i].vd_val == vdp[j].vd_val) {
2481 if (vdp[0].vd_val == RESET_VAL) {
2488 mrp->mrp_cpu[i] = (uint32_t)vdp[i].vd_val;
2544 v->vd_val = strtoul(prop_val[0], NULL, 0);
2545 if (v->vd_val == 0)
2558 if (vdp->vd_val == RESET_VAL)
2561 mrp->mrp_rxfanout = vdp->vd_val;
2656 vdp->vd_val = (uintptr_t)poolname;
2667 if (vdp->vd_val == RESET_VAL) {
2673 (void) strlcpy(mrp->mrp_pool, (char *)vdp->vd_val,
2712 mrp->mrp_priority = (mac_priority_level_t)vdp->vd_val;
2756 v->vd_val = UNSPEC_VAL;
2758 v->vd_val = 0;
2760 v->vd_val = strtoul(prop_val[0], NULL, 0);
2761 if (v->vd_val == 0)
2877 if (vdp->vd_val == RESET_VAL)
2879 else if (vdp->vd_val == UNSPEC_VAL)
2882 mrp->mrp_nrxrings = vdp->vd_val;
2947 if (vdp->vd_val == RESET_VAL)
2949 else if (vdp->vd_val == UNSPEC_VAL)
2952 mrp->mrp_ntxrings = vdp->vd_val;
3050 if (val == pd->pd_optval[i].vd_val) {
3151 vdp->vd_val = (uintptr_t)mac_addr;
3153 vdp->vd_val = 0;
3289 types |= (uint32_t)vdp[i].vd_val;
3303 if (vdp->vd_val == 0) {
3307 bcopy((void *)vdp[i].vd_val, &p->mp_ipaddrs[i],
3369 vdp[i].vd_val = (uintptr_t)addr;
3379 free((void *)vdp[i].vd_val);
3380 vdp[i].vd_val = NULL;
3674 if (vdp->vd_val == 0) {
3678 bcopy((void *)vdp[i].vd_val, &p->mp_cids[i],
3707 vdp[i].vd_val = (uintptr_t)cid;
3717 free((void *)vdp[i].vd_val);
3718 vdp[i].vd_val = NULL;
3835 vdp->vd_val = (uintptr_t)dlap;
3837 vdp->vd_val = 0;
3968 rates.wr_rates[0] = vdp[0].vd_val;
4012 vdp->vd_val = (uintptr_t)(uint_t)
4099 dladm_wlan_powermode_t powermode = vdp->vd_val;
4161 dladm_wlan_radio_t radio = vdp->vd_val;
4200 vdp->vd_val = hlim;
4226 vdp->vd_val = elim;
4431 val = (void *)vdp->vd_val;
4439 u8 = vdp->vd_val;
4443 u16 = vdp->vd_val;
4447 u32 = vdp->vd_val;
4451 val = &vdp->vd_val;
4518 v->vd_val = strtoul(prop_val[0], NULL, 0);
4906 if (vdp->vd_val == RESET_VAL)
4909 mrp->mrp_vsitypeid = (uint32_t)vdp->vd_val;
4924 if (vdp->vd_val == RESET_VAL)
4927 mrp->mrp_vsiversion = (uint32_t)vdp->vd_val;
4950 vdp->vd_val = (uintptr_t)addr;
4954 free((void *)vdp->vd_val);
4970 bcopy((in6_addr_t *)vdp->vd_val, &mrp->mrp_vsimgrid,
4987 mrp->mrp_vsimgr_enc = (uint_t)vdp->vd_val;
5133 *enc = (int)vsimgrid_encoding_vals[i].vd_val;
5283 * are zone and autopush, which populate vdp->vd_val). So
5333 if (val == pd->pd_defval.vd_val && pd->pd_defval.vd_name[0] != '\0') {
5339 if (val == pd->pd_optval[i].vd_val) {
5383 vdp->vd_val = 0;
5390 vdp->vd_val = 0;
5393 vdp->vd_val = strtoul(prop_val[0], &cp, 0);
5400 return (vdp->vd_val > 65535 ? DLADM_STATUS_BADVAL :
5403 if (vdp->vd_val > 255)
5415 vdp->vd_val != 0) {
5511 pvid = vdp->vd_val;
5536 vdp->vd_val = 1;
5539 vdp->vd_val = strtoul(prop_val[0], &cp, 0);
5544 return (vdp->vd_val > VLAN_ID_MAX ? DLADM_STATUS_BADVAL :
5561 announce_type = vdp->vd_val;