Home
last modified time | relevance | path

Searched refs:hwsdev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/netdevsim/
H A Dhwstats.c63 return hwsdev; in nsim_dev_hwslist_find_hwsdev()
85 memset(&hwsdev->stats, 0, sizeof(hwsdev->stats)); in nsim_dev_hwsdev_disable()
93 memset(&hwsdev->stats, 0, sizeof(hwsdev->stats)); in nsim_dev_hwsdev_report_delta()
122 if (!hwsdev) in nsim_dev_hwstats_event_off_xstats()
148 kfree(hwsdev); in nsim_dev_hwsdev_fini()
164 if (!hwsdev) in __nsim_dev_hwstats_event_unregister()
233 if (hwsdev) in nsim_dev_hwstats_enable_ifindex()
242 hwsdev = kzalloc(sizeof(*hwsdev), GFP_KERNEL); in nsim_dev_hwstats_enable_ifindex()
243 if (!hwsdev) { in nsim_dev_hwstats_enable_ifindex()
282 if (hwsdev) in nsim_dev_hwstats_disable_ifindex()
[all …]