函数逻辑报告

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_and

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

返回类型:int

参数:

类型参数名称
unsigned long *dst
const unsigned long *src1
const unsigned long *src2
unsigned intnbits
276  如果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)则返回:dst等于src1按位与src2按位与BITMAP_LAST_WORD_MASK(nbits)不等于0
278  返回:__bitmap_and(dst, src1, src2, nbits)
调用者
名称描述
section_deactivate
cpumask_andpumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
__nodes_and