/titanic_41/usr/src/uts/common/io/i40e/ |
H A D | i40e_gld.c | 631 i40e_m_setprop_private(i40e_t *i40e, const char *pr_name, uint_t pr_valsize, in i40e_m_setprop_private() argument 698 i40e_m_getprop_private(i40e_t *i40e, const char *pr_name, uint_t pr_valsize, in i40e_m_getprop_private() argument 719 if (snprintf(pr_val, pr_valsize, "%d", val) >= pr_valsize) in i40e_m_getprop_private() 772 uint_t pr_valsize, const void *pr_val) in i40e_m_setprop() argument 836 ret = i40e_m_setprop_private(i40e, pr_name, pr_valsize, pr_val); in i40e_m_setprop() 849 uint_t pr_valsize, void *pr_val) in i40e_m_getprop() argument 861 if (pr_valsize < sizeof (link_duplex_t)) { in i40e_m_getprop() 868 if (pr_valsize < sizeof (uint64_t)) { in i40e_m_getprop() 876 if (pr_valsize < sizeof (link_state_t)) { in i40e_m_getprop() 883 if (pr_valsize < sizeof (uint8_t)) { in i40e_m_getprop() [all …]
|
/titanic_41/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 290 uint_t pr_valsize, const void *pr_val) in ixgbe_m_setprop() argument 431 err = ixgbe_set_priv_prop(ixgbe, pr_name, pr_valsize, pr_val); in ixgbe_m_setprop() 443 uint_t pr_valsize, void *pr_val) in ixgbe_m_getprop() argument 453 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in ixgbe_m_getprop() 458 ASSERT(pr_valsize >= sizeof (uint64_t)); in ixgbe_m_getprop() 466 ASSERT(pr_valsize >= sizeof (uint32_t)); in ixgbe_m_getprop() 504 pr_valsize, pr_val); in ixgbe_m_getprop() 609 uint_t pr_valsize, const void *pr_val) in ixgbe_set_priv_prop() argument 740 uint_t pr_valsize, void *pr_val) in ixgbe_get_priv_prop() argument 792 (void) snprintf(pr_val, pr_valsize, "%d", value); in ixgbe_get_priv_prop()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_gld.c | 694 qlge_set_priv_prop(qlge_t *qlge, const char *pr_name, uint_t pr_valsize, in qlge_set_priv_prop() argument 733 uint_t pr_valsize, const void *pr_val) in ql_m_setprop() argument 783 err = qlge_set_priv_prop(qlge, pr_name, pr_valsize, in ql_m_setprop() 796 qlge_get_priv_prop(qlge_t *qlge, const char *pr_name, uint_t pr_valsize, in qlge_get_priv_prop() argument 811 (void) snprintf(pr_val, pr_valsize, "%d", value); in qlge_get_priv_prop() 819 uint_t pr_valsize, void *pr_val) in ql_m_getprop() argument 835 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in ql_m_getprop() 845 ASSERT(pr_valsize >= sizeof (speed)); in ql_m_getprop() 850 ASSERT(pr_valsize >= sizeof (link_state_t)); in ql_m_getprop() 860 err = qlge_get_priv_prop(qlge, pr_name, pr_valsize, pr_val); in ql_m_getprop()
|
/titanic_41/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_main.c | 596 uint_t pr_valsize, const void *pr_val) in eib_m_setprop() argument 603 uint_t pr_valsize, void *pr_val) in eib_m_getprop() argument 612 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in eib_m_getprop() 617 ASSERT(pr_valsize >= sizeof (uint64_t)); in eib_m_getprop() 624 (void) snprintf(pr_val, pr_valsize, in eib_m_getprop() 627 (void) snprintf(pr_val, pr_valsize, in eib_m_getprop() 631 (void) snprintf(pr_val, pr_valsize, "%llX", in eib_m_getprop() 635 (void) snprintf(pr_val, pr_valsize, "%llX", in eib_m_getprop()
|
/titanic_41/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 1008 vnic_get_secondary_macs(vnic_t *vn, uint_t pr_valsize, void *pr_val) in vnic_get_secondary_macs() argument 1013 if (pr_valsize < sizeof (msa)) in vnic_get_secondary_macs() 1035 uint_t pr_valsize, const void *pr_val) in vnic_m_setprop() argument 1044 if (pr_valsize < sizeof (mtu)) { in vnic_m_setprop() 1078 if (pr_valsize < sizeof (filtered)) { in vnic_m_setprop() 1104 uint_t pr_valsize, void *pr_val) in vnic_m_getprop() argument 1113 ASSERT(pr_valsize >= sizeof (boolean_t)); in vnic_m_getprop() 1117 ret = vnic_get_secondary_macs(vn, pr_valsize, pr_val); in vnic_m_getprop()
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 961 uint_t pr_valsize, const void *pr_val) in igb_m_setprop() argument 1116 err = igb_set_priv_prop(igb, pr_name, pr_valsize, pr_val); in igb_m_setprop() 1135 uint_t pr_valsize, void *pr_val) in igb_m_getprop() argument 1145 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in igb_m_getprop() 1149 ASSERT(pr_valsize >= sizeof (uint64_t)); in igb_m_getprop() 1154 ASSERT(pr_valsize >= sizeof (uint8_t)); in igb_m_getprop() 1158 ASSERT(pr_valsize >= sizeof (uint32_t)); in igb_m_getprop() 1218 err = igb_get_priv_prop(igb, pr_name, pr_valsize, pr_val); in igb_m_getprop() 1354 uint_t pr_valsize, const void *pr_val) in igb_set_priv_prop() argument 1509 igb_get_priv_prop(igb_t *igb, const char *pr_name, uint_t pr_valsize, in igb_get_priv_prop() argument [all …]
|
/titanic_41/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 1069 parse_esslist_args(const void *pr_val, uint_t pr_valsize, in parse_esslist_args() argument 1073 ptrdiff_t len = pr_valsize; in parse_esslist_args() 1075 const char *end = (const char *)pr_val + pr_valsize - 1; in parse_esslist_args() 1100 set_wl_esslist_priv_prop(simnet_wifidev_t *wdev, uint_t pr_valsize, in set_wl_esslist_priv_prop() argument 1109 if (parse_esslist_args(pr_val, pr_valsize, essargs) == 0) { in set_wl_esslist_priv_prop() 1146 uint_t pr_valsize, const void *pr_val) in simnet_set_priv_prop() argument 1154 return (set_wl_esslist_priv_prop(wdev, pr_valsize, pr_val)); in simnet_set_priv_prop() 1236 uint_t pr_valsize, void *pr_val) in simnet_get_priv_prop() argument 1252 (void) snprintf(pr_val, pr_valsize, "%d", value); in simnet_get_priv_prop()
|
/titanic_41/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 648 dsize = sizeof (dld_ioc_macprop_t) + prop->pr_valsize - 1; in drv_ioc_prop_common() 649 if (dsize < prop->pr_valsize) in drv_ioc_prop_common() 689 if (!mac_prop_check_size(kprop->pr_num, kprop->pr_valsize, in drv_ioc_prop_common() 714 if (kprop->pr_valsize != 0) in drv_ioc_prop_common() 719 if (kprop->pr_valsize == 0) in drv_ioc_prop_common() 752 kprop->pr_name, kprop->pr_val, kprop->pr_valsize); in drv_ioc_prop_common() 774 default_size = kprop->pr_valsize; in drv_ioc_prop_common() 788 kprop->pr_name, kprop->pr_val, kprop->pr_valsize); in drv_ioc_prop_common()
|
/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_gld.c | 1875 uint_t pr_valsize, in BnxeSetPrivateProperty() argument 2290 uint_t pr_valsize, in BnxeMacSetProperty() argument 2451 err = BnxeSetPrivateProperty(pUM, pr_name, pr_valsize, pr_val); in BnxeMacSetProperty() 2471 uint_t pr_valsize, in BnxeGetPrivateProperty() argument 2594 (void)snprintf(pr_val, pr_valsize, "%d", value); in BnxeGetPrivateProperty() 2604 uint_t pr_valsize, in BnxeMacGetProperty() argument 2619 ASSERT(pr_valsize >= sizeof(u32_t)); in BnxeMacGetProperty() 2626 ASSERT(pr_valsize >= sizeof(link_duplex_t)); in BnxeMacGetProperty() 2635 ASSERT(pr_valsize >= sizeof(link_speed)); in BnxeMacGetProperty() 2643 ASSERT(pr_valsize >= sizeof(link_state_t)); in BnxeMacGetProperty() [all …]
|
/titanic_41/usr/src/uts/common/io/vr/ |
H A D | vr.h | 490 mac_prop_id_t pr_num, uint_t pr_valsize, 494 uint_t pr_valsize, const void *pr_val);
|
H A D | vr.c | 3171 uint_t pr_valsize, void *pr_val) in vr_mac_getprop() argument 3282 if (pr_valsize == sizeof (uint64_t)) in vr_mac_getprop() 3284 else if (pr_valsize == sizeof (uint32_t)) in vr_mac_getprop() 3286 else if (pr_valsize == sizeof (uint16_t)) in vr_mac_getprop() 3288 else if (pr_valsize == sizeof (uint8_t)) in vr_mac_getprop() 3403 uint_t pr_valsize, const void *pr_val) in vr_mac_setprop() argument 3421 if (pr_valsize == sizeof (uint64_t)) in vr_mac_setprop() 3423 else if (pr_valsize == sizeof (uint32_t)) in vr_mac_setprop() 3425 else if (pr_valsize == sizeof (uint16_t)) in vr_mac_setprop() 3427 else if (pr_valsize == sizeof (uint8_t)) in vr_mac_setprop()
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 1551 uint_t pr_valsize, const void *pr_val) in nge_m_setprop() argument 1740 err = nge_set_priv_prop(ngep, pr_name, pr_valsize, in nge_m_setprop() 1756 uint_t pr_valsize, void *pr_val) in nge_m_getprop() argument 1765 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in nge_m_getprop() 1770 ASSERT(pr_valsize >= sizeof (uint64_t)); in nge_m_getprop() 1778 ASSERT(pr_valsize >= sizeof (link_flowctrl_t)); in nge_m_getprop() 1838 pr_valsize, pr_val); in nge_m_getprop() 1919 nge_set_priv_prop(nge_t *ngep, const char *pr_name, uint_t pr_valsize, in nge_set_priv_prop() argument 2036 nge_get_priv_prop(nge_t *ngep, const char *pr_name, uint_t pr_valsize, in nge_get_priv_prop() argument 2080 (void) snprintf(pr_val, pr_valsize, "%d", value); in nge_get_priv_prop()
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 148 uint_t pr_valsize, const void *pr_val); 150 uint_t pr_valsize, void *pr_val); 154 uint_t pr_valsize, const void *pr_val); 156 uint_t pr_valsize, void *pr_val); 3135 uint_t pr_valsize, const void *pr_val) in hxge_m_setprop() argument 3236 err = hxge_set_priv_prop(hxgep, pr_name, pr_valsize, in hxge_m_setprop() 3255 uint_t pr_valsize, void *pr_val) in hxge_m_getprop() argument 3276 ASSERT(pr_valsize >= sizeof (uint64_t)); in hxge_m_getprop() 3282 ASSERT(pr_valsize >= sizeof (link_state_t)); in hxge_m_getprop() 3295 ASSERT(pr_valsize < sizeof (link_flowctrl_t)); in hxge_m_getprop() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | dld.h | 294 uint_t pr_valsize; /* sizeof pr_val */ member
|
/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 764 uint_t pr_valsize, const void *pr_val) argument 920 err = bge_set_priv_prop(bgep, pr_name, pr_valsize, 934 uint_t pr_valsize, void *pr_val) argument 941 ASSERT(pr_valsize >= sizeof (link_duplex_t)); 948 ASSERT(pr_valsize >= sizeof (speed)); 953 ASSERT(pr_valsize >= sizeof (link_state_t)); 963 ASSERT(pr_valsize >= sizeof (fl)); 1025 pr_valsize, pr_val); 1113 bge_set_priv_prop(bge_t *bgep, const char *pr_name, uint_t pr_valsize, argument 1234 bge_get_priv_prop(bge_t *bge, const char *pr_name, uint_t pr_valsize, argument [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_main.c | 4555 uint_t pr_valsize, const void *pr_val) in nxge_m_setprop() argument 4601 ASSERT(pr_valsize >= sizeof (new_mtu)); in nxge_m_setprop() 4646 ASSERT(pr_valsize >= sizeof (fl)); in nxge_m_setprop() 4680 err = nxge_set_priv_prop(nxgep, pr_name, pr_valsize, pr_val); in nxge_m_setprop() 4697 uint_t pr_valsize, void *pr_val) in nxge_m_getprop() argument 4714 ASSERT(pr_valsize >= sizeof (val)); in nxge_m_getprop() 4723 ASSERT(pr_valsize >= sizeof (state)); in nxge_m_getprop() 4736 ASSERT(pr_valsize >= sizeof (fl)); in nxge_m_getprop() 4766 return (nxge_get_priv_prop(nxgep, pr_name, pr_valsize, in nxge_m_getprop() 4893 nxge_set_priv_prop(p_nxge_t nxgep, const char *pr_name, uint_t pr_valsize, in nxge_set_priv_prop() argument [all …]
|
/titanic_41/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 3144 uint_t pr_valsize, const void *pr_val) in e1000g_m_setprop() argument 3339 pr_valsize, pr_val); in e1000g_m_setprop() 3351 uint_t pr_valsize, void *pr_val) in e1000g_m_getprop() argument 3361 ASSERT(pr_valsize >= sizeof (link_duplex_t)); in e1000g_m_getprop() 3366 ASSERT(pr_valsize >= sizeof (uint64_t)); in e1000g_m_getprop() 3374 ASSERT(pr_valsize >= sizeof (link_flowctrl_t)); in e1000g_m_getprop() 3433 pr_valsize, pr_val); in e1000g_m_getprop() 3594 uint_t pr_valsize, const void *pr_val) in e1000g_set_priv_prop() argument 3799 uint_t pr_valsize, void *pr_val) in e1000g_get_priv_prop() argument 3866 (void) snprintf(pr_val, pr_valsize, "%d", value); in e1000g_get_priv_prop()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 2415 (void) memcpy(dip->pr_val, &mrp, dip->pr_valsize); in set_resource() 3097 bcopy(&msa, dip->pr_val, dip->pr_valsize); in set_secondary_macs() 3762 dip->pr_valsize = valsize; in i_dladm_buf_alloc_impl() 3818 switch (dip->pr_valsize) { in set_public_prop() 3838 (void) memcpy(dip->pr_val, val, dip->pr_valsize); in set_public_prop() 3840 dip->pr_valsize = 0; in set_public_prop() 4935 (void) memcpy(dip->pr_val, &vdp->vd_val, dip->pr_valsize); in set_promisc_filtered()
|
/titanic_41/usr/src/uts/common/io/yge/ |
H A D | yge.c | 3247 uint_t pr_valsize, const void *pr_val) in yge_m_setprop() argument 3253 err = mii_m_setprop(port->p_mii, pr_name, pr_num, pr_valsize, pr_val); in yge_m_setprop() 3262 if (pr_valsize < sizeof (new_mtu)) { in yge_m_setprop() 3342 uint_t pr_valsize, void *pr_val) in yge_m_getprop() argument 3346 return (mii_m_getprop(port->p_mii, pr_name, pr_num, pr_valsize, in yge_m_getprop()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bridge.c | 444 uint_t pr_valsize, const void *pr_val) in bridge_m_setprop() argument 456 if (pr_valsize < sizeof (bmp->bm_maxsdu)) { in bridge_m_setprop() 495 uint_t pr_valsize, void *pr_val) in bridge_m_getprop() argument 503 ASSERT(pr_valsize >= sizeof (bmp->bm_linkstate)); in bridge_m_getprop()
|
/titanic_41/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 321 uint_t pr_valsize, const void *pr_val) in iptun_m_setprop() argument 381 uint_t pr_valsize, void *pr_val) in iptun_m_getprop() argument 391 ASSERT(pr_valsize >= sizeof (uint32_t)); in iptun_m_getprop()
|
/titanic_41/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 4564 uint_t pr_valsize, const void *pr_val) in ibd_m_setprop() argument 4614 pr_valsize, pr_val); in ibd_m_setprop() 4625 uint_t pr_valsize, void *pr_val) in ibd_m_getprop() argument 4645 err = ibd_get_priv_prop(state, pr_name, pr_valsize, in ibd_m_getprop() 4750 uint_t pr_valsize, const void *pr_val) in ibd_set_priv_prop() argument 5176 ibd_get_priv_prop(ibd_state_t *state, const char *pr_name, uint_t pr_valsize, in ibd_get_priv_prop() argument 5309 (void) snprintf(pr_val, pr_valsize, "%d", value); in ibd_get_priv_prop()
|
/titanic_41/usr/src/uts/common/io/aggr/ |
H A D | aggr_grp.c | 2787 uint_t pr_valsize, const void *pr_val) in aggr_m_setprop() argument 2796 if (pr_valsize < sizeof (mtu)) { in aggr_m_setprop()
|
/titanic_41/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 5398 uint_t pr_valsize, const void *pr_val) in myri10ge_m_setprop() argument 5406 if (pr_valsize < sizeof (mtu)) { in myri10ge_m_setprop()
|