函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_mem_optimisations

函数原型:static void noinline __init test_mem_optimisations(void)

返回类型:void

参数:

444  DECLARE_BITMAP(bmap1, 1024)
445  DECLARE_BITMAP(bmap2, 1024)
448 start小于1024循环
449 nbits小于1024减start循环
450  memset(bmap1, 0x5a, bmap1的长度)
451  memset(bmap2, 0x5a, bmap2的长度)
455  如果非bitmap_equal(bmap1, bmap2, 1024)则
456  printk("set not equal %d %d\n", start, nbits)
457  failed_tests自加
460  printk("set not __equal %d %d\n", start, nbits)
461  failed_tests自加
466  如果非bitmap_equal(bmap1, bmap2, 1024)则
467  printk("clear not equal %d %d\n", start, nbits)
468  failed_tests自加
471  printk("clear not __equal %d %d\n", start, nbits)
473  failed_tests自加
调用者
名称描述
selftest