Lines Matching refs:max_len
542 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() argument
546 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc()
563 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() argument
573 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo()
756 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() argument
772 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo()
981 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() argument
1004 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable()
1311 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() argument
1333 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo()
1601 max_len); in __subn_set_opa_portinfo()
1619 max_len); in __subn_set_opa_portinfo()
1680 u32 *resp_len, u32 max_len) in __subn_set_opa_pkeytable() argument
1703 if (smp_length_check(size, max_len)) { in __subn_set_opa_pkeytable()
1726 max_len); in __subn_set_opa_pkeytable()
1787 u32 *resp_len, u32 max_len) in __subn_get_opa_sl_to_sc() argument
1794 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sl_to_sc()
1810 u32 *resp_len, u32 max_len) in __subn_set_opa_sl_to_sc() argument
1818 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sl_to_sc()
1834 max_len); in __subn_set_opa_sl_to_sc()
1839 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_sl() argument
1846 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_sl()
1862 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_sl() argument
1869 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_sl()
1878 max_len); in __subn_set_opa_sc_to_sl()
1883 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlt() argument
1890 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlt()
1905 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlt() argument
1921 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlt()
1942 max_len); in __subn_set_opa_sc_to_vlt()
1947 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlnt() argument
1955 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlnt()
1972 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlnt() argument
1981 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlnt()
1999 resp_len, max_len); in __subn_set_opa_sc_to_vlnt()
2004 u32 *resp_len, u32 max_len) in __subn_get_opa_psi() argument
2013 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2046 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_psi() argument
2057 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2089 max_len); in __subn_set_opa_psi()
2094 u32 *resp_len, u32 max_len) in __subn_get_opa_cable_info() argument
2102 smp_length_check(len, max_len)) { in __subn_get_opa_cable_info()
2146 u32 max_len) in __subn_get_opa_bct() argument
2154 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_bct()
2170 u32 max_len) in __subn_set_opa_bct() argument
2177 if (num_ports != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_bct()
2189 max_len); in __subn_set_opa_bct()
2194 u32 *resp_len, u32 max_len) in __subn_get_opa_vl_arb() argument
2202 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_vl_arb()
2236 u32 *resp_len, u32 max_len) in __subn_set_opa_vl_arb() argument
2244 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_vl_arb()
2272 max_len); in __subn_set_opa_vl_arb()
3664 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3671 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3688 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3698 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3781 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
3790 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3816 resp_len, max_len); in __subn_set_opa_cong_setting()
3821 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_hfi1_cong_log() argument
3829 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3887 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3902 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
3939 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
3953 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
3985 max_len); in __subn_set_opa_cc_table()
3998 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4006 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4028 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4035 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()
4046 max_len); in __subn_set_opa_led_info()
4051 u32 *resp_len, u32 max_len) in subn_get_opa_sma() argument
4059 resp_len, max_len); in subn_get_opa_sma()
4063 resp_len, max_len); in subn_get_opa_sma()
4067 resp_len, max_len); in subn_get_opa_sma()
4071 resp_len, max_len); in subn_get_opa_sma()
4075 resp_len, max_len); in subn_get_opa_sma()
4079 resp_len, max_len); in subn_get_opa_sma()
4083 resp_len, max_len); in subn_get_opa_sma()
4087 resp_len, max_len); in subn_get_opa_sma()
4091 resp_len, max_len); in subn_get_opa_sma()
4095 resp_len, max_len); in subn_get_opa_sma()
4099 resp_len, max_len); in subn_get_opa_sma()
4103 resp_len, max_len); in subn_get_opa_sma()
4107 resp_len, max_len); in subn_get_opa_sma()
4111 port, resp_len, max_len); in subn_get_opa_sma()
4115 port, resp_len, max_len); in subn_get_opa_sma()
4119 resp_len, max_len); in subn_get_opa_sma()
4123 resp_len, max_len); in subn_get_opa_sma()
4141 u32 *resp_len, u32 max_len, int local_mad) in subn_set_opa_sma() argument
4149 resp_len, max_len, local_mad); in subn_set_opa_sma()
4153 resp_len, max_len); in subn_set_opa_sma()
4157 resp_len, max_len); in subn_set_opa_sma()
4161 resp_len, max_len); in subn_set_opa_sma()
4165 resp_len, max_len); in subn_set_opa_sma()
4169 resp_len, max_len); in subn_set_opa_sma()
4173 resp_len, max_len, local_mad); in subn_set_opa_sma()
4177 resp_len, max_len); in subn_set_opa_sma()
4181 resp_len, max_len); in subn_set_opa_sma()
4185 port, resp_len, max_len); in subn_set_opa_sma()
4189 resp_len, max_len); in subn_set_opa_sma()
4193 resp_len, max_len); in subn_set_opa_sma()