Lines Matching refs:path_data
929 resp->path_data[i].flags = IB_PATH_GMP | IB_PATH_PRIMARY |
935 ib_sa_pack_path(&ib, &resp->path_data[i].path_rec);
938 ib_sa_pack_path(rec, &resp->path_data[i].path_rec);
942 if (copy_to_user(response, resp, struct_size(resp, path_data, i)))
1295 struct ib_path_rec_data *path_data, size_t optlen)
1301 if (optlen % sizeof(*path_data))
1304 for (; optlen; optlen -= sizeof(*path_data), path_data++) {
1305 if (path_data->flags == (IB_PATH_GMP | IB_PATH_PRIMARY |
1319 ib_sa_unpack_path(path_data->path_rec, &sa_path);