Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/core/
Dcma.c913 struct cma_device *cma_dev, *cur_dev; in cma_resolve_ib_dev() local
928 list_for_each_entry(cur_dev, &dev_list, list) { in cma_resolve_ib_dev()
929 rdma_for_each_port (cur_dev->device, p) { in cma_resolve_ib_dev()
930 if (!rdma_cap_af_ib(cur_dev->device, p)) in cma_resolve_ib_dev()
933 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev()
936 if (ib_get_cached_port_state(cur_dev->device, p, &port_state)) in cma_resolve_ib_dev()
939 for (i = 0; i < cur_dev->device->port_data[p].immutable.gid_tbl_len; in cma_resolve_ib_dev()
941 ret = rdma_query_gid(cur_dev->device, p, i, in cma_resolve_ib_dev()
947 cma_dev = cur_dev; in cma_resolve_ib_dev()
956 cma_dev = cur_dev; in cma_resolve_ib_dev()
[all …]