Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Dcma.c247 void cma_dev_get(struct cma_device *cma_dev) in cma_dev_get() argument
249 refcount_inc(&cma_dev->refcount); in cma_dev_get()
252 void cma_dev_put(struct cma_device *cma_dev) in cma_dev_put() argument
254 if (refcount_dec_and_test(&cma_dev->refcount)) in cma_dev_put()
255 complete(&cma_dev->comp); in cma_dev_put()
261 struct cma_device *cma_dev; in cma_enum_devices_by_ibdev() local
266 list_for_each_entry(cma_dev, &dev_list, list) in cma_enum_devices_by_ibdev()
267 if (filter(cma_dev->device, cookie)) { in cma_enum_devices_by_ibdev()
268 found_cma_dev = cma_dev; in cma_enum_devices_by_ibdev()
278 int cma_get_default_gid_type(struct cma_device *cma_dev, in cma_get_default_gid_type() argument
[all …]