Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmad_priv.h78 struct ib_mad_private { struct
151 struct ib_mad_private *mad_priv;
Dmad.c103 struct ib_mad_private *mad);
568 static size_t mad_priv_size(const struct ib_mad_private *mp) in mad_priv_size()
570 return sizeof(struct ib_mad_private) + mp->mad_size; in mad_priv_size()
573 static struct ib_mad_private *alloc_mad_private(size_t mad_size, gfp_t flags) in alloc_mad_private()
575 size_t size = sizeof(struct ib_mad_private) + mad_size; in alloc_mad_private()
576 struct ib_mad_private *ret = kzalloc(size, flags); in alloc_mad_private()
589 static size_t mad_priv_dma_size(const struct ib_mad_private *mp) in mad_priv_dma_size()
607 struct ib_mad_private *mad_priv; in handle_outgoing_dr_smp()
1171 struct ib_mad_private *priv; in ib_free_recv_mad()
1184 priv = container_of(mad_priv_hdr, struct ib_mad_private, in ib_free_recv_mad()
[all …]