Lines Matching refs:cb
2638 static int __tipc_nl_add_sk(struct sk_buff *skb, struct netlink_callback *cb, in __tipc_nl_add_sk() argument
2647 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk()
2681 int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb) in tipc_nl_sk_dump() argument
2689 u32 tbl_id = cb->args[0]; in tipc_nl_sk_dump()
2690 u32 prev_portid = cb->args[1]; in tipc_nl_sk_dump()
2702 err = __tipc_nl_add_sk(skb, cb, tsk); in tipc_nl_sk_dump()
2714 cb->args[0] = tbl_id; in tipc_nl_sk_dump()
2715 cb->args[1] = prev_portid; in tipc_nl_sk_dump()
2722 struct netlink_callback *cb, in __tipc_nl_add_sk_publ() argument
2728 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in __tipc_nl_add_sk_publ()
2761 struct netlink_callback *cb, in __tipc_nl_list_sk_publ() argument
2779 cb->prev_seq = 1; in __tipc_nl_list_sk_publ()
2789 err = __tipc_nl_add_sk_publ(skb, cb, p); in __tipc_nl_list_sk_publ()
2800 int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb) in tipc_nl_publ_dump() argument
2803 u32 tsk_portid = cb->args[0]; in tipc_nl_publ_dump()
2804 u32 last_publ = cb->args[1]; in tipc_nl_publ_dump()
2805 u32 done = cb->args[2]; in tipc_nl_publ_dump()
2813 err = tipc_nlmsg_parse(cb->nlh, &attrs); in tipc_nl_publ_dump()
2840 err = __tipc_nl_list_sk_publ(skb, cb, tsk, &last_publ); in tipc_nl_publ_dump()
2846 cb->args[0] = tsk_portid; in tipc_nl_publ_dump()
2847 cb->args[1] = last_publ; in tipc_nl_publ_dump()
2848 cb->args[2] = done; in tipc_nl_publ_dump()