Searched refs:ib_mad_private (Results 1 – 2 of 2) sorted by relevance
78 struct ib_mad_private { struct150 struct ib_mad_private *mad_priv;
98 struct ib_mad_private *mad);562 static size_t mad_priv_size(const struct ib_mad_private *mp) in mad_priv_size()564 return sizeof(struct ib_mad_private) + mp->mad_size; in mad_priv_size()567 static struct ib_mad_private *alloc_mad_private(size_t mad_size, gfp_t flags) in alloc_mad_private()569 size_t size = sizeof(struct ib_mad_private) + mad_size; in alloc_mad_private()570 struct ib_mad_private *ret = kzalloc(size, flags); in alloc_mad_private()583 static size_t mad_priv_dma_size(const struct ib_mad_private *mp) in mad_priv_dma_size()601 struct ib_mad_private *mad_priv; in handle_outgoing_dr_smp()1163 struct ib_mad_private *priv; in ib_free_recv_mad()1176 priv = container_of(mad_priv_hdr, struct ib_mad_private, in ib_free_recv_mad()[all …]