Lines Matching refs:smp_length_check

31 static int smp_length_check(u32 data_size, u32 request_len)  in smp_length_check()  function
546 if (am || smp_length_check(sizeof(*nd), max_len)) { in __subn_get_opa_nodedesc()
573 smp_length_check(sizeof(*ni), max_len) || in __subn_get_opa_nodeinfo()
772 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { in __subn_get_opa_portinfo()
1004 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable()
1333 smp_length_check(sizeof(*pi), max_len)) { in __subn_set_opa_portinfo()
1703 if (smp_length_check(size, max_len)) { in __subn_set_opa_pkeytable()
1794 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sl_to_sc()
1818 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sl_to_sc()
1846 if (am || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_sl()
1869 if (am || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_sl()
1890 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlt()
1921 if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlt()
1955 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_sc_to_vlnt()
1981 if (n_blocks != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_sc_to_vlnt()
2013 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2057 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2102 smp_length_check(len, max_len)) { in __subn_get_opa_cable_info()
2154 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_bct()
2177 if (num_ports != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_bct()
2202 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_get_opa_vl_arb()
2244 if (num_ports != 1 || smp_length_check(size, max_len)) { in __subn_set_opa_vl_arb()
3671 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_info()
3698 if (smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_cong_setting()
3790 if (smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_cong_setting()
3829 if (am || smp_length_check(sizeof(*cong_log), max_len)) { in __subn_get_opa_hfi1_cong_log()
3902 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_get_opa_cc_table()
3953 if (n_blocks == 0 || smp_length_check(size, max_len) || in __subn_set_opa_cc_table()
4006 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_get_opa_led_info()
4035 if (nport != 1 || smp_length_check(sizeof(*p), max_len)) { in __subn_set_opa_led_info()