函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-27 07:03:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:next_net_device_rcu

函数原型:static inline struct net_device *next_net_device_rcu(struct net_device *dev)

返回类型:struct net_device

参数:

类型参数名称
struct net_device *dev
2621  net等于Net namespace inlines
2622  lh等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(urn the ->next pointer of a list_head in an rcu safe* way, we must not access it directly( & dev_list))
2623  返回:如果lh恒等于dev_base_headNULL否则net_device_entry(lh)