Lines Matching refs:lookup
1463 const struct tb_xdomain_lookup *lookup) in switch_find_xdomain() argument
1473 if (lookup->uuid) { in switch_find_xdomain()
1475 uuid_equal(xd->remote_uuid, lookup->uuid)) in switch_find_xdomain()
1477 } else if (lookup->link && in switch_find_xdomain()
1478 lookup->link == xd->link && in switch_find_xdomain()
1479 lookup->depth == xd->depth) { in switch_find_xdomain()
1481 } else if (lookup->route && in switch_find_xdomain()
1482 lookup->route == xd->route) { in switch_find_xdomain()
1486 xd = switch_find_xdomain(port->remote->sw, lookup); in switch_find_xdomain()
1512 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_uuid() local
1515 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_uuid()
1516 lookup.uuid = uuid; in tb_xdomain_find_by_uuid()
1518 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid()
1542 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_link_depth() local
1545 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_link_depth()
1546 lookup.link = link; in tb_xdomain_find_by_link_depth()
1547 lookup.depth = depth; in tb_xdomain_find_by_link_depth()
1549 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth()
1570 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_route() local
1573 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_route()
1574 lookup.route = route; in tb_xdomain_find_by_route()
1576 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()