Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Finds the next feature with the highest number of the range of start till 0.

Proto:static inline int find_next_netdev_feature(u64 feature, unsigned long start)

Type:int

Parameter:

TypeParameterName
u64feature
unsigned longstart
161  feature &= ~0ULL >> (-start & size of feature * 8 - 1 )
163  Return ls64 - find last set bit in a 64-bit word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffsll, but returns the position of the most significant set bit - 1