Lines Matching refs:pathrec
346 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
372 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
416 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init()
441 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next()
473 be16_to_cpu(path->pathrec.dlid), in ipoib_mark_paths_invalid()
474 path->pathrec.dgid.raw, ":"); in ipoib_mark_paths_invalid()
508 path_rec_completion(int status, struct ib_sa_path_rec *pathrec, void *path_ptr) in path_rec_completion() argument
522 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw, ":"); in path_rec_completion()
525 status, path->pathrec.dgid.raw, ":"); in path_rec_completion()
532 if (!ib_init_ah_from_path(priv->ca, priv->port, pathrec, &av)) in path_rec_completion()
539 path->pathrec = *pathrec; in path_rec_completion()
545 ah, be16_to_cpu(pathrec->dlid), pathrec->sl); in path_rec_completion()
602 memcpy(path->pathrec.dgid.raw, &hwaddr[4], sizeof (union ib_gid)); in path_rec_create()
603 path->pathrec.sgid = priv->local_gid; in path_rec_create()
604 path->pathrec.pkey = cpu_to_be16(priv->pkey); in path_rec_create()
605 path->pathrec.numb_path = 1; in path_rec_create()
606 path->pathrec.traffic_class = priv->broadcast->mcmember.traffic_class; in path_rec_create()
619 p_rec = path->pathrec; in path_rec_start()