Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_bitmap.c Create Date:2022-07-28 06:32:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_mem_optimisations

Proto:static void noinline __init test_mem_optimisations(void)

Type:void

Parameter:Nothing

444  DECLARE_BITMAP(bmap1, 1024)
445  DECLARE_BITMAP(bmap2, 1024)
448  When start < 1024 cycle
449  When nbits < 1024 - start cycle
450  memset(bmap1, 0x5a, size of bmap1 )
451  memset(bmap2, 0x5a, size of bmap2 )
455  If Not bitmap_equal(bmap1, bmap2, 1024) Then
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  If Not bitmap_equal(bmap1, bmap2, 1024) Then
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++
Caller
NameDescribe
selftest