Home
last modified time | relevance | path

Searched refs:mad_priv (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dmad.c601 struct ib_mad_private *mad_priv; in handle_outgoing_dr_smp() local
679 local->mad_priv = NULL; in handle_outgoing_dr_smp()
681 mad_priv = alloc_mad_private(mad_size, GFP_ATOMIC); in handle_outgoing_dr_smp()
682 if (!mad_priv) { in handle_outgoing_dr_smp()
702 (struct ib_mad *)mad_priv->mad, &mad_size, in handle_outgoing_dr_smp()
706 if (ib_response_mad((const struct ib_mad_hdr *)mad_priv->mad) && in handle_outgoing_dr_smp()
708 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
716 kfree(mad_priv); in handle_outgoing_dr_smp()
719 kfree(mad_priv); in handle_outgoing_dr_smp()
726 memcpy(mad_priv->mad, smp, mad_priv->mad_size); in handle_outgoing_dr_smp()
[all …]
Dmad_priv.h150 struct ib_mad_private *mad_priv; member