Lines Matching refs:resp_len
542 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() argument
555 if (resp_len) in __subn_get_opa_nodedesc()
556 *resp_len += sizeof(*nd); in __subn_get_opa_nodedesc()
563 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() argument
595 if (resp_len) in __subn_get_opa_nodeinfo()
596 *resp_len += sizeof(*ni); in __subn_get_opa_nodeinfo()
756 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() argument
958 if (resp_len) in __subn_get_opa_portinfo()
959 *resp_len += sizeof(struct opa_port_info); in __subn_get_opa_portinfo()
981 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() argument
1026 if (resp_len) in __subn_get_opa_pkeytable()
1027 *resp_len += size; in __subn_get_opa_pkeytable()
1311 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() argument
1600 ret = __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_portinfo()
1618 return __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_portinfo()
1680 u32 *resp_len, u32 max_len) in __subn_set_opa_pkeytable() argument
1725 return __subn_get_opa_pkeytable(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_pkeytable()
1787 u32 *resp_len, u32 max_len) in __subn_get_opa_sl_to_sc() argument
1802 if (resp_len) in __subn_get_opa_sl_to_sc()
1803 *resp_len += size; in __subn_get_opa_sl_to_sc()
1810 u32 *resp_len, u32 max_len) in __subn_set_opa_sl_to_sc() argument
1833 return __subn_get_opa_sl_to_sc(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sl_to_sc()
1839 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_sl() argument
1854 if (resp_len) in __subn_get_opa_sc_to_sl()
1855 *resp_len += size; in __subn_get_opa_sc_to_sl()
1862 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_sl() argument
1877 return __subn_get_opa_sc_to_sl(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sc_to_sl()
1883 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlt() argument
1897 if (resp_len) in __subn_get_opa_sc_to_vlt()
1898 *resp_len += size; in __subn_get_opa_sc_to_vlt()
1905 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlt() argument
1941 return __subn_get_opa_sc_to_vlt(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sc_to_vlt()
1947 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlnt() argument
1964 if (resp_len) in __subn_get_opa_sc_to_vlnt()
1965 *resp_len += size; in __subn_get_opa_sc_to_vlnt()
1972 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlnt() argument
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
2038 if (resp_len) in __subn_get_opa_psi()
2039 *resp_len += sizeof(struct opa_port_state_info); in __subn_get_opa_psi()
2046 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_psi() argument
2088 return __subn_get_opa_psi(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_psi()
2094 u32 *resp_len, u32 max_len) in __subn_get_opa_cable_info() argument
2138 if (resp_len) in __subn_get_opa_cable_info()
2139 *resp_len += len; in __subn_get_opa_cable_info()
2145 struct ib_device *ibdev, u32 port, u32 *resp_len, in __subn_get_opa_bct() argument
2162 if (resp_len) in __subn_get_opa_bct()
2163 *resp_len += size; in __subn_get_opa_bct()
2169 struct ib_device *ibdev, u32 port, u32 *resp_len, in __subn_set_opa_bct() argument
2188 return __subn_get_opa_bct(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_bct()
2194 u32 *resp_len, u32 max_len) in __subn_get_opa_vl_arb() argument
2228 if (size > 0 && resp_len) in __subn_get_opa_vl_arb()
2229 *resp_len += size; in __subn_get_opa_vl_arb()
2236 u32 *resp_len, u32 max_len) in __subn_set_opa_vl_arb() argument
2271 return __subn_get_opa_vl_arb(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_vl_arb()
2561 struct ib_device *ibdev, u32 *resp_len) in pma_get_opa_classportinfo() argument
2578 if (resp_len) in pma_get_opa_classportinfo()
2579 *resp_len += sizeof(*p); in pma_get_opa_classportinfo()
2683 u32 port, u32 *resp_len) in pma_get_opa_portstatus() argument
2843 if (resp_len) in pma_get_opa_portstatus()
2844 *resp_len += response_data_size; in pma_get_opa_portstatus()
2934 u32 port, u32 *resp_len) in pma_get_opa_datacounters() argument
3077 if (resp_len) in pma_get_opa_datacounters()
3078 *resp_len += response_data_size; in pma_get_opa_datacounters()
3155 u32 port, u32 *resp_len) in pma_get_opa_porterrors() argument
3237 if (resp_len) in pma_get_opa_porterrors()
3238 *resp_len += response_data_size; in pma_get_opa_porterrors()
3330 u32 port, u32 *resp_len) in pma_get_opa_errorinfo() argument
3421 if (resp_len) in pma_get_opa_errorinfo()
3422 *resp_len += response_data_size; in pma_get_opa_errorinfo()
3429 u32 port, u32 *resp_len) in pma_set_opa_portstatus() argument
3573 if (resp_len) in pma_set_opa_portstatus()
3574 *resp_len += sizeof(*req); in pma_set_opa_portstatus()
3581 u32 port, u32 *resp_len) in pma_set_opa_errorinfo() argument
3650 if (resp_len) in pma_set_opa_errorinfo()
3651 *resp_len += sizeof(*req); in pma_set_opa_errorinfo()
3664 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3680 if (resp_len) in __subn_get_opa_cong_info()
3681 *resp_len += sizeof(*p); in __subn_get_opa_cong_info()
3688 u32 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3725 if (resp_len) in __subn_get_opa_cong_setting()
3726 *resp_len += sizeof(*p); in __subn_get_opa_cong_setting()
3781 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
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
3879 if (resp_len) in __subn_get_opa_hfi1_cong_log()
3880 *resp_len += sizeof(struct opa_hfi1_cong_log); in __subn_get_opa_hfi1_cong_log()
3887 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3931 if (resp_len) in __subn_get_opa_cc_table()
3932 *resp_len += size; in __subn_get_opa_cc_table()
3939 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
3984 return __subn_get_opa_cc_table(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_cc_table()
3998 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4020 if (resp_len) in __subn_get_opa_led_info()
4021 *resp_len += sizeof(struct opa_led_info); in __subn_get_opa_led_info()
4028 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4045 return __subn_get_opa_led_info(smp, am, data, ibdev, port, resp_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()
4216 u32 *resp_len) in subn_get_opa_aggregate() argument
4238 *resp_len += agg_size; in subn_get_opa_aggregate()
4265 u32 *resp_len, int local_mad) in subn_set_opa_aggregate() argument
4287 *resp_len += agg_size; in subn_set_opa_aggregate()
4472 u32 *resp_len, int local_mad) in process_subn_opa() argument
4519 *resp_len = opa_get_smp_header_size(smp); in process_subn_opa()
4527 ibdev, port, resp_len, in process_subn_opa()
4532 resp_len); in process_subn_opa()
4540 ibdev, port, resp_len, in process_subn_opa()
4545 resp_len, local_mad); in process_subn_opa()
4697 struct opa_mad *out_mad, u32 *resp_len) in process_perf_opa() argument
4709 *resp_len = sizeof(pmp->mad_hdr); in process_perf_opa()
4715 ret = pma_get_opa_classportinfo(pmp, ibdev, resp_len); in process_perf_opa()
4719 resp_len); in process_perf_opa()
4723 resp_len); in process_perf_opa()
4727 resp_len); in process_perf_opa()
4731 resp_len); in process_perf_opa()
4744 resp_len); in process_perf_opa()
4748 resp_len); in process_perf_opa()
4786 u32 resp_len = in_wc->byte_len - sizeof(*in_grh); in hfi1_process_opa_mad() local
4807 out_mad, &resp_len, local_mad); in hfi1_process_opa_mad()
4814 ret = process_perf_opa(ibdev, port, in_mad, out_mad, &resp_len); in hfi1_process_opa_mad()
4823 *out_mad_size = round_up(resp_len, 8); in hfi1_process_opa_mad()