函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:DOC: bitmap introduction* bitmaps provide an array of bits, implemented using an an* array of unsigned longs

函数原型:int __bitmap_equal(const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits)

返回类型:int

参数:

类型参数名称
const unsigned long *bitmap1
const unsigned long *bitmap2
unsigned intbits
49  lim等于bitsBITS_PER_LONG
50 k小于lim循环如果bitmap1[k]不等于bitmap2[k]则
52  返回:0
54  如果bits取模BITS_PER_LONG则如果bitmap1[k]按位异或bitmap2[k]的值按位与BITMAP_LAST_WORD_MASK(bits)则
56  返回:0
58  返回:1
调用者
名称描述
__test_bitmap_parselist
test_mem_optimisations