Searched refs:cur_dev (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/infiniband/core/ |
D | cma.c | 884 struct cma_device *cma_dev, *cur_dev; in cma_resolve_ib_dev() local 899 list_for_each_entry(cur_dev, &dev_list, list) { in cma_resolve_ib_dev() 900 rdma_for_each_port (cur_dev->device, p) { in cma_resolve_ib_dev() 901 if (!rdma_cap_af_ib(cur_dev->device, p)) in cma_resolve_ib_dev() 904 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev() 907 if (ib_get_cached_port_state(cur_dev->device, p, &port_state)) in cma_resolve_ib_dev() 910 for (i = 0; i < cur_dev->device->port_data[p].immutable.gid_tbl_len; in cma_resolve_ib_dev() 912 ret = rdma_query_gid(cur_dev->device, p, i, in cma_resolve_ib_dev() 918 cma_dev = cur_dev; in cma_resolve_ib_dev() 927 cma_dev = cur_dev; in cma_resolve_ib_dev() [all …]
|