Lines Matching refs:val_desc_t
94 * - propval: a val_desc_t array which keeps the property values to be set.
98 * pd_set takes val_desc_t given by pd_check(), translates it into
104 val_desc_t *propval, uint_t cnt, uint_t flags,
117 * verified to be valid, pd_check allocates a val_desc_t and fills it
118 * with either a val_desc_t found on the pd_modval list or something
123 uint_t flags, val_desc_t **propval,
192 val_desc_t pd_defval;
200 val_desc_t *pd_optval;
227 * the pd_optval. Return a val_desc_t array pointer if the value is
423 static val_desc_t link_duplex_vals[] = {
427 static val_desc_t link_status_vals[] = {
431 static val_desc_t link_01_vals[] = {
435 static val_desc_t link_flow_vals[] = {
443 static val_desc_t link_priority_vals[] = {
449 static val_desc_t link_tagmode_vals[] = {
454 static val_desc_t link_protect_vals[] = {
461 static val_desc_t dladm_wlan_radio_vals[] = {
466 static val_desc_t dladm_wlan_powermode_vals[] = {
472 static val_desc_t stp_p2p_vals[] = {
478 static val_desc_t vlan_announce_vals[] = {
483 static val_desc_t dladm_part_linkmode_vals[] = {
488 static val_desc_t vsimgrid_encoding_vals[] = {
493 static val_desc_t dladm_link_lro_vals[] = {
499 static val_desc_t dladm_link_lro_effective_vals[] = {
504 #define VALCNT(vals) (sizeof ((vals)) / sizeof (val_desc_t))
977 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
982 val_desc_t *vdp = *vdpp;
994 (void) memcpy(&vdp[j], &pdp->pd_optval[i], sizeof (val_desc_t));
1005 val_desc_t *vdp = NULL;
1045 vdp = calloc(val_cnt, sizeof (val_desc_t));
1073 if ((vdp = calloc(1, sizeof (val_desc_t))) == NULL)
1078 sizeof (val_desc_t));
1087 if ((vdp = calloc(1, sizeof (val_desc_t))) == NULL)
1107 free((void *)((val_desc_t *)vdp + i)->vd_val);
1546 val_desc_t *vdp;
1548 vdp = malloc(sizeof (val_desc_t) * *val_cntp);
1813 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
1870 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
1878 val_desc_t *vdp = *vdpp;
1946 extract_cos(val_desc_t *vdp, uint_t cnt, void *arg)
1962 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
1968 val_desc_t *vdp = *vdpp;
2014 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
2020 val_desc_t *vdp = *vdpp;
2046 extract_maxbw(val_desc_t *vdp, uint_t cnt, void *arg)
2063 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
2068 val_desc_t *vdp = *vdpp;
2254 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
2260 val_desc_t *vdp = *vdpp;
2287 extract_etsbw(val_desc_t *vdp, uint_t cnt, void *arg)
2304 extract_pfcmap(val_desc_t *vdp, uint_t cnt, void *arg)
2374 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
2384 val_desc_t *vdp = *vdpp;
2385 val_desc_t *newvdp = NULL;
2413 * the array of val_desc_t's. The array allocated was sized for
2418 newvdp = calloc(ncpus, sizeof (val_desc_t));
2476 extract_cpus(val_desc_t *vdp, uint_t cnt, void *arg)
2536 val_desc_t **vp, datalink_media_t media)
2539 val_desc_t *v = *vp;
2554 extract_rxfanout(val_desc_t *vdp, uint_t cnt, void *arg)
2607 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
2615 val_desc_t *vdp = *vdpp;
2663 extract_pool(val_desc_t *vdp, uint_t cnt, void *arg)
2705 extract_priority(val_desc_t *vdp, uint_t cnt, void *arg)
2748 val_desc_t **vp, datalink_media_t media)
2751 val_desc_t *v = *vp;
2872 extract_rxrings(val_desc_t *vdp, uint_t cnt, void *arg)
2942 extract_txrings(val_desc_t *vdp, uint_t cnt, void *arg)
2974 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt,
3104 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
3114 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
3119 val_desc_t *vdp = *vdpp;
3162 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
3207 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
3282 extract_protection(val_desc_t *vdp, uint_t cnt, void *arg)
3297 extract_allowedips(val_desc_t *vdp, uint_t cnt, void *arg)
3353 val_desc_t **vdpp, datalink_media_t media)
3359 val_desc_t *vdp = *vdpp;
3668 extract_allowedcids(val_desc_t *vdp, uint_t cnt, void *arg)
3691 uint_t flags, val_desc_t **vdpp, datalink_media_t media)
3697 val_desc_t *vdp = *vdpp;
3805 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
3814 val_desc_t *vdp = *vdpp;
3953 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
3978 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
3987 val_desc_t *vdp = *vdpp;
4096 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
4159 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
4185 val_desc_t **vdpp, datalink_media_t media)
4190 val_desc_t *vdp = *vdpp;
4207 char **prop_val, uint_t *val_cntp, uint_t flags, val_desc_t **vdpp,
4213 val_desc_t *vdp = *vdpp;
4416 datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags,
4511 val_desc_t **vp, datalink_media_t media)
4514 val_desc_t *v = *vp;
4899 extract_vsitypeid(val_desc_t *vdp, uint_t cnt, void *arg)
4917 extract_vsiversion(val_desc_t *vdp, uint_t cnt, void *arg)
4937 val_desc_t **vdpp, datalink_media_t media)
4942 val_desc_t *vdp = *vdpp;
4961 extract_vsimgrid(val_desc_t *vdp, uint_t cnt, void *arg)
4980 extract_vsimgrenc(val_desc_t *vdp, uint_t cnt, void *arg)
5284 * libdladm can copy pdp->pd_defval over to the val_desc_t passed
5352 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
5372 val_desc_t **vdpp, datalink_media_t media)
5377 val_desc_t *vdp = *vdpp;
5463 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
5501 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
5526 val_desc_t **vdpp, datalink_media_t media)
5530 val_desc_t *vdp = *vdpp;
5551 val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media)
5729 val_desc_t *vdp;
5731 vdp = malloc(sizeof (val_desc_t) * aip->ai_count);