Lines Matching refs:uuid
18 #include <linux/uuid.h>
111 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid))
240 memcpy(&hdr->uuid, &tb_xdp_uuid, sizeof(tb_xdp_uuid));
264 uuid_t *uuid, u64 *remote_route)
286 uuid_copy(uuid, &res.src_uuid);
293 const uuid_t *uuid)
301 uuid_copy(&res.src_uuid, uuid);
469 int retry, const uuid_t *uuid)
478 uuid_copy(&req.src_uuid, uuid);
619 if (!handler->uuid || !handler->callback)
621 if (uuid_equal(handler->uuid, &tb_xdp_uuid))
735 const uuid_t *uuid;
746 uuid = tb->root_switch->uuid;
748 uuid = NULL;
751 if (!uuid) {
788 ret = tb_xdp_uuid_response(ctl, route, sequence, uuid);
1198 uuid_t uuid;
1204 ret = tb_xdp_uuid_request(tb->ctl, xd->route, xd->state_retries, &uuid,
1215 dev_dbg(&xd->dev, "got remote UUID %pUb\n", &uuid);
1217 if (uuid_equal(&uuid, xd->local_uuid)) {
1232 if (xd->remote_uuid && !uuid_equal(&uuid, xd->remote_uuid)) {
1240 xd->remote_uuid = kmemdup(&uuid, sizeof(uuid_t), GFP_KERNEL);
2234 const uuid_t *uuid;
2251 if (lookup->uuid) {
2253 uuid_equal(xd->remote_uuid, lookup->uuid))
2275 * @uuid: UUID to look for
2287 struct tb_xdomain *tb_xdomain_find_by_uuid(struct tb *tb, const uuid_t *uuid)
2293 lookup.uuid = uuid;
2378 if (uuid_equal(&hdr->uuid, &tb_xdp_uuid)) {
2386 if (!uuid_equal(&hdr->uuid, handler->uuid))