Lines Matching refs:uuid
70 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid)) in tb_xdomain_match()
199 memcpy(&hdr->uuid, &tb_xdp_uuid, sizeof(tb_xdp_uuid)); in tb_xdp_fill_header()
227 uuid_t *uuid) in tb_xdp_uuid_request() argument
249 uuid_copy(uuid, &res.src_uuid); in tb_xdp_uuid_request()
254 const uuid_t *uuid) in tb_xdp_uuid_response() argument
262 uuid_copy(&res.src_uuid, uuid); in tb_xdp_uuid_response()
432 int retry, const uuid_t *uuid) in tb_xdp_properties_changed_request() argument
441 uuid_copy(&req.src_uuid, uuid); in tb_xdp_properties_changed_request()
477 if (!handler->uuid || !handler->callback) in tb_register_protocol_handler()
479 if (uuid_equal(handler->uuid, &tb_xdp_uuid)) in tb_register_protocol_handler()
511 const uuid_t *uuid; in tb_xdp_handle_request() local
522 uuid = tb->root_switch->uuid; in tb_xdp_handle_request()
524 uuid = NULL; in tb_xdp_handle_request()
527 if (!uuid) { in tb_xdp_handle_request()
534 ret = tb_xdp_properties_response(tb, ctl, route, sequence, uuid, in tb_xdp_handle_request()
562 ret = tb_xdp_uuid_response(ctl, route, sequence, uuid); in tb_xdp_handle_request()
899 uuid_t uuid; in tb_xdomain_get_uuid() local
902 ret = tb_xdp_uuid_request(tb->ctl, xd->route, xd->uuid_retries, &uuid); in tb_xdomain_get_uuid()
913 if (uuid_equal(&uuid, xd->local_uuid)) { in tb_xdomain_get_uuid()
923 if (xd->remote_uuid && !uuid_equal(&uuid, xd->remote_uuid)) { in tb_xdomain_get_uuid()
931 xd->remote_uuid = kmemdup(&uuid, sizeof(uuid_t), GFP_KERNEL); in tb_xdomain_get_uuid()
1398 const uuid_t *uuid; member
1416 if (lookup->uuid) { in switch_find_xdomain()
1418 uuid_equal(xd->remote_uuid, lookup->uuid)) in switch_find_xdomain()
1453 struct tb_xdomain *tb_xdomain_find_by_uuid(struct tb *tb, const uuid_t *uuid) in tb_xdomain_find_by_uuid() argument
1459 lookup.uuid = uuid; in tb_xdomain_find_by_uuid()
1544 if (uuid_equal(&hdr->uuid, &tb_xdp_uuid)) { in tb_xdomain_handle_request()
1552 if (!uuid_equal(&hdr->uuid, handler->uuid)) in tb_xdomain_handle_request()