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()
2315 max_len); in __subn_set_opa_vl_arb()
3707 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3714 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3731 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3741 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3824 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
3833 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3859 resp_len, max_len); in __subn_set_opa_cong_setting()
3864 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_hfi1_cong_log() argument
3872 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3930 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3945 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
3982 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
3996 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
4028 max_len); in __subn_set_opa_cc_table()
4041 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4049 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4071 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4078 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()
4089 max_len); in __subn_set_opa_led_info()
4094 u32 *resp_len, u32 max_len) in subn_get_opa_sma() argument
4102 resp_len, max_len); in subn_get_opa_sma()
4106 resp_len, max_len); in subn_get_opa_sma()
4110 resp_len, max_len); in subn_get_opa_sma()
4114 resp_len, max_len); in subn_get_opa_sma()
4118 resp_len, max_len); in subn_get_opa_sma()
4122 resp_len, max_len); in subn_get_opa_sma()
4126 resp_len, max_len); in subn_get_opa_sma()
4130 resp_len, max_len); in subn_get_opa_sma()
4134 resp_len, max_len); in subn_get_opa_sma()
4138 resp_len, max_len); in subn_get_opa_sma()
4142 resp_len, max_len); in subn_get_opa_sma()
4146 resp_len, max_len); in subn_get_opa_sma()
4150 resp_len, max_len); in subn_get_opa_sma()
4154 port, resp_len, max_len); in subn_get_opa_sma()
4158 port, resp_len, max_len); in subn_get_opa_sma()
4162 resp_len, max_len); in subn_get_opa_sma()
4166 resp_len, max_len); in subn_get_opa_sma()
4184 u32 *resp_len, u32 max_len, int local_mad) in subn_set_opa_sma() argument
4192 resp_len, max_len, local_mad); in subn_set_opa_sma()
4196 resp_len, max_len); in subn_set_opa_sma()
4200 resp_len, max_len); in subn_set_opa_sma()
4204 resp_len, max_len); in subn_set_opa_sma()
4208 resp_len, max_len); in subn_set_opa_sma()
4212 resp_len, max_len); in subn_set_opa_sma()
4216 resp_len, max_len, local_mad); in subn_set_opa_sma()
4220 resp_len, max_len); in subn_set_opa_sma()
4224 resp_len, max_len); in subn_set_opa_sma()
4228 port, resp_len, max_len); in subn_set_opa_sma()
4232 resp_len, max_len); in subn_set_opa_sma()
4236 resp_len, max_len); in subn_set_opa_sma()