Lines Matching refs:max_len
584 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() argument
588 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc()
605 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() argument
615 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo()
798 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() argument
814 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo()
1023 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() argument
1046 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable()
1353 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() argument
1375 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo()
1643 max_len); in __subn_set_opa_portinfo()
1661 max_len); in __subn_set_opa_portinfo()
1722 u32 *resp_len, u32 max_len) in __subn_set_opa_pkeytable() argument
1745 if (smp_length_check(size, max_len)) { in __subn_set_opa_pkeytable()
1768 max_len); in __subn_set_opa_pkeytable()
1829 u32 *resp_len, u32 max_len) in __subn_get_opa_sl_to_sc() argument
1836 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sl_to_sc()
1852 u32 *resp_len, u32 max_len) in __subn_set_opa_sl_to_sc() argument
1860 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sl_to_sc()
1876 max_len); in __subn_set_opa_sl_to_sc()
1881 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_sl() argument
1888 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_sl()
1904 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_sl() argument
1911 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_sl()
1920 max_len); in __subn_set_opa_sc_to_sl()
1925 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlt() argument
1932 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlt()
1947 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlt() argument
1963 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlt()
1984 max_len); in __subn_set_opa_sc_to_vlt()
1989 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlnt() argument
1997 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlnt()
2014 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlnt() argument
2023 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlnt()
2041 resp_len, max_len); in __subn_set_opa_sc_to_vlnt()
2046 u32 *resp_len, u32 max_len) in __subn_get_opa_psi() argument
2055 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2088 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_psi() argument
2099 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2131 max_len); in __subn_set_opa_psi()
2136 u32 *resp_len, u32 max_len) in __subn_get_opa_cable_info() argument
2144 smp_length_check(len, max_len)) { in __subn_get_opa_cable_info()
2188 u32 max_len) in __subn_get_opa_bct() argument
2196 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_bct()
2212 u32 max_len) in __subn_set_opa_bct() argument
2219 if (num_ports != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_bct()
2231 max_len); in __subn_set_opa_bct()
2236 u32 *resp_len, u32 max_len) in __subn_get_opa_vl_arb() argument
2244 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_vl_arb()
2278 u32 *resp_len, u32 max_len) in __subn_set_opa_vl_arb() argument
2286 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_vl_arb()
2314 max_len); in __subn_set_opa_vl_arb()
3706 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3713 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3730 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3740 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3823 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
3832 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3858 resp_len, max_len); in __subn_set_opa_cong_setting()
3863 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_hfi1_cong_log() argument
3871 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3929 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3944 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
3981 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
3995 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
4027 max_len); in __subn_set_opa_cc_table()
4040 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4048 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4070 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4077 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()
4088 max_len); in __subn_set_opa_led_info()
4093 u32 *resp_len, u32 max_len) in subn_get_opa_sma() argument
4101 resp_len, max_len); in subn_get_opa_sma()
4105 resp_len, max_len); in subn_get_opa_sma()
4109 resp_len, max_len); in subn_get_opa_sma()
4113 resp_len, max_len); in subn_get_opa_sma()
4117 resp_len, max_len); in subn_get_opa_sma()
4121 resp_len, max_len); in subn_get_opa_sma()
4125 resp_len, max_len); in subn_get_opa_sma()
4129 resp_len, max_len); in subn_get_opa_sma()
4133 resp_len, max_len); in subn_get_opa_sma()
4137 resp_len, max_len); in subn_get_opa_sma()
4141 resp_len, max_len); in subn_get_opa_sma()
4145 resp_len, max_len); in subn_get_opa_sma()
4149 resp_len, max_len); in subn_get_opa_sma()
4153 port, resp_len, max_len); in subn_get_opa_sma()
4157 port, resp_len, max_len); in subn_get_opa_sma()
4161 resp_len, max_len); in subn_get_opa_sma()
4165 resp_len, max_len); in subn_get_opa_sma()
4183 u32 *resp_len, u32 max_len, int local_mad) in subn_set_opa_sma() argument
4191 resp_len, max_len, local_mad); in subn_set_opa_sma()
4195 resp_len, max_len); in subn_set_opa_sma()
4199 resp_len, max_len); in subn_set_opa_sma()
4203 resp_len, max_len); in subn_set_opa_sma()
4207 resp_len, max_len); in subn_set_opa_sma()
4211 resp_len, max_len); in subn_set_opa_sma()
4215 resp_len, max_len, local_mad); in subn_set_opa_sma()
4219 resp_len, max_len); in subn_set_opa_sma()
4223 resp_len, max_len); in subn_set_opa_sma()
4227 port, resp_len, max_len); in subn_set_opa_sma()
4231 resp_len, max_len); in subn_set_opa_sma()
4235 resp_len, max_len); in subn_set_opa_sma()