Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bitmap_subset

Proto:static inline int bitmap_subset(const unsigned long *src1, const unsigned long *src2, unsigned int nbits)

Type:int

Parameter:

TypeParameterName
const unsigned long *src1
const unsigned long *src2
unsigned intnbits
366  If The static inlines below do not handle constant nbits==0 correctly,* so make such users (should any ever turn up) call the out-of-line* versions.(nbits) Then Return Not ( src1 & ~src2 & BITMAP_LAST_WORD_MASK(nbits))
368  Else Return __bitmap_subset(src1, src2, nbits)
Caller
NameDescribe
cpumask_subsetpumask_subset - (*src1p & ~*src2p) == 0*@src1p: the first input*@src2p: the second input* Returns 1 if *@src1p is a subset of *@src2p, else returns 0
__nodes_subset