函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bitmap_subset

函数原型:static inline int bitmap_subset(const unsigned long *src1, const unsigned long *src2, unsigned int nbits)

返回类型:int

参数:

类型参数名称
const unsigned long *src1
const unsigned long *src2
unsigned intnbits
366  如果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)则返回:非src1按位与src2的反按位与BITMAP_LAST_WORD_MASK(nbits)的值
368  否则返回:__bitmap_subset(src1, src2, nbits)
调用者
名称描述
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