Lines Matching defs:dump
651 struct ocelot_dump_ctx *dump = data;
652 u32 portid = NETLINK_CB(dump->cb->skb).portid;
653 u32 seq = dump->cb->nlh->nlmsg_seq;
657 if (dump->idx < dump->cb->args[2])
660 nlh = nlmsg_put(dump->skb, portid, seq, RTM_NEWNEIGH,
671 ndm->ndm_ifindex = dump->dev->ifindex;
674 if (nla_put(dump->skb, NDA_LLADDR, ETH_ALEN, addr))
677 if (vid && nla_put_u16(dump->skb, NDA_VLAN, vid))
680 nlmsg_end(dump->skb, nlh);
683 dump->idx++;
687 nlmsg_cancel(dump->skb, nlh);