Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dcma.c890 struct cma_device *cma_dev, *cur_dev; in cma_resolve_ib_dev() local
905 list_for_each_entry(cur_dev, &dev_list, list) { in cma_resolve_ib_dev()
906 rdma_for_each_port (cur_dev->device, p) { in cma_resolve_ib_dev()
907 if (!rdma_cap_af_ib(cur_dev->device, p)) in cma_resolve_ib_dev()
910 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev()
913 if (ib_get_cached_port_state(cur_dev->device, p, &port_state)) in cma_resolve_ib_dev()
916 for (i = 0; i < cur_dev->device->port_data[p].immutable.gid_tbl_len; in cma_resolve_ib_dev()
918 ret = rdma_query_gid(cur_dev->device, p, i, in cma_resolve_ib_dev()
924 cma_dev = cur_dev; in cma_resolve_ib_dev()
933 cma_dev = cur_dev; in cma_resolve_ib_dev()
[all …]