Lines Matching refs:cb
2628 static int __tipc_nl_add_sk(struct sk_buff *skb, struct netlink_callback *cb, in __tipc_nl_add_sk() argument
2637 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk()
2671 int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb) in tipc_nl_sk_dump() argument
2679 u32 tbl_id = cb->args[0]; in tipc_nl_sk_dump()
2680 u32 prev_portid = cb->args[1]; in tipc_nl_sk_dump()
2692 err = __tipc_nl_add_sk(skb, cb, tsk); in tipc_nl_sk_dump()
2704 cb->args[0] = tbl_id; in tipc_nl_sk_dump()
2705 cb->args[1] = prev_portid; in tipc_nl_sk_dump()
2712 struct netlink_callback *cb, in __tipc_nl_add_sk_publ() argument
2718 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk_publ()
2751 struct netlink_callback *cb, in __tipc_nl_list_sk_publ() argument
2769 cb->prev_seq = 1; in __tipc_nl_list_sk_publ()
2779 err = __tipc_nl_add_sk_publ(skb, cb, p); in __tipc_nl_list_sk_publ()
2790 int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb) in tipc_nl_publ_dump() argument
2793 u32 tsk_portid = cb->args[0]; in tipc_nl_publ_dump()
2794 u32 last_publ = cb->args[1]; in tipc_nl_publ_dump()
2795 u32 done = cb->args[2]; in tipc_nl_publ_dump()
2803 err = tipc_nlmsg_parse(cb->nlh, &attrs); in tipc_nl_publ_dump()
2827 err = __tipc_nl_list_sk_publ(skb, cb, tsk, &last_publ); in tipc_nl_publ_dump()
2833 cb->args[0] = tsk_portid; in tipc_nl_publ_dump()
2834 cb->args[1] = last_publ; in tipc_nl_publ_dump()
2835 cb->args[2] = done; in tipc_nl_publ_dump()