Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmad.c607 struct ib_mad_private *mad_priv; in handle_outgoing_dr_smp() local
685 local->mad_priv = NULL; in handle_outgoing_dr_smp()
687 mad_priv = alloc_mad_private(mad_size, GFP_ATOMIC); in handle_outgoing_dr_smp()
688 if (!mad_priv) { in handle_outgoing_dr_smp()
708 (struct ib_mad *)mad_priv->mad, &mad_size, in handle_outgoing_dr_smp()
713 if (ib_response_mad((const struct ib_mad_hdr *)mad_priv->mad) && in handle_outgoing_dr_smp()
715 local->mad_priv = mad_priv; in handle_outgoing_dr_smp()
723 kfree(mad_priv); in handle_outgoing_dr_smp()
726 kfree(mad_priv); in handle_outgoing_dr_smp()
733 memcpy(mad_priv->mad, smp, mad_priv->mad_size); in handle_outgoing_dr_smp()
[all …]
Dmad_priv.h151 struct ib_mad_private *mad_priv; member