Lines Matching refs:xd

147  * @xd: XDomain the service blongs to
178 struct tb_xdomain *xd;
235 struct tb_xdomain *xd = net->xd;
238 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid,
239 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply),
244 return tb_xdomain_response(xd, &reply, sizeof(reply),
252 struct tb_xdomain *xd = net->xd;
255 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid,
256 xd->remote_uuid, TBIP_LOGIN, sizeof(request),
262 return tb_xdomain_request(xd, &request, sizeof(request),
272 struct tb_xdomain *xd = net->xd;
275 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid,
276 xd->remote_uuid, TBIP_STATUS, sizeof(reply),
278 return tb_xdomain_response(xd, &reply, sizeof(reply),
286 struct tb_xdomain *xd = net->xd;
289 tbnet_fill_header(&request.hdr, xd->route, 0, xd->local_uuid,
290 xd->remote_uuid, TBIP_LOGOUT, sizeof(request),
293 return tb_xdomain_request(xd, &request, sizeof(request),
380 if (tb_xdomain_disable_paths(net->xd))
403 if (!uuid_equal(&pkg->hdr.initiator_uuid, net->xd->remote_uuid))
405 if (!uuid_equal(&pkg->hdr.target_uuid, net->xd->local_uuid))
410 if (route != net->xd->route)
603 ret = tb_xdomain_enable_paths(net->xd, TBNET_LOCAL_PATH,
851 struct tb_xdomain *xd = net->xd;
857 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, TBNET_RING_SIZE,
868 ring = tb_ring_alloc_rx(xd->tb->nhi, -1, TBNET_RING_SIZE,
1175 const struct tb_xdomain *xd = net->xd;
1179 phy_port = tb_phy_port_from_link(TBNET_L0_PORT_NUM(xd->route));
1183 hash = jhash2((u32 *)xd->local_uuid, 4, 0);
1185 hash = jhash2((u32 *)xd->local_uuid, 4, hash);
1191 struct tb_xdomain *xd = tb_service_parent(svc);
1211 net->xd = xd;