Lines Matching defs:ctx
701 struct net_device_path_ctx ctx = {
707 memcpy(ctx.daddr, daddr, sizeof(ctx.daddr));
709 while (ctx.dev && ctx.dev->netdev_ops->ndo_fill_forward_path) {
710 last_dev = ctx.dev;
716 ret = ctx.dev->netdev_ops->ndo_fill_forward_path(&ctx, path);
720 if (WARN_ON_ONCE(last_dev == ctx.dev))
724 if (!ctx.dev)
731 path->dev = ctx.dev;