Lines Matching refs:resp_len
584 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_nodedesc() argument
597 if (resp_len) in __subn_get_opa_nodedesc()
598 *resp_len += sizeof(*nd); in __subn_get_opa_nodedesc()
605 u32 *resp_len, u32 max_len) in __subn_get_opa_nodeinfo() argument
637 if (resp_len) in __subn_get_opa_nodeinfo()
638 *resp_len += sizeof(*ni); in __subn_get_opa_nodeinfo()
798 u32 *resp_len, u32 max_len) in __subn_get_opa_portinfo() argument
1000 if (resp_len) in __subn_get_opa_portinfo()
1001 *resp_len += sizeof(struct opa_port_info); in __subn_get_opa_portinfo()
1023 u32 *resp_len, u32 max_len) in __subn_get_opa_pkeytable() argument
1068 if (resp_len) in __subn_get_opa_pkeytable()
1069 *resp_len += size; in __subn_get_opa_pkeytable()
1353 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_portinfo() argument
1642 ret = __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_portinfo()
1660 return __subn_get_opa_portinfo(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_portinfo()
1722 u32 *resp_len, u32 max_len) in __subn_set_opa_pkeytable() argument
1767 return __subn_get_opa_pkeytable(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_pkeytable()
1829 u32 *resp_len, u32 max_len) in __subn_get_opa_sl_to_sc() argument
1844 if (resp_len) in __subn_get_opa_sl_to_sc()
1845 *resp_len += size; in __subn_get_opa_sl_to_sc()
1852 u32 *resp_len, u32 max_len) in __subn_set_opa_sl_to_sc() argument
1875 return __subn_get_opa_sl_to_sc(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sl_to_sc()
1881 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_sl() argument
1896 if (resp_len) in __subn_get_opa_sc_to_sl()
1897 *resp_len += size; in __subn_get_opa_sc_to_sl()
1904 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_sl() argument
1919 return __subn_get_opa_sc_to_sl(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sc_to_sl()
1925 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlt() argument
1939 if (resp_len) in __subn_get_opa_sc_to_vlt()
1940 *resp_len += size; in __subn_get_opa_sc_to_vlt()
1947 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlt() argument
1983 return __subn_get_opa_sc_to_vlt(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_sc_to_vlt()
1989 u32 *resp_len, u32 max_len) in __subn_get_opa_sc_to_vlnt() argument
2006 if (resp_len) in __subn_get_opa_sc_to_vlnt()
2007 *resp_len += size; in __subn_get_opa_sc_to_vlnt()
2014 u32 *resp_len, u32 max_len) in __subn_set_opa_sc_to_vlnt() argument
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
2080 if (resp_len) in __subn_get_opa_psi()
2081 *resp_len += sizeof(struct opa_port_state_info); in __subn_get_opa_psi()
2088 u32 *resp_len, u32 max_len, int local_mad) in __subn_set_opa_psi() argument
2130 return __subn_get_opa_psi(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_psi()
2136 u32 *resp_len, u32 max_len) in __subn_get_opa_cable_info() argument
2180 if (resp_len) in __subn_get_opa_cable_info()
2181 *resp_len += len; in __subn_get_opa_cable_info()
2187 struct ib_device *ibdev, u8 port, u32 *resp_len, in __subn_get_opa_bct() argument
2204 if (resp_len) in __subn_get_opa_bct()
2205 *resp_len += size; in __subn_get_opa_bct()
2211 struct ib_device *ibdev, u8 port, u32 *resp_len, in __subn_set_opa_bct() argument
2230 return __subn_get_opa_bct(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_bct()
2236 u32 *resp_len, u32 max_len) in __subn_get_opa_vl_arb() argument
2270 if (size > 0 && resp_len) in __subn_get_opa_vl_arb()
2271 *resp_len += size; in __subn_get_opa_vl_arb()
2278 u32 *resp_len, u32 max_len) in __subn_set_opa_vl_arb() argument
2313 return __subn_get_opa_vl_arb(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_vl_arb()
2603 struct ib_device *ibdev, u32 *resp_len) in pma_get_opa_classportinfo() argument
2620 if (resp_len) in pma_get_opa_classportinfo()
2621 *resp_len += sizeof(*p); in pma_get_opa_classportinfo()
2725 u8 port, u32 *resp_len) in pma_get_opa_portstatus() argument
2885 if (resp_len) in pma_get_opa_portstatus()
2886 *resp_len += response_data_size; in pma_get_opa_portstatus()
2976 u8 port, u32 *resp_len) in pma_get_opa_datacounters() argument
3119 if (resp_len) in pma_get_opa_datacounters()
3120 *resp_len += response_data_size; in pma_get_opa_datacounters()
3197 u8 port, u32 *resp_len) in pma_get_opa_porterrors() argument
3279 if (resp_len) in pma_get_opa_porterrors()
3280 *resp_len += response_data_size; in pma_get_opa_porterrors()
3372 u8 port, u32 *resp_len) in pma_get_opa_errorinfo() argument
3463 if (resp_len) in pma_get_opa_errorinfo()
3464 *resp_len += response_data_size; in pma_get_opa_errorinfo()
3471 u8 port, u32 *resp_len) in pma_set_opa_portstatus() argument
3615 if (resp_len) in pma_set_opa_portstatus()
3616 *resp_len += sizeof(*req); in pma_set_opa_portstatus()
3623 u8 port, u32 *resp_len) in pma_set_opa_errorinfo() argument
3692 if (resp_len) in pma_set_opa_errorinfo()
3693 *resp_len += sizeof(*req); in pma_set_opa_errorinfo()
3706 u32 *resp_len, u32 max_len) in __subn_get_opa_cong_info() argument
3722 if (resp_len) in __subn_get_opa_cong_info()
3723 *resp_len += sizeof(*p); in __subn_get_opa_cong_info()
3730 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_cong_setting() argument
3767 if (resp_len) in __subn_get_opa_cong_setting()
3768 *resp_len += sizeof(*p); in __subn_get_opa_cong_setting()
3823 u32 *resp_len, u32 max_len) in __subn_set_opa_cong_setting() argument
3858 resp_len, max_len); in __subn_set_opa_cong_setting()
3863 u8 port, u32 *resp_len, u32 max_len) in __subn_get_opa_hfi1_cong_log() argument
3921 if (resp_len) in __subn_get_opa_hfi1_cong_log()
3922 *resp_len += sizeof(struct opa_hfi1_cong_log); in __subn_get_opa_hfi1_cong_log()
3929 u32 *resp_len, u32 max_len) in __subn_get_opa_cc_table() argument
3973 if (resp_len) in __subn_get_opa_cc_table()
3974 *resp_len += size; in __subn_get_opa_cc_table()
3981 u32 *resp_len, u32 max_len) in __subn_set_opa_cc_table() argument
4026 return __subn_get_opa_cc_table(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_cc_table()
4040 u32 *resp_len, u32 max_len) in __subn_get_opa_led_info() argument
4062 if (resp_len) in __subn_get_opa_led_info()
4063 *resp_len += sizeof(struct opa_led_info); in __subn_get_opa_led_info()
4070 u32 *resp_len, u32 max_len) in __subn_set_opa_led_info() argument
4087 return __subn_get_opa_led_info(smp, am, data, ibdev, port, resp_len, in __subn_set_opa_led_info()
4093 u32 *resp_len, u32 max_len) in subn_get_opa_sma() argument
4101 resp_len, max_len); in subn_get_opa_sma()
4105 resp_len, max_len); in subn_get_opa_sma()
4109 resp_len, max_len); in subn_get_opa_sma()
4113 resp_len, max_len); in subn_get_opa_sma()
4117 resp_len, max_len); in subn_get_opa_sma()
4121 resp_len, max_len); in subn_get_opa_sma()
4125 resp_len, max_len); in subn_get_opa_sma()
4129 resp_len, max_len); in subn_get_opa_sma()
4133 resp_len, max_len); in subn_get_opa_sma()
4137 resp_len, max_len); in subn_get_opa_sma()
4141 resp_len, max_len); in subn_get_opa_sma()
4145 resp_len, max_len); in subn_get_opa_sma()
4149 resp_len, max_len); in subn_get_opa_sma()
4153 port, resp_len, max_len); in subn_get_opa_sma()
4157 port, resp_len, max_len); in subn_get_opa_sma()
4161 resp_len, max_len); in subn_get_opa_sma()
4165 resp_len, max_len); in subn_get_opa_sma()
4183 u32 *resp_len, u32 max_len, int local_mad) in subn_set_opa_sma() argument
4191 resp_len, max_len, local_mad); in subn_set_opa_sma()
4195 resp_len, max_len); in subn_set_opa_sma()
4199 resp_len, max_len); in subn_set_opa_sma()
4203 resp_len, max_len); in subn_set_opa_sma()
4207 resp_len, max_len); in subn_set_opa_sma()
4211 resp_len, max_len); in subn_set_opa_sma()
4215 resp_len, max_len, local_mad); in subn_set_opa_sma()
4219 resp_len, max_len); in subn_set_opa_sma()
4223 resp_len, max_len); in subn_set_opa_sma()
4227 port, resp_len, max_len); in subn_set_opa_sma()
4231 resp_len, max_len); in subn_set_opa_sma()
4235 resp_len, max_len); in subn_set_opa_sma()
4258 u32 *resp_len) in subn_get_opa_aggregate() argument
4280 *resp_len += agg_size; in subn_get_opa_aggregate()
4307 u32 *resp_len, int local_mad) in subn_set_opa_aggregate() argument
4329 *resp_len += agg_size; in subn_set_opa_aggregate()
4514 u32 *resp_len, int local_mad) in process_subn_opa() argument
4561 *resp_len = opa_get_smp_header_size(smp); in process_subn_opa()
4569 ibdev, port, resp_len, in process_subn_opa()
4574 resp_len); in process_subn_opa()
4582 ibdev, port, resp_len, in process_subn_opa()
4587 resp_len, local_mad); in process_subn_opa()
4739 struct opa_mad *out_mad, u32 *resp_len) in process_perf_opa() argument
4751 *resp_len = sizeof(pmp->mad_hdr); in process_perf_opa()
4757 ret = pma_get_opa_classportinfo(pmp, ibdev, resp_len); in process_perf_opa()
4761 resp_len); in process_perf_opa()
4765 resp_len); in process_perf_opa()
4769 resp_len); in process_perf_opa()
4773 resp_len); in process_perf_opa()
4786 resp_len); in process_perf_opa()
4790 resp_len); in process_perf_opa()
4828 u32 resp_len = in_wc->byte_len - sizeof(*in_grh); in hfi1_process_opa_mad() local
4849 out_mad, &resp_len, local_mad); in hfi1_process_opa_mad()
4856 ret = process_perf_opa(ibdev, port, in_mad, out_mad, &resp_len); in hfi1_process_opa_mad()
4865 *out_mad_size = round_up(resp_len, 8); in hfi1_process_opa_mad()