new_stats 857 drivers/net/ethernet/amd/amd8111e.c struct net_device_stats *new_stats = &dev->stats; new_stats 860 drivers/net/ethernet/amd/amd8111e.c return new_stats; new_stats 864 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_packets = amd8111e_read_mib(mmio, rcv_broadcast_pkts)+ new_stats 869 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_packets = amd8111e_read_mib(mmio, xmt_packets); new_stats 872 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_bytes = amd8111e_read_mib(mmio, rcv_octets); new_stats 875 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_bytes = amd8111e_read_mib(mmio, xmt_octets); new_stats 879 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_errors = amd8111e_read_mib(mmio, rcv_undersize_pkts)+ new_stats 888 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); new_stats 891 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_dropped = amd8111e_read_mib(mmio, rcv_miss_pkts); new_stats 894 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_dropped = amd8111e_read_mib(mmio, xmt_underrun_pkts); new_stats 897 drivers/net/ethernet/amd/amd8111e.c new_stats->multicast = amd8111e_read_mib(mmio, rcv_multicast_pkts); new_stats 900 drivers/net/ethernet/amd/amd8111e.c new_stats->collisions = amd8111e_read_mib(mmio, xmt_collisions); new_stats 903 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_length_errors = new_stats 908 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_over_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); new_stats 911 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_crc_errors = amd8111e_read_mib(mmio, rcv_fcs_errors); new_stats 914 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_frame_errors = new_stats 918 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_fifo_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); new_stats 921 drivers/net/ethernet/amd/amd8111e.c new_stats->rx_missed_errors = amd8111e_read_mib(mmio, rcv_miss_pkts); new_stats 924 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_aborted_errors = new_stats 928 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_carrier_errors = new_stats 932 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_fifo_errors = amd8111e_read_mib(mmio, xmt_underrun_pkts); new_stats 935 drivers/net/ethernet/amd/amd8111e.c new_stats->tx_window_errors = new_stats 943 drivers/net/ethernet/amd/amd8111e.c return new_stats; new_stats 90 net/openvswitch/flow.c struct sw_flow_stats *new_stats; new_stats 92 net/openvswitch/flow.c new_stats = new_stats 99 net/openvswitch/flow.c if (likely(new_stats)) { new_stats 100 net/openvswitch/flow.c new_stats->used = jiffies; new_stats 101 net/openvswitch/flow.c new_stats->packet_count = 1; new_stats 102 net/openvswitch/flow.c new_stats->byte_count = len; new_stats 103 net/openvswitch/flow.c new_stats->tcp_flags = tcp_flags; new_stats 104 net/openvswitch/flow.c spin_lock_init(&new_stats->lock); new_stats 107 net/openvswitch/flow.c new_stats);