Lines Matching refs:cb
297 struct netlink_callback *cb) in ethnl_tsinfo_prepare_dump() argument
299 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_prepare_dump()
302 ehdr = ethnl_dump_put(skb, cb, in ethnl_tsinfo_prepare_dump()
344 struct netlink_callback *cb) in ethnl_tsinfo_dump_one_phydev() argument
346 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_dump_one_phydev()
357 ehdr = ethnl_tsinfo_prepare_dump(skb, dev, reply_data, cb); in ethnl_tsinfo_dump_one_phydev()
382 struct netlink_callback *cb) in ethnl_tsinfo_dump_one_netdev() argument
384 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_dump_one_netdev()
402 ehdr = ethnl_tsinfo_prepare_dump(skb, dev, reply_data, cb); in ethnl_tsinfo_dump_one_netdev()
430 struct netlink_callback *cb) in ethnl_tsinfo_dump_one_net_topo() argument
432 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_dump_one_net_topo()
437 ret = ethnl_tsinfo_dump_one_netdev(skb, dev, cb); in ethnl_tsinfo_dump_one_net_topo()
446 dev->phydev, cb); in ethnl_tsinfo_dump_one_net_topo()
458 pdn->phy, cb); in ethnl_tsinfo_dump_one_net_topo()
467 int ethnl_tsinfo_dumpit(struct sk_buff *skb, struct netlink_callback *cb) in ethnl_tsinfo_dumpit() argument
469 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_dumpit()
478 ret = ethnl_tsinfo_dump_one_net_topo(skb, dev, cb); in ethnl_tsinfo_dumpit()
483 ret = ethnl_tsinfo_dump_one_net_topo(skb, dev, cb); in ethnl_tsinfo_dumpit()
497 int ethnl_tsinfo_start(struct netlink_callback *cb) in ethnl_tsinfo_start() argument
499 const struct genl_dumpit_info *info = genl_dumpit_info(cb); in ethnl_tsinfo_start()
500 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_start()
506 BUILD_BUG_ON(sizeof(*ctx) > sizeof(cb->ctx)); in ethnl_tsinfo_start()
519 sock_net(cb->skb->sk), cb->extack, in ethnl_tsinfo_start()
541 int ethnl_tsinfo_done(struct netlink_callback *cb) in ethnl_tsinfo_done() argument
543 struct ethnl_tsinfo_dump_ctx *ctx = (void *)cb->ctx; in ethnl_tsinfo_done()