/net/switchdev/ |
D | switchdev.c | 646 static int switchdev_port_vlan_dump_put(struct switchdev_vlan_dump *dump) in switchdev_port_vlan_dump_put() argument 650 vinfo.flags = dump->flags; in switchdev_port_vlan_dump_put() 652 if (dump->begin == 0 && dump->end == 0) { in switchdev_port_vlan_dump_put() 654 } else if (dump->begin == dump->end) { in switchdev_port_vlan_dump_put() 655 vinfo.vid = dump->begin; in switchdev_port_vlan_dump_put() 656 if (nla_put(dump->skb, IFLA_BRIDGE_VLAN_INFO, in switchdev_port_vlan_dump_put() 660 vinfo.vid = dump->begin; in switchdev_port_vlan_dump_put() 662 if (nla_put(dump->skb, IFLA_BRIDGE_VLAN_INFO, in switchdev_port_vlan_dump_put() 665 vinfo.vid = dump->end; in switchdev_port_vlan_dump_put() 668 if (nla_put(dump->skb, IFLA_BRIDGE_VLAN_INFO, in switchdev_port_vlan_dump_put() [all …]
|
/net/tipc/ |
D | netlink_compat.c | 890 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_publ_dump() local 913 dump.dumpit = tipc_nl_publ_dump; in tipc_nl_compat_publ_dump() 914 dump.format = __tipc_nl_compat_publ_dump; in tipc_nl_compat_publ_dump() 916 err = __tipc_nl_compat_dumpit(&dump, msg, args); in tipc_nl_compat_publ_dump() 1073 struct tipc_nl_compat_cmd_dump dump; in tipc_nl_compat_handle() local 1076 memset(&dump, 0, sizeof(dump)); in tipc_nl_compat_handle() 1087 dump.dumpit = tipc_nl_bearer_dump; in tipc_nl_compat_handle() 1088 dump.format = tipc_nl_compat_bearer_dump; in tipc_nl_compat_handle() 1089 return tipc_nl_compat_dumpit(&dump, msg); in tipc_nl_compat_handle() 1104 dump.dumpit = tipc_nl_node_dump_link; in tipc_nl_compat_handle() [all …]
|
/net/key/ |
D | af_key.c | 58 int (*dump)(struct pfkey_sock *sk); member 65 } dump; member 87 if (pfk->dump.dump) { in pfkey_terminate_dump() 88 if (pfk->dump.skb) { in pfkey_terminate_dump() 89 kfree_skb(pfk->dump.skb); in pfkey_terminate_dump() 90 pfk->dump.skb = NULL; in pfkey_terminate_dump() 92 pfk->dump.done(pfk); in pfkey_terminate_dump() 93 pfk->dump.dump = NULL; in pfkey_terminate_dump() 94 pfk->dump.done = NULL; in pfkey_terminate_dump() 294 if (!pfk->dump.dump) { in pfkey_do_dump() [all …]
|
/net/sched/ |
D | sch_fifo.c | 112 .dump = fifo_dump, 126 .dump = fifo_dump, 140 .dump = fifo_dump,
|
D | em_meta.c | 796 int (*dump)(struct sk_buff *, struct meta_value *, int); member 805 .dump = meta_var_dump 811 .dump = meta_int_dump 977 if (ops->dump(skb, &meta->lvalue, TCA_EM_META_LVALUE) < 0 || in em_meta_dump() 978 ops->dump(skb, &meta->rvalue, TCA_EM_META_RVALUE) < 0) in em_meta_dump() 992 .dump = em_meta_dump,
|
D | sch_ingress.c | 104 .dump = ingress_dump, 182 .dump = ingress_dump,
|
D | sch_mq.c | 229 .dump = mq_dump_class, 240 .dump = mq_dump,
|
/net/core/ |
D | ethtool.c | 2044 struct ethtool_dump dump; in ethtool_set_dump() local 2049 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_set_dump() 2052 return dev->ethtool_ops->set_dump(dev, &dump); in ethtool_set_dump() 2059 struct ethtool_dump dump; in ethtool_get_dump_flag() local 2065 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_flag() 2068 ret = ops->get_dump_flag(dev, &dump); in ethtool_get_dump_flag() 2072 if (copy_to_user(useraddr, &dump, sizeof(dump))) in ethtool_get_dump_flag() 2082 struct ethtool_dump dump, tmp; in ethtool_get_dump_data() local 2089 if (copy_from_user(&dump, useraddr, sizeof(dump))) in ethtool_get_dump_data() 2098 len = min(tmp.len, dump.len); in ethtool_get_dump_data() [all …]
|
/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 79 .dump = nft_meta_get_dump, 88 .dump = nft_meta_set_dump,
|
/net/netfilter/ |
D | nft_payload.c | 157 .dump = nft_payload_dump, 165 .dump = nft_payload_dump, 279 .dump = nft_payload_set_dump,
|
D | nft_queue.c | 169 .dump = nft_queue_dump, 177 .dump = nft_queue_sreg_dump,
|
D | nft_cmp.c | 119 .dump = nft_cmp_dump, 174 .dump = nft_cmp_fast_dump,
|
D | nft_numgen.c | 156 .dump = nft_ng_inc_dump, 164 .dump = nft_ng_random_dump,
|
D | nft_limit.c | 165 .dump = nft_limit_pkts_dump, 201 .dump = nft_limit_pkt_bytes_dump,
|
D | nft_dup_netdev.c | 70 .dump = nft_dup_netdev_dump,
|
D | nft_fwd_netdev.c | 71 .dump = nft_fwd_netdev_dump,
|
/net/netlink/ |
D | diag.c | 212 .dump = netlink_diag_dump, in netlink_diag_handler_dump() 222 .dump = netlink_diag_handler_dump,
|
/net/ipv6/netfilter/ |
D | nft_reject_ipv6.c | 49 .dump = nft_reject_dump,
|
D | nft_masq_ipv6.c | 44 .dump = nft_masq_dump,
|
D | nft_redir_ipv6.c | 47 .dump = nft_redir_dump,
|
/net/ipv4/netfilter/ |
D | nft_reject_ipv4.c | 48 .dump = nft_reject_dump,
|
D | nft_masq_ipv4.c | 44 .dump = nft_masq_dump,
|
D | nft_redir_ipv4.c | 48 .dump = nft_redir_dump,
|
/net/packet/ |
D | diag.c | 240 .dump = packet_diag_dump, in packet_diag_handler_dump() 249 .dump = packet_diag_handler_dump,
|
/net/unix/ |
D | diag.c | 305 .dump = unix_diag_dump, in unix_diag_handler_dump() 314 .dump = unix_diag_handler_dump,
|