Lines Matching defs:pathrec
567 ret = memcmp(gid, path->pathrec.dgid.raw,
593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw,
621 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw);
640 memset(iter->path.pathrec.dgid.raw, 0, 16);
664 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw,
696 be32_to_cpu(sa_path_get_dlid(&path->pathrec)),
697 path->pathrec.dgid.raw);
744 struct sa_path_rec *pathrec,
759 be32_to_cpu(sa_path_get_dlid(pathrec)),
760 pathrec->dgid.raw);
763 status, path->pathrec.dgid.raw);
771 pathrec, &av, NULL)) {
781 * pathrec.dgid is used as the database key from the LLADDR,
785 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw,
790 dev->name, pathrec->dgid.raw,
791 path->pathrec.dgid.raw);
792 memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw,
796 path->pathrec = *pathrec;
802 ah, be32_to_cpu(sa_path_get_dlid(pathrec)),
803 pathrec->sl);
846 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw);
867 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA;
869 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB;
871 memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid));
872 path->pathrec.sgid = priv->local_gid;
873 path->pathrec.pkey = cpu_to_be16(priv->pkey);
874 path->pathrec.numb_path = 1;
875 path->pathrec.traffic_class = priv->broadcast->mcmember.traffic_class;
905 path->pathrec.dgid.raw);
911 &path->pathrec,
1084 be32_to_cpu(sa_path_get_dlid(&path->pathrec)));