Lines Matching refs:p
1401 static int netvsc_set_mac_addr(struct net_device *ndev, void *p) in netvsc_set_mac_addr() argument
1406 struct sockaddr *addr = p; in netvsc_set_mac_addr()
1409 err = eth_prepare_mac_addr_change(ndev, p); in netvsc_set_mac_addr()
1424 eth_commit_mac_addr_change(ndev, p); in netvsc_set_mac_addr()
1580 u8 *p = data; in netvsc_get_strings() local
1589 ethtool_sprintf(&p, netvsc_stats[i].name); in netvsc_get_strings()
1592 ethtool_sprintf(&p, vf_stats[i].name); in netvsc_get_strings()
1595 ethtool_sprintf(&p, "tx_queue_%u_packets", i); in netvsc_get_strings()
1596 ethtool_sprintf(&p, "tx_queue_%u_bytes", i); in netvsc_get_strings()
1597 ethtool_sprintf(&p, "tx_queue_%u_xdp_xmit", i); in netvsc_get_strings()
1598 ethtool_sprintf(&p, "rx_queue_%u_packets", i); in netvsc_get_strings()
1599 ethtool_sprintf(&p, "rx_queue_%u_bytes", i); in netvsc_get_strings()
1600 ethtool_sprintf(&p, "rx_queue_%u_xdp_drop", i); in netvsc_get_strings()
1601 ethtool_sprintf(&p, "rx_queue_%u_xdp_redirect", i); in netvsc_get_strings()
1602 ethtool_sprintf(&p, "rx_queue_%u_xdp_tx", i); in netvsc_get_strings()
1607 ethtool_sprintf(&p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
1973 struct ethtool_regs *regs, void *p) in netvsc_get_regs() argument
1976 u32 *regs_buff = p; in netvsc_get_regs()