Lines Matching refs:out_mad
824 const struct ib_mad *in_mad, struct ib_mad *out_mad) in ib_process_mad() argument
870 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
874 if (!out_mad->mad_hdr.status) { in ib_process_mad()
878 node_desc_override(ibdev, out_mad); in ib_process_mad()
883 out_mad->mad_hdr.status |= cpu_to_be16(1 << 15); in ib_process_mad()
927 static int iboe_process_mad_port_info(void *out_mad) in iboe_process_mad_port_info() argument
932 memcpy(out_mad, &cpi, sizeof(cpi)); in iboe_process_mad_port_info()
939 const struct ib_mad *in_mad, struct ib_mad *out_mad) in iboe_process_mad() argument
950 return iboe_process_mad_port_info((void *)(out_mad->data + 40)); in iboe_process_mad()
972 (void *)(out_mad->data + 40), in iboe_process_mad()
1130 struct ib_smp *out_mad = NULL; in handle_slaves_guid_change() local
1137 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in handle_slaves_guid_change()
1138 if (!in_mad || !out_mad) in handle_slaves_guid_change()
1147 memset(out_mad, 0, sizeof *out_mad); in handle_slaves_guid_change()
1158 port_num, NULL, NULL, in_mad, out_mad)) { in handle_slaves_guid_change()
1165 (u8 *)(&((struct ib_smp *)out_mad)->data)); in handle_slaves_guid_change()
1168 (u8 *)(&((struct ib_smp *)out_mad)->data)); in handle_slaves_guid_change()
1173 kfree(out_mad); in handle_slaves_guid_change()