函数逻辑报告

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_equal

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

返回类型:int

参数:

类型参数名称
const unsigned long *src1
const unsigned long *src2
unsigned intnbits
326  如果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)的值
328  如果__builtin_constant_p(nbits & BITMAP_MEM_MASK)且IS_ALIGNED(nbits, BITMAP_MEM_ALIGNMENT)则返回:非memcmp(src1, src2, nbits / 8)
331  返回:__bitmap_equal(src1, src2, nbits)
调用者
名称描述
__check_eq_bitmap
test_mem_optimisations
frontswap_register_opsRegister operations for frontswap
section_deactivate
cpumask_equalpumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input
__nodes_equal