• Home
  • Raw
  • Download

Lines Matching refs:cb

235 			       struct netlink_callback *cb,  in nl802154_prepare_wpan_dev_dump()  argument
243 if (!cb->args[0]) { in nl802154_prepare_wpan_dev_dump()
244 err = nlmsg_parse_deprecated(cb->nlh, in nl802154_prepare_wpan_dev_dump()
260 cb->args[0] = (*rdev)->wpan_phy_idx + 1; in nl802154_prepare_wpan_dev_dump()
261 cb->args[1] = (*wpan_dev)->identifier; in nl802154_prepare_wpan_dev_dump()
264 struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); in nl802154_prepare_wpan_dev_dump()
275 if (tmp->identifier == cb->args[1]) { in nl802154_prepare_wpan_dev_dump()
557 struct netlink_callback *cb, in nl802154_dump_wpan_phy_parse() argument
561 int ret = nlmsg_parse_deprecated(cb->nlh, in nl802154_dump_wpan_phy_parse()
595 nl802154_dump_wpan_phy(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_wpan_phy() argument
598 struct nl802154_dump_wpan_phy_state *state = (void *)cb->args[0]; in nl802154_dump_wpan_phy()
609 ret = nl802154_dump_wpan_phy_parse(skb, cb, state); in nl802154_dump_wpan_phy()
615 cb->args[0] = (long)state; in nl802154_dump_wpan_phy()
630 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
631 cb->nlh->nlmsg_seq, NLM_F_MULTI); in nl802154_dump_wpan_phy()
634 !skb->len && cb->min_dump_alloc < 4096) { in nl802154_dump_wpan_phy()
635 cb->min_dump_alloc = 4096; in nl802154_dump_wpan_phy()
651 static int nl802154_dump_wpan_phy_done(struct netlink_callback *cb) in nl802154_dump_wpan_phy_done() argument
653 kfree((void *)cb->args[0]); in nl802154_dump_wpan_phy_done()
857 nl802154_dump_interface(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_interface() argument
861 int wp_start = cb->args[0]; in nl802154_dump_interface()
862 int if_start = cb->args[1]; in nl802154_dump_interface()
881 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
882 cb->nlh->nlmsg_seq, NLM_F_MULTI, in nl802154_dump_interface()
894 cb->args[0] = wp_idx; in nl802154_dump_interface()
895 cb->args[1] = if_idx; in nl802154_dump_interface()
1506 nl802154_dump_llsec_key(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_llsec_key() argument
1514 err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev); in nl802154_dump_llsec_key()
1532 if (cb->args[2]) in nl802154_dump_llsec_key()
1537 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_key()
1538 cb->nlh->nlmsg_seq, NLM_F_MULTI, in nl802154_dump_llsec_key()
1547 cb->args[2] = 1; in nl802154_dump_llsec_key()
1685 nl802154_dump_llsec_dev(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_llsec_dev() argument
1693 err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev); in nl802154_dump_llsec_dev()
1711 if (cb->args[2]) in nl802154_dump_llsec_dev()
1716 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_dev()
1717 cb->nlh->nlmsg_seq, NLM_F_MULTI, in nl802154_dump_llsec_dev()
1726 cb->args[2] = 1; in nl802154_dump_llsec_dev()
1865 nl802154_dump_llsec_devkey(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_llsec_devkey() argument
1874 err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev); in nl802154_dump_llsec_devkey()
1892 if (cb->args[2]) in nl802154_dump_llsec_devkey()
1900 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_devkey()
1901 cb->nlh->nlmsg_seq, in nl802154_dump_llsec_devkey()
1914 cb->args[2] = 1; in nl802154_dump_llsec_devkey()
2039 nl802154_dump_llsec_seclevel(struct sk_buff *skb, struct netlink_callback *cb) in nl802154_dump_llsec_seclevel() argument
2047 err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev); in nl802154_dump_llsec_seclevel()
2065 if (cb->args[2]) in nl802154_dump_llsec_seclevel()
2070 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_seclevel()
2071 cb->nlh->nlmsg_seq, NLM_F_MULTI, in nl802154_dump_llsec_seclevel()
2080 cb->args[2] = 1; in nl802154_dump_llsec_seclevel()