Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:next_net_device_rcu

Proto:static inline struct net_device *next_net_device_rcu(struct net_device *dev)

Type:struct net_device

Parameter:

TypeParameterName
struct net_device *dev
2621  net = Net namespace inlines
2622  lh = fetch RCU-protected pointer for dereferencing(urn the ->next pointer of a list_head in an rcu safe* way, we must not access it directly( & dev_list))
2623  Return If lh == dev_base_head Then NULL Else net_device_entry(lh)