函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:netdev_reg_state

函数原型:static inline const char *netdev_reg_state(const struct net_device *dev)

返回类型:char

参数:

类型参数名称
const struct net_device *dev
4727  :reg_state恒等于NETREG_UNINITIALIZED
4727  返回:" (uninitialized)"
4728  :reg_state恒等于completed register_netdevice
4728  返回:""
4729  :reg_state恒等于called unregister_netdevice
4729  返回:" (unregistering)"
4730  :reg_state恒等于completed unregister todo
4730  返回:" (unregistered)"
4731  :reg_state恒等于called free_netdev
4731  返回:" (released)"
4732  :reg_state恒等于dummy device for NAPI poll
4732  返回:" (dummy)"
4735  WARN_ONCE(1, "%s: unknown reg_state %d\n", name, reg_state)
4736  返回:" (unknown)"
调用者
名称描述
__dynamic_netdev_dbg