Lines Matching defs:p_path

2983 	const path_t *p_path;
2991 p_path = (path_t *) cl_qmap_head(p_tbl);
2993 while (p_path != (path_t *) cl_qmap_end(p_tbl)) {
2994 if (p_path->count == 0) {
3000 cl_ntoh16(p_path->rec.slid),
3001 cl_ntoh16(p_path->rec.dlid));
3006 p_path = (path_t *) cl_qmap_next(&p_path->map_item);
3025 IN const path_t * const p_path)
3027 if ((p_path->comp.dlid == 0) || (p_path->comp.slid == 0)) {
3040 IN path_t * const p_path,
3064 if (p_path->count != 0) {
3073 if (p_path->count >= (uint32_t) (1 << (2 * lmc))) {
3077 p_path->count, lmc);
3083 ++p_path->count;
3088 if ((p_path->comp.dgid.unicast.interface_id &
3089 p_path->rec.dgid.unicast.interface_id) !=
3090 (p_path->comp.dgid.unicast.interface_id &
3096 cl_ntoh16(p_path->rec.slid),
3097 cl_ntoh16(p_path->rec.dlid),
3098 cl_ntoh64(p_path->rec.dgid.unicast.prefix),
3099 cl_ntoh64(p_path->rec.dgid.unicast.interface_id),
3109 if ((p_path->comp.sgid.unicast.interface_id &
3110 p_path->rec.sgid.unicast.interface_id) !=
3111 (p_path->comp.sgid.unicast.interface_id &
3117 cl_ntoh16(p_path->rec.slid),
3118 cl_ntoh16(p_path->rec.dlid),
3119 cl_ntoh64(p_path->rec.sgid.unicast.prefix),
3120 cl_ntoh64(p_path->rec.sgid.unicast.interface_id),
3130 if ((p_path->comp.pkey & p_path->rec.pkey) !=
3131 (p_path->comp.pkey & p_rec->pkey)) {
3135 cl_ntoh16(p_path->rec.slid),
3136 cl_ntoh16(p_path->rec.dlid),
3137 cl_ntoh16(p_path->rec.pkey), cl_ntoh16(p_rec->pkey));
3880 path_t *p_path;
3889 p_path = (path_t *) cl_qmap_get(p_tbl, osmtest_path_rec_key_get(p_rec));
3890 if (p_path == (path_t *) cl_qmap_end(p_tbl)) {
3898 status = osmtest_validate_path_data(p_osmt, p_path, p_rec);
4797 IN path_t * const p_path)
4809 p_path->rec.slid,
4810 p_path->rec.dlid, &context);
4828 status = osmtest_validate_path_data(p_osmt, p_path, p_rec);
5122 path_t *p_path;
5143 p_path = (path_t *) cl_qmap_head(p_path_tbl);
5144 while (p_path != (path_t *) cl_qmap_end(p_path_tbl)) {
5146 osmtest_validate_single_path_rec_lid_pair(p_osmt, p_path);
5150 p_path = (path_t *) cl_qmap_next(&p_path->map_item);
5172 p_path = (path_t *) cl_qmap_head(p_path_tbl);
5173 while (p_path != (path_t *) cl_qmap_end(p_path_tbl)) {
5174 guid_pair.src_guid = p_path->rec.sgid.unicast.interface_id;
5175 guid_pair.dest_guid = p_path->rec.dgid.unicast.interface_id;
5181 p_path = (path_t *) cl_qmap_next(&p_path->map_item);
6713 path_t *p_path;
6719 p_path = path_new();
6720 CL_ASSERT(p_path != NULL);
6764 p_path->comp.dgid.unicast.prefix =
6766 p_path->comp.dgid.unicast.interface_id =
6770 p_path->rec.dgid.unicast.prefix =
6773 p_path->rec.dgid.unicast.interface_id =
6778 cl_ntoh64(p_path->rec.dgid.unicast.prefix),
6779 cl_ntoh64(p_path->rec.dgid.unicast.interface_id));
6783 p_path->comp.sgid.unicast.prefix =
6785 p_path->comp.sgid.unicast.interface_id =
6789 p_path->rec.sgid.unicast.prefix =
6792 p_path->rec.sgid.unicast.interface_id =
6797 cl_ntoh64(p_path->rec.sgid.unicast.prefix),
6798 cl_ntoh64(p_path->rec.sgid.unicast.interface_id));
6802 p_path->comp.dlid = 0xFFFF;
6803 p_path->rec.dlid =
6807 cl_ntoh16(p_path->rec.dlid));
6811 p_path->comp.slid = 0xFFFF;
6812 p_path->rec.slid =
6816 cl_ntoh16(p_path->rec.slid));
6820 p_path->comp.pkey = 0xFFFF;
6821 p_path->rec.pkey =
6825 cl_ntoh16(p_path->rec.pkey));
6849 if (osmtest_path_rec_kay_is_valid(p_osmt, p_path) == FALSE) {
6850 path_delete(p_path);
6856 osmtest_path_rec_key_get(&p_path->rec),
6857 &p_path->map_item);