函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_for_each_set_clump8

函数原型:static void __init test_for_each_set_clump8(void)

返回类型:void

参数:

493  DECLARE_BITMAP(bits, CLUMP_EXP_NUMBITS)
498  bitmap_zero(bits, CLUMP_EXP_NUMBITS)
499  bitmap_set(bits, 0, 1)
500  bitmap_set(bits, 9, 1)
501  bitmap_set(bits, 27, 3)
502  bitmap_set(bits, 35, 3)
503  bitmap_set(bits, 40, 4)
504  bitmap_set(bits, 48, 8)
505  bitmap_set(bits, 56, 1)
506  bitmap_set(bits, 58, 1)
508  r_each_set_clump8 - iterate over bitmap for each 8-bit clump with set bits*@start: bit offset to start search and to store the current iteration offset*@clump: location to store copy of current 8-bit clump*@bits: bitmap address to base the search (start, clump, bits, CLUMP_EXP_NUMBITS)
509  expect_eq_clump8(start, CLUMP_EXP_NUMBITS, clump_exp, & clump)
调用者
名称描述
selftest