Lines Matching refs:pdp
523 fprop_desc_t *pdp; in i_dladm_get_prop_temp() local
536 pdp = &prop_tbl->pt_table[i]; in i_dladm_get_prop_temp()
541 status = pdp->pd_get(handle, name, prop_val, val_cntp); in i_dladm_get_prop_temp()
544 if (pdp->pd_defval.vd_name == NULL) { in i_dladm_get_prop_temp()
548 (void) strcpy(*prop_val, pdp->pd_defval.vd_name); in i_dladm_get_prop_temp()
553 if (pdp->pd_getmod != NULL) { in i_dladm_get_prop_temp()
554 status = pdp->pd_getmod(handle, name, prop_val, in i_dladm_get_prop_temp()
558 cnt = pdp->pd_nmodval; in i_dladm_get_prop_temp()
566 pdp->pd_modval[i].vd_name); in i_dladm_get_prop_temp()
581 fprop_desc_t *pdp, char **prop_val, uint_t val_cnt, uint_t flags) in i_dladm_set_one_prop_temp() argument
587 if (pdp->pd_temponly && (flags & DLADM_OPT_PERSIST) != 0) in i_dladm_set_one_prop_temp()
590 if (pdp->pd_set == NULL) in i_dladm_set_one_prop_temp()
594 if (pdp->pd_check != NULL) in i_dladm_set_one_prop_temp()
595 status = pdp->pd_check(pdp, prop_val, val_cnt, &vdp); in i_dladm_set_one_prop_temp()
604 if (pdp->pd_defval.vd_name == NULL) in i_dladm_set_one_prop_temp()
610 (void) memcpy(vdp, &pdp->pd_defval, sizeof (val_desc_t)); in i_dladm_set_one_prop_temp()
614 status = pdp->pd_set(handle, name, vdp, cnt); in i_dladm_set_one_prop_temp()
630 fprop_desc_t *pdp = &prop_tbl->pt_table[i]; in i_dladm_set_prop_temp() local
634 (strcasecmp(prop_name, pdp->pd_name) != 0)) in i_dladm_set_prop_temp()
638 s = i_dladm_set_one_prop_temp(handle, name, pdp, prop_val, in i_dladm_set_prop_temp()
648 *errprop = pdp->pd_name; in i_dladm_set_prop_temp()
671 fprop_desc_t *pdp = &prop_tbl->pt_table[i]; in i_dladm_is_prop_temponly() local
673 if (strcasecmp(prop_name, pdp->pd_name) != 0) in i_dladm_is_prop_temponly()
677 *errprop = pdp->pd_name; in i_dladm_is_prop_temponly()
679 if (pdp->pd_temponly) in i_dladm_is_prop_temponly()