Lines Matching refs:ethnl_ctx
374 struct ethnl_dump_ctx ethnl_ctx; member
706 struct ethnl_dump_ctx *ctx = &phy_ctx->ethnl_ctx; in ethnl_perphy_start()
760 struct ethnl_dump_ctx *ethnl_ctx = &ctx->ethnl_ctx; in ethnl_perphy_dump_one_dev() local
761 struct net_device *dev = ethnl_ctx->req_info->dev; in ethnl_perphy_dump_one_dev()
770 ethnl_ctx->req_info->phy_index = ctx->pos_phyindex; in ethnl_perphy_dump_one_dev()
776 ret = ethnl_default_dump_one(skb, dev, ethnl_ctx, info); in ethnl_perphy_dump_one_dev()
790 struct ethnl_dump_ctx *ethnl_ctx = &ctx->ethnl_ctx; in ethnl_perphy_dump_all_dev() local
797 for_each_netdev_dump(net, dev, ethnl_ctx->pos_ifindex) { in ethnl_perphy_dump_all_dev()
804 ethnl_ctx->req_info->dev = dev; in ethnl_perphy_dump_all_dev()
809 ethnl_ctx->req_info->dev = NULL; in ethnl_perphy_dump_all_dev()
829 struct ethnl_dump_ctx *ethnl_ctx = &ctx->ethnl_ctx; in ethnl_perphy_dumpit() local
842 ethnl_ctx->req_info->dev = dev; in ethnl_perphy_dumpit()
860 struct ethnl_dump_ctx *ethnl_ctx = &ctx->ethnl_ctx; in ethnl_perphy_done() local
862 kfree(ethnl_ctx->reply_data); in ethnl_perphy_done()
863 kfree(ethnl_ctx->req_info); in ethnl_perphy_done()