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()
3717 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3724 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3741 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3751 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3834 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
3843 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3869 resp_len, max_len); in __subn_set_opa_cong_setting()
3874 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_hfi1_cong_log() argument
3882 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3940 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3955 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
3992 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
4006 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
4038 max_len); in __subn_set_opa_cc_table()
4051 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4059 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4081 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4088 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()
4099 max_len); in __subn_set_opa_led_info()
4104 u32 *resp_len, u32 max_len) in subn_get_opa_sma() argument
4112 resp_len, max_len); in subn_get_opa_sma()
4116 resp_len, max_len); in subn_get_opa_sma()
4120 resp_len, max_len); in subn_get_opa_sma()
4124 resp_len, max_len); in subn_get_opa_sma()
4128 resp_len, max_len); in subn_get_opa_sma()
4132 resp_len, max_len); in subn_get_opa_sma()
4136 resp_len, max_len); in subn_get_opa_sma()
4140 resp_len, max_len); in subn_get_opa_sma()
4144 resp_len, max_len); in subn_get_opa_sma()
4148 resp_len, max_len); in subn_get_opa_sma()
4152 resp_len, max_len); in subn_get_opa_sma()
4156 resp_len, max_len); in subn_get_opa_sma()
4160 resp_len, max_len); in subn_get_opa_sma()
4164 port, resp_len, max_len); in subn_get_opa_sma()
4168 port, resp_len, max_len); in subn_get_opa_sma()
4172 resp_len, max_len); in subn_get_opa_sma()
4176 resp_len, max_len); in subn_get_opa_sma()
4194 u32 *resp_len, u32 max_len, int local_mad) in subn_set_opa_sma() argument
4202 resp_len, max_len, local_mad); in subn_set_opa_sma()
4206 resp_len, max_len); in subn_set_opa_sma()
4210 resp_len, max_len); in subn_set_opa_sma()
4214 resp_len, max_len); in subn_set_opa_sma()
4218 resp_len, max_len); in subn_set_opa_sma()
4222 resp_len, max_len); in subn_set_opa_sma()
4226 resp_len, max_len, local_mad); in subn_set_opa_sma()
4230 resp_len, max_len); in subn_set_opa_sma()
4234 resp_len, max_len); in subn_set_opa_sma()
4238 port, resp_len, max_len); in subn_set_opa_sma()
4242 resp_len, max_len); in subn_set_opa_sma()
4246 resp_len, max_len); in subn_set_opa_sma()