Lines Matching refs:ib_mad_private

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()
1860 struct ib_mad_private *recv, in handle_ib_smi()
1861 struct ib_mad_private *response) in handle_ib_smi()
1907 static bool generate_unmatched_resp(const struct ib_mad_private *recv, in generate_unmatched_resp()
1908 struct ib_mad_private *response, in generate_unmatched_resp()
1947 struct ib_mad_private *recv, in handle_opa_smi()
1948 struct ib_mad_private *response) in handle_opa_smi()
2003 struct ib_mad_private *recv, in handle_smi()
2004 struct ib_mad_private *response, in handle_smi()
2024 struct ib_mad_private *recv, *response = NULL; in ib_mad_recv_done()
2051 recv = container_of(mad_priv_hdr, struct ib_mad_private, header); in ib_mad_recv_done()
2669 struct ib_mad_private *mad) in ib_mad_post_receive_mads()
2673 struct ib_mad_private *mad_priv; in ib_mad_post_receive_mads()
2746 struct ib_mad_private *recv; in cleanup_recv_queue()
2759 recv = container_of(mad_priv_hdr, struct ib_mad_private, in cleanup_recv_queue()