Lines Matching full:ini

978 				  struct smc_init_info *ini)  in smc_pnet_determine_gid()  argument
980 if (!ini->check_smcrv2 && in smc_pnet_determine_gid()
981 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->ib_gid, NULL, in smc_pnet_determine_gid()
983 ini->ib_dev = ibdev; in smc_pnet_determine_gid()
984 ini->ib_port = i; in smc_pnet_determine_gid()
987 if (ini->check_smcrv2 && in smc_pnet_determine_gid()
988 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->smcrv2.ib_gid_v2, in smc_pnet_determine_gid()
989 NULL, &ini->smcrv2)) { in smc_pnet_determine_gid()
990 ini->smcrv2.ib_dev_v2 = ibdev; in smc_pnet_determine_gid()
991 ini->smcrv2.ib_port_v2 = i; in smc_pnet_determine_gid()
999 struct smc_init_info *ini, in _smc_pnet_find_roce_by_pnetid() argument
1017 if (!smc_pnet_determine_gid(ibdev, i, ini)) in _smc_pnet_find_roce_by_pnetid()
1028 struct smc_init_info *ini, in smc_pnet_find_alt_roce() argument
1033 _smc_pnet_find_roce_by_pnetid(lgr->pnet_id, ini, known_dev, net); in smc_pnet_find_alt_roce()
1040 struct smc_init_info *ini) in smc_pnet_find_rdma_dev() argument
1064 if (!smc_pnet_determine_gid(ibdev, i, ini)) in smc_pnet_find_rdma_dev()
1079 struct smc_init_info *ini) in smc_pnet_find_roce_by_pnetid() argument
1089 smc_pnet_find_rdma_dev(ndev, ini); in smc_pnet_find_roce_by_pnetid()
1092 _smc_pnet_find_roce_by_pnetid(ndev_pnetid, ini, NULL, net); in smc_pnet_find_roce_by_pnetid()
1096 struct smc_init_info *ini) in smc_pnet_find_ism_by_pnetid() argument
1111 (!ini->ism_peer_gid[0].gid || in smc_pnet_find_ism_by_pnetid()
1112 !smc_ism_cantalk(&ini->ism_peer_gid[0], ini->vlan_id, in smc_pnet_find_ism_by_pnetid()
1114 ini->ism_dev[0] = ismdev; in smc_pnet_find_ism_by_pnetid()
1125 void smc_pnet_find_roce_resource(struct sock *sk, struct smc_init_info *ini) in smc_pnet_find_roce_resource() argument
1134 smc_pnet_find_roce_by_pnetid(dst->dev, ini); in smc_pnet_find_roce_resource()
1142 void smc_pnet_find_ism_resource(struct sock *sk, struct smc_init_info *ini) in smc_pnet_find_ism_resource() argument
1146 ini->ism_dev[0] = NULL; in smc_pnet_find_ism_resource()
1152 smc_pnet_find_ism_by_pnetid(dst->dev, ini); in smc_pnet_find_ism_resource()