Searched refs:cm_dev (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/infiniband/core/ |
| H A D | cm.c | 161 struct cm_device *cm_dev; member 255 struct cm_device *cm_dev = container_of(kref, struct cm_device, kref); in cm_dev_release() local 258 rdma_for_each_port(cm_dev->ib_device, i) in cm_dev_release() 259 kfree(cm_dev->port[i - 1]); in cm_dev_release() 261 kfree(cm_dev); in cm_dev_release() 264 static void cm_device_put(struct cm_device *cm_dev) in cm_device_put() argument 266 kref_put(&cm_dev->kref, cm_dev_release); in cm_device_put() 289 read_lock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg_agent() 316 read_unlock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg_agent() 462 cm_device_put(old_port->cm_dev); in cm_set_av_port() [all …]
|
| /linux/drivers/rapidio/ |
| H A D | rio_cm.c | 145 struct cm_dev { struct 180 struct cm_dev *cmdev; /* associated CM device object */ argument 205 struct cm_dev *cmdev; 220 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, 296 static void *riocm_rx_get_msg(struct cm_dev *cm) in riocm_rx_get_msg() 325 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill() 350 static void riocm_rx_free(struct cm_dev *cm) in riocm_rx_free() 372 static int riocm_req_handler(struct cm_dev *cm, void *req_data) in riocm_req_handler() 482 static void rio_cm_handler(struct cm_dev *cm, void *data) in rio_cm_handler() 522 static int rio_rx_data_handler(struct cm_dev *cm, void *buf) in rio_rx_data_handler() [all …]
|