Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/core/
Dcm.c159 struct cm_device *cm_dev; member
252 struct cm_device *cm_dev = container_of(kref, struct cm_device, kref); in cm_dev_release() local
255 rdma_for_each_port(cm_dev->ib_device, i) in cm_dev_release()
256 kfree(cm_dev->port[i - 1]); in cm_dev_release()
258 kfree(cm_dev); in cm_dev_release()
261 static void cm_device_put(struct cm_device *cm_dev) in cm_device_put() argument
263 kref_put(&cm_dev->kref, cm_dev_release); in cm_device_put()
285 spin_lock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg()
316 spin_unlock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg()
444 cm_device_put(old_port->cm_dev); in cm_set_av_port()
[all …]
/linux-5.19.10/drivers/rapidio/
Drio_cm.c145 struct cm_dev { struct
180 struct cm_dev *cmdev; /* associated CM device object */ argument
203 struct cm_dev *cm;
211 struct cm_dev *cmdev;
226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
300 static void *riocm_rx_get_msg(struct cm_dev *cm) in riocm_rx_get_msg()
329 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill()
354 static void riocm_rx_free(struct cm_dev *cm) in riocm_rx_free()
376 static int riocm_req_handler(struct cm_dev *cm, void *req_data) in riocm_req_handler()
486 static void rio_cm_handler(struct cm_dev *cm, void *data) in rio_cm_handler()
[all …]