Lines Matching refs:smp_length_check
73 static int smp_length_check(u32 data_size, u32 request_len) in smp_length_check() function
588 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc()
615 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo()
814 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo()
1046 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable()
1375 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo()
1745 if (smp_length_check(size, max_len)) { in __subn_set_opa_pkeytable()
1836 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sl_to_sc()
1860 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sl_to_sc()
1888 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_sl()
1911 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_sl()
1932 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlt()
1963 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlt()
1997 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlnt()
2023 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlnt()
2055 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2099 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2144 smp_length_check(len, max_len)) { in __subn_get_opa_cable_info()
2196 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_bct()
2219 if (num_ports != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_bct()
2244 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_vl_arb()
2286 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_vl_arb()
3724 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3751 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3843 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3882 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3955 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
4006 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
4059 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4088 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()