Searched refs:mad_priv (Results 1 – 2 of 2) sorted by relevance
816 struct ib_mad_private *mad_priv; in handle_outgoing_dr_smp() local894 local->mad_priv = NULL; in handle_outgoing_dr_smp()896 mad_priv = alloc_mad_private(mad_size, GFP_ATOMIC); in handle_outgoing_dr_smp()897 if (!mad_priv) { in handle_outgoing_dr_smp()917 (struct ib_mad_hdr *)mad_priv->mad, in handle_outgoing_dr_smp()922 if (ib_response_mad((const struct ib_mad_hdr *)mad_priv->mad) && in handle_outgoing_dr_smp()924 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()932 kfree(mad_priv); in handle_outgoing_dr_smp()935 kfree(mad_priv); in handle_outgoing_dr_smp()942 memcpy(mad_priv->mad, smp, mad_priv->mad_size); in handle_outgoing_dr_smp()[all …]
151 struct ib_mad_private *mad_priv; member