Lines Matching refs:lookup
1693 const struct tb_xdomain_lookup *lookup) in switch_find_xdomain() argument
1703 if (lookup->uuid) { in switch_find_xdomain()
1705 uuid_equal(xd->remote_uuid, lookup->uuid)) in switch_find_xdomain()
1707 } else if (lookup->link && in switch_find_xdomain()
1708 lookup->link == xd->link && in switch_find_xdomain()
1709 lookup->depth == xd->depth) { in switch_find_xdomain()
1711 } else if (lookup->route && in switch_find_xdomain()
1712 lookup->route == xd->route) { in switch_find_xdomain()
1716 xd = switch_find_xdomain(port->remote->sw, lookup); in switch_find_xdomain()
1742 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_uuid() local
1745 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_uuid()
1746 lookup.uuid = uuid; in tb_xdomain_find_by_uuid()
1748 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_uuid()
1772 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_link_depth() local
1775 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_link_depth()
1776 lookup.link = link; in tb_xdomain_find_by_link_depth()
1777 lookup.depth = depth; in tb_xdomain_find_by_link_depth()
1779 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_link_depth()
1800 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_route() local
1803 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_route()
1804 lookup.route = route; in tb_xdomain_find_by_route()
1806 xd = switch_find_xdomain(tb->root_switch, &lookup); in tb_xdomain_find_by_route()