Lines Matching defs:pathrec
563 ret = memcmp(gid, path->pathrec.dgid.raw,
589 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw,
617 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw);
636 memset(iter->path.pathrec.dgid.raw, 0, 16);
660 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw,
692 be32_to_cpu(sa_path_get_dlid(&path->pathrec)),
693 path->pathrec.dgid.raw);
740 struct sa_path_rec *pathrec,
755 be32_to_cpu(sa_path_get_dlid(pathrec)),
756 pathrec->dgid.raw);
759 status, path->pathrec.dgid.raw);
767 pathrec, &av, NULL)) {
777 * pathrec.dgid is used as the database key from the LLADDR,
781 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw,
786 dev->name, pathrec->dgid.raw,
787 path->pathrec.dgid.raw);
788 memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw,
792 path->pathrec = *pathrec;
798 ah, be32_to_cpu(sa_path_get_dlid(pathrec)),
799 pathrec->sl);
842 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw);
863 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA;
865 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB;
867 memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid));
868 path->pathrec.sgid = priv->local_gid;
869 path->pathrec.pkey = cpu_to_be16(priv->pkey);
870 path->pathrec.numb_path = 1;
871 path->pathrec.traffic_class = priv->broadcast->mcmember.traffic_class;
901 path->pathrec.dgid.raw);
907 &path->pathrec,
1080 be32_to_cpu(sa_path_get_dlid(&path->pathrec)));