Lines Matching refs:pdp
522 fprop_desc_t *pdp;
535 pdp = &prop_tbl->pt_table[i];
540 status = pdp->pd_get(handle, name, prop_val, val_cntp);
543 if (pdp->pd_defval.vd_name == NULL) {
547 (void) strcpy(*prop_val, pdp->pd_defval.vd_name);
552 if (pdp->pd_getmod != NULL) {
553 status = pdp->pd_getmod(handle, name, prop_val,
557 cnt = pdp->pd_nmodval;
565 pdp->pd_modval[i].vd_name);
580 fprop_desc_t *pdp, char **prop_val, uint_t val_cnt, uint_t flags)
586 if (pdp->pd_temponly && (flags & DLADM_OPT_PERSIST) != 0)
589 if (pdp->pd_set == NULL)
593 if (pdp->pd_check != NULL)
594 status = pdp->pd_check(pdp, prop_val, val_cnt, &vdp);
603 if (pdp->pd_defval.vd_name == NULL)
609 (void) memcpy(vdp, &pdp->pd_defval, sizeof (val_desc_t));
613 status = pdp->pd_set(handle, name, vdp, cnt);
629 fprop_desc_t *pdp = &prop_tbl->pt_table[i];
633 (strcasecmp(prop_name, pdp->pd_name) != 0))
637 s = i_dladm_set_one_prop_temp(handle, name, pdp, prop_val,
647 *errprop = pdp->pd_name;
670 fprop_desc_t *pdp = &prop_tbl->pt_table[i];
672 if (strcasecmp(prop_name, pdp->pd_name) != 0)
676 *errprop = pdp->pd_name;
678 if (pdp->pd_temponly)