Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-28 06:04:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dev_lstats_add

Proto:static inline void dev_lstats_add(struct net_device *dev, unsigned int len)

Type:void

Parameter:

TypeParameterName
struct net_device *dev
unsigned intlen
2420  lstats = this_cpu_ptr(lstats)
2422  u64_stats_update_begin( & syncp)
2423  u64_stats_add( & bytes, len)
2424  u64_stats_inc( & packets)
2425  u64_stats_update_end( & syncp)