path_rec         1871 drivers/infiniband/core/cma.c 	kfree(id_priv->id.route.path_rec);
path_rec         2033 drivers/infiniband/core/cma.c 	rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec),
path_rec         2035 drivers/infiniband/core/cma.c 	if (!rt->path_rec)
path_rec         2038 drivers/infiniband/core/cma.c 	rt->path_rec[0] = *path;
path_rec         2040 drivers/infiniband/core/cma.c 		rt->path_rec[1] = *ib_event->param.req_rcvd.alternate_path;
path_rec         2048 drivers/infiniband/core/cma.c 			rdma_addr_set_sgid(&rt->addr.dev_addr, &rt->path_rec[0].sgid);
path_rec         2049 drivers/infiniband/core/cma.c 			ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey));
path_rec         2056 drivers/infiniband/core/cma.c 	rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid);
path_rec         2553 drivers/infiniband/core/cma.c static void cma_query_handler(int status, struct sa_path_rec *path_rec,
path_rec         2563 drivers/infiniband/core/cma.c 		*route->path_rec = *path_rec;
path_rec         2580 drivers/infiniband/core/cma.c 	struct sa_path_rec path_rec;
path_rec         2585 drivers/infiniband/core/cma.c 	memset(&path_rec, 0, sizeof path_rec);
path_rec         2588 drivers/infiniband/core/cma.c 		path_rec.rec_type = SA_PATH_REC_TYPE_OPA;
path_rec         2590 drivers/infiniband/core/cma.c 		path_rec.rec_type = SA_PATH_REC_TYPE_IB;
path_rec         2591 drivers/infiniband/core/cma.c 	rdma_addr_get_sgid(dev_addr, &path_rec.sgid);
path_rec         2592 drivers/infiniband/core/cma.c 	rdma_addr_get_dgid(dev_addr, &path_rec.dgid);
path_rec         2593 drivers/infiniband/core/cma.c 	path_rec.pkey = cpu_to_be16(ib_addr_get_pkey(dev_addr));
path_rec         2594 drivers/infiniband/core/cma.c 	path_rec.numb_path = 1;
path_rec         2595 drivers/infiniband/core/cma.c 	path_rec.reversible = 1;
path_rec         2596 drivers/infiniband/core/cma.c 	path_rec.service_id = rdma_get_service_id(&id_priv->id,
path_rec         2605 drivers/infiniband/core/cma.c 		path_rec.qos_class = cpu_to_be16((u16) id_priv->tos);
path_rec         2610 drivers/infiniband/core/cma.c 		path_rec.traffic_class = (u8) (be32_to_cpu(sin6->sin6_flowinfo) >> 20);
path_rec         2615 drivers/infiniband/core/cma.c 		path_rec.traffic_class = (u8) (be32_to_cpu(sib->sib_flowinfo) >> 20);
path_rec         2621 drivers/infiniband/core/cma.c 					       id_priv->id.port_num, &path_rec,
path_rec         2708 drivers/infiniband/core/cma.c 	route->path_rec = kmalloc(sizeof *route->path_rec, GFP_KERNEL);
path_rec         2709 drivers/infiniband/core/cma.c 	if (!route->path_rec) {
path_rec         2720 drivers/infiniband/core/cma.c 	kfree(route->path_rec);
path_rec         2721 drivers/infiniband/core/cma.c 	route->path_rec = NULL;
path_rec         2771 drivers/infiniband/core/cma.c 	route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type);
path_rec         2773 drivers/infiniband/core/cma.c 	route->path_rec->roce.route_resolved = true;
path_rec         2774 drivers/infiniband/core/cma.c 	sa_path_set_dmac(route->path_rec, addr->dev_addr.dst_dev_addr);
path_rec         2779 drivers/infiniband/core/cma.c 		     struct sa_path_rec *path_rec)
path_rec         2790 drivers/infiniband/core/cma.c 	id->route.path_rec = kmemdup(path_rec, sizeof(*path_rec),
path_rec         2792 drivers/infiniband/core/cma.c 	if (!id->route.path_rec) {
path_rec         2810 drivers/infiniband/core/cma.c 	kfree(id->route.path_rec);
path_rec         2811 drivers/infiniband/core/cma.c 	id->route.path_rec = NULL;
path_rec         2866 drivers/infiniband/core/cma.c 	route->path_rec = kzalloc(sizeof *route->path_rec, GFP_KERNEL);
path_rec         2867 drivers/infiniband/core/cma.c 	if (!route->path_rec) {
path_rec         2881 drivers/infiniband/core/cma.c 		    &route->path_rec->sgid);
path_rec         2883 drivers/infiniband/core/cma.c 		    &route->path_rec->dgid);
path_rec         2887 drivers/infiniband/core/cma.c 		route->path_rec->hop_limit = addr->dev_addr.hoplimit;
path_rec         2889 drivers/infiniband/core/cma.c 		route->path_rec->hop_limit = 1;
path_rec         2890 drivers/infiniband/core/cma.c 	route->path_rec->reversible = 1;
path_rec         2891 drivers/infiniband/core/cma.c 	route->path_rec->pkey = cpu_to_be16(0xffff);
path_rec         2892 drivers/infiniband/core/cma.c 	route->path_rec->mtu_selector = IB_SA_EQ;
path_rec         2893 drivers/infiniband/core/cma.c 	route->path_rec->sl = iboe_tos_to_sl(ndev, tos);
path_rec         2894 drivers/infiniband/core/cma.c 	route->path_rec->traffic_class = tos;
path_rec         2895 drivers/infiniband/core/cma.c 	route->path_rec->mtu = iboe_get_mtu(ndev->mtu);
path_rec         2896 drivers/infiniband/core/cma.c 	route->path_rec->rate_selector = IB_SA_EQ;
path_rec         2897 drivers/infiniband/core/cma.c 	route->path_rec->rate = iboe_get_rate(ndev);
path_rec         2899 drivers/infiniband/core/cma.c 	route->path_rec->packet_life_time_selector = IB_SA_EQ;
path_rec         2900 drivers/infiniband/core/cma.c 	route->path_rec->packet_life_time = CMA_IBOE_PACKET_LIFETIME;
path_rec         2901 drivers/infiniband/core/cma.c 	if (!route->path_rec->mtu) {
path_rec         2912 drivers/infiniband/core/cma.c 	kfree(route->path_rec);
path_rec         2913 drivers/infiniband/core/cma.c 	route->path_rec = NULL;
path_rec         3708 drivers/infiniband/core/cma.c 					  id_priv->id.route.path_rec,
path_rec         3780 drivers/infiniband/core/cma.c 	req.path = id_priv->id.route.path_rec;
path_rec         3839 drivers/infiniband/core/cma.c 	req.primary_path = &route->path_rec[0];
path_rec         3841 drivers/infiniband/core/cma.c 		req.alternate_path = &route->path_rec[1];
path_rec          960 drivers/infiniband/core/sa_query.c 					memcpy(mad->data, rec->path_rec,
path_rec          961 drivers/infiniband/core/sa_query.c 					       sizeof(rec->path_rec));
path_rec          791 drivers/infiniband/core/ucma.c 					 &route->path_rec[1]);
path_rec          795 drivers/infiniband/core/ucma.c 					 &route->path_rec[0]);
path_rec          817 drivers/infiniband/core/ucma.c 					 &route->path_rec[1]);
path_rec          821 drivers/infiniband/core/ucma.c 					 &route->path_rec[0]);
path_rec          948 drivers/infiniband/core/ucma.c 		struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i];
path_rec          956 drivers/infiniband/core/ucma.c 			ib_sa_pack_path(&ib, &resp->path_data[i].path_rec);
path_rec          959 drivers/infiniband/core/ucma.c 			ib_sa_pack_path(rec, &resp->path_data[i].path_rec);
path_rec         1302 drivers/infiniband/core/ucma.c 	ib_sa_unpack_path(path_data->path_rec, &sa_path);
path_rec         2557 drivers/infiniband/ulp/srpt/ib_srpt.c 				cm_id->route.path_rec->pkey, &req, src_addr);
path_rec           81 include/rdma/rdma_cm.h 	struct sa_path_rec *path_rec;
path_rec           49 include/rdma/rdma_cm_ib.h 		     struct sa_path_rec *path_rec);
path_rec           52 include/uapi/rdma/ib_user_sa.h 	__u32	path_rec[16];
path_rec          156 net/rds/ib_cm.c 	ic->i_sl = ic->i_cm_id->route.path_rec->sl;
path_rec          724 net/rds/ib_cm.c 	__be64 lguid = cm_id->route.path_rec->sgid.global.interface_id;
path_rec          725 net/rds/ib_cm.c 	__be64 fguid = cm_id->route.path_rec->dgid.global.interface_id;
path_rec          104 net/rds/rdma_transport.c 				cm_id->route.path_rec[0].sl =