Home
last modified time | relevance | path

Searched refs:cm_dev (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcm.c159 struct cm_device *cm_dev; member
253 struct cm_device *cm_dev = container_of(kref, struct cm_device, kref); in cm_dev_release() local
256 rdma_for_each_port(cm_dev->ib_device, i) in cm_dev_release()
257 kfree(cm_dev->port[i - 1]); in cm_dev_release()
259 kfree(cm_dev); in cm_dev_release()
262 static void cm_device_put(struct cm_device *cm_dev) in cm_device_put() argument
264 kref_put(&cm_dev->kref, cm_dev_release); in cm_device_put()
286 spin_lock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg()
317 spin_unlock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg()
445 cm_device_put(old_port->cm_dev); in cm_set_av_port()
471 struct cm_device *cm_dev; get_cm_port_from_path() local
514 struct cm_device *cm_dev; cm_init_av_by_path() local
976 struct cm_device *cm_dev; cm_enter_timewait() local
3898 struct cm_device *cm_dev; cm_establish() local
4270 struct cm_device *cm_dev = ib_get_client_data(ibdev, &cm_client); cm_show_counter() local
4336 struct cm_device *cm_dev; cm_add_one() local
4437 struct cm_device *cm_dev = client_data; cm_remove_one() local
[all...]
/kernel/linux/linux-5.10/drivers/rapidio/
H A Drio_cm.c145 struct cm_dev { struct
180 struct cm_dev *cmdev; /* associated CM device object */
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()
324 * @cm: cm_dev object
329 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill()
350 * @cm: cm_dev object
354 static void riocm_rx_free(struct cm_dev *c
[all...]
/kernel/linux/linux-6.6/drivers/rapidio/
H A Drio_cm.c145 struct cm_dev { struct
180 struct cm_dev *cmdev; /* associated CM device object */
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()
324 * @cm: cm_dev object
329 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill()
350 * @cm: cm_dev object
354 static void riocm_rx_free(struct cm_dev *c
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcm.c203 struct cm_device *cm_dev; member
464 ret = ib_init_ah_attr_from_wc(port->cm_dev->ib_device, in cm_init_av_for_lap()
479 return ib_init_ah_attr_from_wc(port->cm_dev->ib_device, in cm_init_av_for_response()
502 struct cm_device *cm_dev; in get_cm_port_from_path() local
508 list_for_each_entry(cm_dev, &cm.device_list, list) { in get_cm_port_from_path()
509 if (cm_dev->ib_device == attr->device) { in get_cm_port_from_path()
510 port = cm_dev->port[attr->port_num - 1]; in get_cm_port_from_path()
523 list_for_each_entry(cm_dev, &cm.device_list, list) { in get_cm_port_from_path()
524 attr = rdma_find_gid(cm_dev->ib_device, in get_cm_port_from_path()
529 port = cm_dev in get_cm_port_from_path()
546 struct cm_device *cm_dev; cm_init_av_by_path() local
1007 struct cm_device *cm_dev; cm_enter_timewait() local
3911 struct cm_device *cm_dev; cm_establish() local
4328 struct cm_device *cm_dev; cm_add_one() local
4430 struct cm_device *cm_dev = client_data; cm_remove_one() local
[all...]

Completed in 10 milliseconds